"renew-timer": 1000,
"rebind-timer": 2000,
- # Defining a subnet. There are 2 DHCP options returned to the
-// Defining a subnet. There are 3 DHCP options returned to the
-// clients connected to this subnet. The first option is identified
-// by the name. The second option is identified by the code.
-// There are two address pools defined within this subnet. Pool
-// specific value for option 12 is defined for the pool:
-// 2001:db8:1::1 - 2001:db8:1::100. Clients obtaining an address
-// from this pool will be assigned option 12 with a value of
-// 3001:cafe::21. Clients belonging to this subnet but obtaining
-// addresses from the other pool, or the clients obtaining
-// stateless configuration will be assigned subnet specific value
-// of option 12, i.e. 2001:db8:1:0:ff00::1.
++# Defining a subnet. There are 3 DHCP options returned to the
+# clients connected to this subnet. The first option is identified
+# by the name. The second option is identified by the code.
+# There are two address pools defined within this subnet. Pool
+# specific value for option 12 is defined for the pool:
+# 2001:db8:1::1 - 2001:db8:1::100. Clients obtaining an address
+# from this pool will be assigned option 12 with a value of
+# 3001:cafe::21. Clients belonging to this subnet but obtaining
+# addresses from the other pool, or the clients obtaining
+# stateless configuration will be assigned subnet specific value
+# of option 12, i.e. 2001:db8:1:0:ff00::1.
+# For DHCPv6 subnets can have prefix delegation pools too so
+# a pd-pools with an option-data is defined too.
"subnet6": [
{
"option-data": [
]
},
{
- "pool": "2001:db8:1::500 - 2001:db8:2::1000"
+ "pool": "2001:db8:1::500 - 2001:db8:1::1000"
}
],
+ "pd-pools": [
+ {
+ "prefix": "2001:2b8:2::",
+ "prefix-len": 56,
+ "delegated-len": 64,
+ "option-data": [
+ {
+ "code": 12,
+ "data": "3001:cafe::12:"
+ }
+ ]
+ }
+ ],
"subnet": "2001:db8:1::/64",
"interface": "ethX"
}