KEA static leases not working

Started by Monju0525, Today at 05:51:53 PM

Previous topic - Next topic
26.7.1 opnsense, kea static leases ie reservation no longer working despite having the correct MAC address. Not sure why.  It worked months ago when I migrated from isc to kea.

Today at 06:04:05 PM #1 Last Edit: Today at 07:47:59 PM by meyergru
It does work. Unless you have conflicting dynamic leases because you changed the IP for a client and made it static (aka "migrating from dynamic to static"). In that case, there can still be "active" leases that prevent your clients from ever obtaining those blocked IPs.

Also, static leases need to be outside of dynamic pools. This is mandatory.

Check that first and then look at /var/db/kea/kea-leases4.csv where you may find that the IPs you reserved are still taken up by other MACs (provided that you disabled "Match client-id").

You can stop Kea, clear out the mess in the configuration and the lease file and then start Kea again and it wil magically work.

See this for a more throrough explanation.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, Leox LXT-010H-D

1100 down / 450 up, Bufferbloat A+

Thanks. It is working with a dynamic pool outside of the staticic leases.