several-subnets.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This is an example configuration file for DHCPv6 server in Kea.
  2. # It's a basic scenario with four IPv6 subnets configured. In each
  3. # subnet, there's a smaller pool of dynamic addresses.
  4. { "Dhcp6":
  5. {
  6. # Kea is told to listen on eth0 interface only.
  7. "interfaces": [ "eth0" ],
  8. # Addresses will be assigned with preferred and valid lifetimes
  9. # being 3000 and 4000, respectively. Client is told to start
  10. # renewing after 1000 seconds. If the server does not repond
  11. # after 2000 seconds since the lease was granted, client is supposed
  12. # to start REBIND procedure (emergency renewal that allows switching
  13. # to a different server).
  14. "preferred-lifetime": 3000,
  15. "valid-lifetime": 4000,
  16. "renew-timer": 1000,
  17. "rebind-timer": 2000,
  18. # The following list defines subnets. Each subnet consists of at
  19. # least subnet and pool entries.
  20. "subnet6": [
  21. { "pool": [ "2001:db8:1::/80" ],
  22. "subnet": "2001:db8:1::/64" },
  23. { "pool": [ "2001:db8:2::/80" ],
  24. "subnet": "2001:db8:2::/64" },
  25. { "pool": [ "2001:db8:3::/80" ],
  26. "subnet": "2001:db8:3::/64" },
  27. { "pool": [ "2001:db8:4::/80" ],
  28. "subnet": "2001:db8:4::/64" } ]
  29. }
  30. }