<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Greetings.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">My apologies if this has been asked and answered before. I did not find a thread on this subject in the archives of this list, but it seems like the sort of thing that might have been asked before.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">We have some devices which prefer to receive DHCP offers from the DHCP server made by the same manufacturer as the clients. They ignore the first four offers made by other DHCP servers and then finally accept/request
the fifth offer. When the DHCP DISCOVER packets from one of these devices are relayed to a Kea 2.6 server, Kea offers the device a different IP address in response to each of the five DISCOVER packets. Is this by design? The DISCOVER packets all appear
to be identical except for the Transaction ID and Seconds Elapsed. Why isn’t Kea offering the same IP address to the client every time? This is a test situation with only one device in the subnet, so there are no DHCP packets from any other devices. “offer-lifetime”
is not configured for the subnet and hence should be 0, but it seems to me that the purpose of the “offer-lifetime” parameter is probably to be able to offer the same IP address to a device sending multiple requests in the presence of requests from other devices.
There are no other requests in this case.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Below are the logs showing the receipt of the DISCOVER packets and the subsequent offers by Kea:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:05:54.776 INFO [kea-dhcp4.packets/659.140495010055744] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x67458b6b: DHCPDISCOVER (type 1) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:05:54.777 INFO [kea-dhcp4.leases/659.140495010055744] DHCP4_LEASE_OFFER [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x67458b6b: lease 10.255.237.201 will be offered<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:05:58.820 INFO [kea-dhcp4.packets/659.140495018448448] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0xc6237b32: DHCPDISCOVER (type 1) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:05:58.820 INFO [kea-dhcp4.leases/659.140495018448448] DHCP4_LEASE_OFFER [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0xc6237b32: lease 10.255.237.202 will be offered<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:06.776 INFO [kea-dhcp4.packets/659.140495010055744] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x69983c64: DHCPDISCOVER (type 1) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:06.776 INFO [kea-dhcp4.leases/659.140495010055744] DHCP4_LEASE_OFFER [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x69983c64: lease 10.255.237.203 will be offered<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:14.781 INFO [kea-dhcp4.packets/659.140495018448448] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x73483366: DHCPDISCOVER (type 1) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:14.781 INFO [kea-dhcp4.leases/659.140495018448448] DHCP4_LEASE_OFFER [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x73483366: lease 10.255.237.204 will be offered<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:22.784 INFO [kea-dhcp4.packets/659.140495010055744] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x51dcb074: DHCPDISCOVER (type 1) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:22.784 INFO [kea-dhcp4.leases/659.140495010055744] DHCP4_LEASE_OFFER [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x51dcb074: lease 10.255.237.205 will be offered<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:25.733 INFO [kea-dhcp4.packets/659.140495018448448] DHCP4_PACKET_RECEIVED [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x51dcb074: DHCPREQUEST (type 3) received from 10.255.237.1
to <redacted> on interface ens3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2025-10-14 08:06:25.733 INFO [kea-dhcp4.leases/659.140495018448448] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:39:09:b5], cid=[01:xx:xx:xx:39:09:b5], tid=0x51dcb074: lease 10.255.237.205 has been allocated for
7200 seconds<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I redacted part of each of the Client Identifiers, but they are all identical (as are the hardware addresses).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">.Ben Bridges.<o:p></o:p></span></p>
</div>
</body>
</html>