OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: routenull0 on January 01, 2025, 03:35:31 PM

Title: Kea DHCP - Expired Leases Remaining
Post by: routenull0 on January 01, 2025, 03:35:31 PM
I am experiencing an issue with DHCP leases within Kea that are not being removed after their expiration time.

Is there a manual process that can be executed to clear out the expired leases?

(Note: I have temporarily disabled DHCPv4 in Kea due to this issue.)
Title: Re: Kea DHCP - Expired Leases Remaining
Post by: EricPerl on January 01, 2025, 10:34:48 PM
AFAIK, it's pretty typical for a DHCP server to keep these around. It allows it to offer the same IP if the device comes back online.
My ISC instance has a pile of expired leases right now.
I assume that if the pool of never assigned IPs shrunk enough, it would begin to recycle long expired leases.

https://forum.opnsense.org/index.php?topic=2142.0 (https://forum.opnsense.org/index.php?topic=2142.0)
Title: Re: Kea DHCP - Expired Leases Remaining
Post by: frozen on January 02, 2025, 03:54:36 AM
I'm new to KEA and wish there was a garbage can icon to delete leases also :(