<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">
<div id="rwhMsgHeader">From reading docs, it sure seems like these
settings should result in the desired 'affinity' behavior, but
it seems like maybe that is only working when it's an
expiration, and not a 'release'?</div>
<div><br>
</div>
<div><br>
</div>
<div> "expired-leases-processing": {<br>
"flush-reclaimed-timer-wait-time": 25,<br>
"hold-reclaimed-time": 3600,<br>
"max-reclaim-leases": 100,<br>
"max-reclaim-time": 250,<br>
"reclaim-timer-wait-time": 10,<br>
"unwarned-reclaim-cycles": 5<br>
},<br>
<br>
</div>
<div><br>
<hr id="rwhMsgHdrDivider" style="border:0;border-top:1px solid
#B5C4DF;padding:0;margin:10px 0 5px 0;width:100%;">
<div style="font-family:Tahoma !important; color:#000000
!important; font-size:13px !important;"><b>From:</b> Nathan
Neulinger [<a class="moz-txt-link-freetext" href="mailto:nneul@neulinger.org">mailto:nneul@neulinger.org</a>]</div>
<div style="font-family:Tahoma !important; color:#000000
!important; font-size:13px !important;"><b>Sent:</b> Friday,
October 7, 2022 at 10:41 PM</div>
<div style="font-family:Tahoma !important; color:#000000
!important; font-size:13px !important;"><b>To:</b>
<a class="moz-txt-link-abbreviated" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Kea-users@lists.isc.org"><Kea-users@lists.isc.org></a></div>
<div style="font-family:Tahoma !important; color:#000000
!important; font-size:13px !important;"><b>Subject:</b> How to
get kea to reassign same IP after an explicit release (client
reboot) if it has not been reused</div>
<br>
</div>
</div>
<blockquote type="cite"
cite="mid:c8ce9dc1-9faf-e357-a5fa-b4c80f74084a@neulinger.org"
style="border:none !important; margin-left:0px !important;
margin-right:0px !important; margin-top:0px !important;
padding-left:0px !important; padding-right:0px !important">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Scenario:</p>
<p> Lightly used subnet, reasonably sized pool of addresses,
served with an HA pair of Kea v2.2 <br>
Client issues a RELEASE as part of reboot process<br>
Testing with v4 only at the moment<br>
</p>
<br>
<p>The client appears get a new IP from the pool every time it
reboots. It does this even when no other leases have been
granted to or even requested by other devices in the mean time.<br>
</p>
<p>While this is certainly "valid" behavior - a client can't
_expect_ to get the same IP, especially if network is busy/small
pool/etc. -- it's not particularly user friendly. It's also not
at all what users are used to on a network that was previously
using an ISC DHCPd pair. <br>
</p>
<p><br>
</p>
<p>Is there any way to get Kea to hand out the same IP for a
recently known client identifier if it has not already been
given to another client? i.e. prioritize assignment of LRU
priority on addresses in the pool unless it was the last client
to be given a particular lease?<br>
</p>
<p><br>
</p>
<p>Ideal would be if the above could be time limited. Something
like a "hold time" on a release - where it stays 'assigned but
claimable if necessary' to a given client for some defined
number of minutes after it is released.<br>
</p>
<p><br>
</p>
<p>Reservations are not what I'm looking for, we already have
those, this is specifically in regards to 'purely dynamic pool'
handling. <br>
</p>
<pre class="moz-signature" cols="120">-- Nathan
------------------------------------------------------------
Nathan Neulinger <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:nneul@neulinger.org" moz-do-not-send="true">nneul@neulinger.org</a>
Neulinger Consulting (573) 612-1412</pre>
</blockquote>
<pre class="moz-signature" cols="120">--
------------------------------------------------------------
Nathan Neulinger <a class="moz-txt-link-abbreviated" href="mailto:nneul@neulinger.org">nneul@neulinger.org</a>
Neulinger Consulting (573) 612-1412</pre>
</body>
</html>