<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">And Francis, you confirm that this is a behaviour which is different between KEA (withoit
flex-id) and ISC DHCP ?</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Veronique Lefebure <Veronique.Lefebure@cern.ch><br>
<b>Sent:</b> Tuesday, January 17, 2023 5:14 PM<br>
<b>To:</b> Francis Dupont <fdupont@isc.org><br>
<b>Cc:</b> Darren Ankney <darren.ankney@gmail.com>; kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof"><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">Thanks Francis,</span></div>
<div class="x_elementToProof"><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">So according to <a href="https://kea.readthedocs.io/en/latest/arm/hooks.html?highlight=flex-id#available-hook-libraries" title="https://kea.readthedocs.io/en/latest/arm/hooks.html?highlight=flex-id#available-hook-libraries" id="LPlnk948207">https://kea.readthedocs.io/en/latest/arm/hooks.html?highlight=flex-id#available-hook-libraries</a>we
need to subscribe to ISC support to make use of it.</span></div>
<div class="x_elementToProof"><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</span></div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Francis Dupont <fdupont@isc.org><br>
<b>Sent:</b> Tuesday, January 17, 2023 4:53 PM<br>
<b>To:</b> Veronique Lefebure <Veronique.Lefebure@cern.ch><br>
<b>Cc:</b> Darren Ankney <darren.ankney@gmail.com>; kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> Re: [Kea-users] IPV6 client gets the wrong IP for sometime after a reboot</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">The problem here is the client is changing its DUID so Kea believes<br>
the lease was assigned to a different client using the same mac address.<br>
To override this behavior the simplest is to use the mac address as<br>
the client identifier with flex-id and replace-client-id set to yes.<br>
<br>
Another way is to replace on the wire the DUID by a fixed value...<br>
<br>
Thanks<br>
<br>
Francis Dupont <fdupont@isc.org><br>
<br>
PS: DHCPv4 clients have two identifiers: the client-id option and<br>
the mac address. If the client-id option has the precedence this can<br>
be disabled at the subnet level or higher. There is a RFC too explaining<br>
how to deal with this issue when using both DHCPv4 and DHCPv6...<br>
</div>
</span></font></div>
</div>
</body>
</html>