[Kea-users] Is Interface mandate in kea-DHCPv6 section

Darren Ankney darren.ankney at gmail.com
Thu Feb 20 21:16:29 UTC 2025


Hi Kraishak,

> Q)
> 1)Is it mandatory to add the interface line in every subnet6 section, unlike subnet4

subnet4 will most likely need the interface specified for a local
subnet as well (see here:
https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#how-the-dhcpv4-server-selects-a-subnet-for-the-client).

> 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

It is indeed mandatory, for the same reason (see here:
https://kea.readthedocs.io/en/latest/arm/dhcp6-srv.html#ipv6-subnet-selection).

If you have another subnet to which the DHCP server has no interface
attached, then there will be a relay agent forwarding the traffic to
the DHCP server.  Then you will use the "relay: {}" mechanism (see
here: https://kea.readthedocs.io/en/latest/arm/dhcp6-srv.html#using-a-specific-relay-agent-for-a-subnet).
But you may not have to if the relay agent source IP is actually part
of one of the subnets configured on your DHCP server.

Thank you,
Darren Ankney


More information about the Kea-users mailing list