Hi All, I am trying to use kea-DHCPv6 in my local lab, and I observed that if I don't place the line interface in subnet 6 section, it is not working and not able to get lease even though I added the interface on global section
Configuration snippet: { "Dhcp6": { "interfaces-config": { "interfaces": ["ens192"] # The network interface the DHCPv6 server listens on }, "multi-threading": { "packet-queue-size": 28, "enable-multi-threading": true, "thread-pool-size": 4 }, "lease-database": { "name": "/XXXXX/XXXXXX/XXXXX/XXXX/dhcp6.leases", "type": "memfile", # In-memory lease database (useful for testing) "persist": true # Save leases to disk }, "subnet6": [ { "subnet": "2001:470:edb5:200::/64", # The subnet from which addresses are allocated # "interface": "ens192", "pools": [ {"pool": "2001:470:edb5:200::2-2001:470:edb5:200::15"}, {"pool": "2001:470:edb5:200::3e-2001:470:edb5:200::51"}, {"pool": "2001:470:edb5:200::52-2001:470:edb5:200::65"} ], "preferred-lifetime": 600, "valid-lifetime": 1200, "option-data": [ { "name": "dns-servers", "data": "2001:470:edb5:200::23" # Override DNS servers for this subnet }, { "name": "domain-search", "data": "tester.com" } ] } ] } } In the logs I am getting are as below: 2025-02-19 11:48:26.576 DEBUG [kea-dhcp6.packets/2086321.139784175461952] DHCP6_RESPONSE_DATA responding with packet type 2 data is localAddr=[ff02::1:2]:547 remoteAddr=[fe80::a28:a7f4:fea5:8142]:546 msgtype=2(ADVERTISE), transid=0x88e10a type=00001, len=00014: 00:01:00:01:2c:80:f6:f7:74:5d:22:3e:02:d1 type=00002, len=00014: 00:01:00:01:2d:71:74:58:00:50:56:a2:ea:0c type=00003(IA_NA), len=00064: iaid=125047786, t1=0, t2=0, options: type=00013, len=00048: NoAddrsAvail(2) "Server could not select subnet for this client" type=00023, len=00016: 2001:470:edb5:200::23 type=00024, len=00012: "tester.com." (fqdn) type=39(CLIENT_FQDN), flags: (N=1, O=0, S=0), domain-name='ddddddd-lenovo-zzzz.' (full) No relays traversed. Q) 1)Is it mandatory to add the interface line in every subnet6 section, unlike subnet4 2)If that is mandatory, how can I use multiple subnets? Let's say I have one more network range using the same DHCPv6 appliance, but I don't have any interface on the box. How can we use that Can someone who is familiar with such setups and has faced similar issues please guide me? Thanks in Advance Kraishak
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users