How to clear leases on Kea HA pair?

Started by LikelyInfection, September 01, 2025, 07:49:24 PM

Previous topic - Next topic
Hi,

I reimaged a computer and now Kea won't give it the ip address that I have reserved for it:

WARN [kea-dhcp4.alloc-engine.0x220add017400] ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT [hwtype=1 dc:a6:32:e8:aa:aa], cid=[ff:f8:ce:ff:a1:00:aa:00:00:ab:ff:26:aa:ff:4d:aa:c3:ff:39], tid=0xc87604e6: conflicting reservation for address 192.168.1.41 with existing lease Address: 192.168.1.41


Perhaps because the cid has changed? How do I get this device to pick up the address I have reserved for it?

I've seen people editing the kea-leases4.csv, is there a better way to do this? Is there a recommended way to this for an HA pair?

Historically DHCP servers have used the client's MAC address for static reservations and this is what most admins including myself are used to and prefer.

You need to uncheck a particular option in your Kea subnet configuration. See screenshot.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)