And Francis, you confirm that this is a behaviour which is different between 
KEA (withoit flex-id) and ISC DHCP ?
________________________________
From: Veronique Lefebure <[email protected]>
Sent: Tuesday, January 17, 2023 5:14 PM
To: Francis Dupont <[email protected]>
Cc: Darren Ankney <[email protected]>; [email protected] 
<[email protected]>
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 <[email protected]>
Sent: Tuesday, January 17, 2023 4:53 PM
To: Veronique Lefebure <[email protected]>
Cc: Darren Ankney <[email protected]>; [email protected] 
<[email protected]>
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 <[email protected]>

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...
-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to