<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello</p>
<p> The reservations for 2 of the 3 KVM's have been there since we
switched over to KEA. <br>
</p>
<p>thank you for looking and responding to this.<br>
</p>
<div class="moz-cite-prefix">On 12/23/24 01:44, Marek Greško wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20241223064444.28EE9205B0@Mail.fantinibakery.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Hello,</div>
<div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</div>
<div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I
suspect, you just hit major design flaw of the kea. It is
storing the reservation into the lease file and the lease has
precedence when responding to the client. So if your client
asked for a ip address and received some from the pool and you
added the reservation after that, you will always get the ip
address from the lease. Is not this your issue also?<br>
</div>
<div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</div>
<div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Marek</div>
<div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</div>
<div class="protonmail_quote"> On Monday, December 23rd, 2024 at
2:26, fbcadmin via Kea-users <a class="moz-txt-link-rfc2396E" href="mailto:kea-users@lists.isc.org"><kea-users@lists.isc.org></a>
wrote:<br>
<blockquote class="protonmail_quote" type="cite">
<p>Hello</p>
<p> we have some hosts setup with reservations , which are
instead getting a pool address. </p>
<p><br>
</p>
<p>this printer which should have <span
style="font-family:monospace">10.1.25.132 but got </span><font
face="monospace">10.1.25.183 . this printer and another
get used overnight so we had to temporarily change the IP
address at the cups print server . </font><b><font
face="monospace"><br>
</font></b></p>
<p><br>
</p>
<p>In the mean time we'll look at the programming on some of
our recently replaced managed switches. I suspect pvid is
incorrect on some ports or dhcp relay setting... I had been
working on network security settings - like limiting which
vlans are accessible from some downstream switches..<br>
</p>
<p> in addition we use proxmox to manage our virtual machines.
all debian KVM's which used dhcp-client had wrong addresses
. windows are okay. LXC's are okay. a lot of testing and
debugging was done. details are at
<a
href="https://forum.proxmox.com/threads/dhcp-issue-with-kvm-lxc-does-not-have-the-issue.159440/#post-731975"
class="moz-txt-link-freetext" target="_blank"
rel="noreferrer nofollow noopener" moz-do-not-send="true">https://forum.proxmox.com/threads/dhcp-issue-with-kvm-lxc-does-not-have-the-issue.159440/#post-731975</a><br>
</p>
<p>here is some debugging info for a host that has this
reservation. <b> If anyone has I suggestion on where to
look to solve the issue I am all ears</b>! [ except the
next 7 hours for sleep.]<br>
</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> { </span><br>
"hostname": "<span
style="color:#ffffff;background-color:#000000;">p132</span><span
style="color:#000000;background-color:#ffffff;">.fantinibakery.com",
</span><br>
"ip-address": "10.1.25.132", <br>
"hw-address": "<b><a href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a></b>" <br>
},<br>
<br>
<br>
</span></p>
<p><br>
</p>
<p><font face="monospace">sudo tcpdump -i eth0 port 67 or port
68 -e -n -vv</font></p>
<p><font face="monospace">10.1.25.132 p132.fantinibakery.com
p132<br>
the following s/b p132:<br>
<br>
18:55:34 ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT
[hwtype=1 <a href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a>], cid=[01:<a
href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a>],
tid=0x1237: conflicting reservation for address
10.1.25.132 with existing lease Address: 10.1.25.132<br>
Valid life: 604800<br>
Cltt: 1734607378<br>
Hardware addr: <b><a href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a></b><br>
Client id: 01:<a href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a><br>
Subnet ID: 17<br>
Pool ID: 0<br>
State: default<br>
Relay ID: (none)<br>
Remote ID: (none)<br>
<br>
19:02:21.603380 1c:34:<a class="moz-txt-link-freetext"
moz-do-not-send="true">da:f4:05:0e</a> > <a
class="moz-txt-link-freetext" moz-do-not-send="true">bc:24:11:e2:1d:b8</a>,
ethertype IPv4 (0x0800), length 355: (tos 0x0, ttl 64, id
59862, offset 0, flags [DF], pro<br>
to UDP (17), length 341) <br>
10.1.3.202.67 > 10.1.3.15.67: [udp sum ok] BOOTP/DHCP,
Request from <b><a href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a></b>,
length 313, hops 1, xid 0xdc07, Flags [none] (0x0000) <br>
Gateway-IP 10.1.25.9 <br>
Client-Ethernet-Address <a
href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a> <br>
Vendor-rfc1048 Extensions <br>
Magic Cookie 0x63825363 <br>
DHCP-Message (53), length 1: Discover <br>
Client-ID (61), length 7: ether <a
href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a> <br>
Hostname (12), length 15: "BRNB422002635B5" <br>
Parameter-Request (55), length 11: <br>
Domain-Name-Server (6), Default-Gateway (3), Subnet-Mask
(1), Domain-Name (15) <br>
TFTP (66), BF (67), BS (13), Netbios-Name-Server (44) <br>
Time-Zone (2), NTP (42), Hostname (12) <br>
Agent-Information (82), length 28: <br>
Circuit-ID SubOption 1, length 6: bond19 <br>
Remote-ID SubOption 2, length 18: 1c:34:<a
class="moz-txt-link-freetext" moz-do-not-send="true">da:f4:05:00^J</a><br>
</font></p>
<p><font face="monospace"><br>
</font></p>
<p><font face="monospace">19:02:21.604284 <a
class="moz-txt-link-freetext" moz-do-not-send="true">bc:24:11:e2:1d:b8</a>
> 1c:34:<a class="moz-txt-link-freetext"
moz-do-not-send="true">da:f4:05:0e</a>, ethertype IPv4
(0x0800), length 418: (tos 0x10, ttl 128, id 0, offset 0,
flags [DF], proto<br>
UDP (17), length 404) <br>
10.1.3.15.67 > 10.1.25.9.67: [udp sum ok] BOOTP/DHCP,
Reply, length 376, hops 1, xid 0xdc07, Flags [none]
(0x0000) <br>
<b> Your-IP 10.1.25.183 </b><br>
Gateway-IP 10.1.25.9 <br>
Client-Ethernet-Address <a
href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a> <br>
Vendor-rfc1048 Extensions <br>
Magic Cookie 0x63825363 <br>
DHCP-Message (53), length 1: Offer <br>
Subnet-Mask (1), length 4: 255.255.255.0 <br>
Time-Zone (2), length 4: -5 <br>
Default-Gateway (3), length 4: 10.1.25.1 <br>
Domain-Name-Server (6), length 12:
127.0.0.1,10.1.3.41,10.1.3.40 <br>
Hostname (12), length 22: "p132.fantinibakery.com" <br>
Domain-Name (15), length 17: "fantinibakery.com" <br>
NTP (42), length 4: 10.1.0.2 <br>
Lease-Time (51), length 4: 604800 <br>
Server-ID (54), length 4: 10.1.3.15 <br>
Client-ID (61), length 7: ether <a
href="http://b4:22:00:26:35:b5"
class="moz-txt-link-freetext"
rel="noreferrer nofollow noopener"
moz-do-not-send="true">b4:22:00:26:35:b5</a> <br>
Agent-Information (82), length 28: <br>
Circuit-ID SubOption 1, length 6: bond19 <br>
Remote-ID SubOption 2, length 18: 1c:34:<a
class="moz-txt-link-freetext" moz-do-not-send="true">da:f4:05:00^J</a><br>
</font></p>
</blockquote>
<br>
</div>
</blockquote>
</body>
</html>