set interfaces ethernet eth1 vif 1337 address 'fc00:0:0:1::1/64' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 lease-time default '120' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 prefix-delegation prefix fc00:0:2:: delegated-length '56' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 prefix-delegation prefix fc00:0:2:: prefix-length '32' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 range 0 start 'fc00:0:0:1::100' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 range 0 stop 'fc00:0:0:1::199' set service dhcpv6-server shared-network-name dhcpv6-1 subnet fc00:0:0:1::/64 subnet-id '1'
Results in
Sep 13 07:38:25 systemd[1]: Started Kea IPv6 DHCP daemon. Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.376 INFO [kea-dhcp6.dhcp6/5541.140221369623424] DHCP6_STARTING Kea DHCPv6 server version 2.4.1 (stable) starting Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.377 INFO [kea-dhcp6.hosts/5541.140221369623424] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.377 WARN [kea-dhcp6.dhcpsrv/5541.140221369623424] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled. Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.377 WARN [kea-dhcp6.dhcp6/5541.140221369623424] DHCP6_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first. Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.377 INFO [kea-dhcp6.hooks/5541.140221369623424] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_run_script.so successfully closed Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.378 INFO [kea-dhcp6.hooks/5541.140221369623424] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.378 ERROR [kea-dhcp6.dhcp6/5541.140221369623424] DHCP6_PARSER_FAIL failed to create or run parser for configuration element shared-networks: Invalid Pool6 address boundaries: fc00:0:2:: is not the first address in prefix: fc00::/32 (/run/kea/kea-dhcp6.conf:45:21) (/run/kea/kea-dhcp6.conf:33:5) Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.378 ERROR [kea-dhcp6.dhcp6/5541.140221369623424] DHCP6_CONFIG_LOAD_FAIL configuration error using file: /run/kea/kea-dhcp6.conf, reason: Invalid Pool6 address boundaries: fc00:0:2:: is not the first address in prefix: fc00::/32 (/run/kea/kea-dhcp6.conf:45:21) (/run/kea/kea-dhcp6.conf:33:5) Sep 13 07:38:25 kea-dhcp6[5541]: 2025-09-13 07:38:25.378 ERROR [kea-dhcp6.dhcp6/5541.140221369623424] DHCP6_INIT_FAIL failed to initialize Kea server: configuration error using file '/run/kea/kea-dhcp6.conf': Invalid Pool6 address boundaries: fc00:0:2:: is not the first address in prefix: fc00::/32 (/run/kea/kea-dhcp6.conf:45:21) (/run/kea/kea-dhcp6.conf:33:5) Sep 13 07:38:25 systemd[1]: kea-dhcp6-server.service: Main process exited, code=exited, status=1/FAILURE Sep 13 07:38:25 systemd[1]: kea-dhcp6-server.service: Failed with result 'exit-code'.