| 1 |
# DHCPv6 two subnets in shared-network declaration config |
| 2 |
|
| 3 |
# shared-network declaration |
| 4 |
shared-network "foobar" { |
| 5 |
# interface |
| 6 |
interface "en0"; |
| 7 |
# option |
| 8 |
option dhcp6.domain-search "example.com", "example.org"; |
| 9 |
# parameter |
| 10 |
default-lease-time 1800; |
| 11 |
# subnet declaration |
| 12 |
subnet6 2001::/64 { |
| 13 |
# redefined parameter |
| 14 |
default-lease-time 3600; |
| 15 |
# pool |
| 16 |
range6 2001::1000 2001::2000; |
| 17 |
} |
| 18 |
# second subnet declaration |
| 19 |
subnet6 2002::/64 { |
| 20 |
pool6 { |
| 21 |
prefix6 2001:0:0:10:: 2001:0:0:1f:: /64; |
| 22 |
} |
| 23 |
} |
| 24 |
} |