keama/tests/shareone6.in6
raw| 1 | # DHCPv6 one-subnet 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 | # tried another pool here but DHCPv6 pools are allowed only in subnets |
| 19 | } |