[Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

Veronique Lefebure Veronique.Lefebure at cern.ch
Tue Jan 17 16:16:28 UTC 2023


And Francis, you confirm that this is a behaviour which is different between KEA (withoit flex-id) and ISC DHCP ?
________________________________
From: Veronique Lefebure <Veronique.Lefebure at cern.ch>
Sent: Tuesday, January 17, 2023 5:14 PM
To: Francis Dupont <fdupont at isc.org>
Cc: Darren Ankney <darren.ankney at gmail.com>; kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

Thanks Francis,
So according to https://kea.readthedocs.io/en/latest/arm/hooks.html?highlight=flex-id#available-hook-librarieswe need to subscribe to ISC support to make use of it.

________________________________
From: Francis Dupont <fdupont at isc.org>
Sent: Tuesday, January 17, 2023 4:53 PM
To: Veronique Lefebure <Veronique.Lefebure at cern.ch>
Cc: Darren Ankney <darren.ankney at gmail.com>; kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot

The problem here is the client is changing its DUID so Kea believes
the lease was assigned to a different client using the same mac address.
To override this behavior the simplest is to use the mac address as
the client identifier with flex-id and replace-client-id set to yes.

Another way is to replace on the wire the DUID by a fixed value...

Thanks

Francis Dupont <fdupont at isc.org>

PS: DHCPv4 clients have two identifiers: the client-id option and
the mac address. If the client-id option has the precedence this can
be disabled at the subnet level or higher. There is a RFC too explaining
how to deal with this issue when using both DHCPv4 and DHCPv6...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230117/95327d2e/attachment-0001.htm>


More information about the Kea-users mailing list