| 1 |
{ |
| 2 |
# DHCPv6 subnet declaration config |
| 3 |
# parameter which will be changed in subnet |
| 4 |
"Dhcp6": { |
| 5 |
"valid-lifetime": 1800, |
| 6 |
"subnet6": [ |
| 7 |
# DHCPv4 subnet declaration |
| 8 |
{ |
| 9 |
"id": 1, |
| 10 |
"subnet": "2001::/64", |
| 11 |
"pd-pools": [ |
| 12 |
# at least one pool is required |
| 13 |
{ |
| 14 |
"prefix": "2001:0:0:10::", |
| 15 |
"delegated-len": 64, |
| 16 |
"prefix-len": 60 |
| 17 |
} |
| 18 |
], |
| 19 |
"pools": [ |
| 20 |
# at least one pool is required |
| 21 |
{ |
| 22 |
# the pool is shared between addresses and prefixes |
| 23 |
"pool": "2001::100 - 2001::200" |
| 24 |
} |
| 25 |
], |
| 26 |
"option-data": [ |
| 27 |
{ |
| 28 |
"space": "dhcp6", |
| 29 |
"name": "domain-search", |
| 30 |
"code": 24, |
| 31 |
// "original-data": "\"example.com\", \"example.org\"", |
| 32 |
"data": "example.com, example.org" |
| 33 |
} |
| 34 |
], |
| 35 |
"valid-lifetime": 3600, |
| 36 |
"interface": "en0" |
| 37 |
} |
| 38 |
], |
| 39 |
"interfaces-config": { |
| 40 |
"interfaces": [ |
| 41 |
"en0" |
| 42 |
] |
| 43 |
} |
| 44 |
} |
| 45 |
} |