| 1 |
{ |
| 2 |
# option-data in DHCPv6 pool config |
| 3 |
# subnet declaration |
| 4 |
/// This configuration declares some subnets but has no interfaces-config |
| 5 |
/// Reference Kea #245 |
| 6 |
"Dhcp6": { |
| 7 |
"subnet6": [ |
| 8 |
{ |
| 9 |
"id": 1, |
| 10 |
"subnet": "2001::/64", |
| 11 |
"pools": [ |
| 12 |
# pool declaration |
| 13 |
{ |
| 14 |
# avoid empty pool |
| 15 |
"pool": "2001::100 - 2001::200", |
| 16 |
"option-data": [ |
| 17 |
# for a silly reason option-data is not allowed in DHCPv4 pools |
| 18 |
# but allowed in DHCPv6 pools |
| 19 |
{ |
| 20 |
"space": "dhcp6", |
| 21 |
"name": "domain-search", |
| 22 |
"code": 24, |
| 23 |
// "original-data": "\"example.com\", \"example.org\"", |
| 24 |
"data": "example.com, example.org" |
| 25 |
} |
| 26 |
] |
| 27 |
} |
| 28 |
] |
| 29 |
} |
| 30 |
] |
| 31 |
} |
| 32 |
} |