OPNsense Forum

English Forums => 25.1, 25.4 Series => Topic started by: LikelyInfection on September 01, 2025, 07:49:24 PM

Title: How to clear leases on Kea HA pair?
Post by: LikelyInfection on September 01, 2025, 07:49:24 PM
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?
Title: Re: How to clear leases on Kea HA pair?
Post by: Patrick M. Hausen on September 02, 2025, 01:34:38 AM
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.