OPNsense Forum

English Forums => 24.1 Production Series => Topic started by: tiermutter on February 09, 2024, 11:15:31 am

Title: Kea DHCP - Empty leasing table
Post by: tiermutter on February 09, 2024, 11:15:31 am
Hi there,

I switched to Kea yesterday and everything is working fine so far, Kea distributes dynmaic leases and also configured static leases. Those leases are shown in leasing table for a while, but then they disappear and the list is empty. However, all devices are still working with their assigned IP.
Powering on another device, it will get it's IP and this lease is shown in the list, again for only a while and then disappears.
For the time being I don't know when leases disappear, but it feels this happens when I get those entries in log (lease file cleanup):

Code: [Select]
2024-02-09T11:01:28 Informational kea-dhcp4 INFO [kea-dhcp4.dhcpsrv.0x8346c0000] DHCPSRV_MEMFILE_LFC_EXECUTE executing Lease File Cleanup using: /usr/local/sbin/kea-lfc -4 -x /var/db/kea/kea-leases4.csv.2 -i /var/db/kea/kea-leases4.csv.1 -o /var/db/kea/kea-leases4.csv.output -f /var/db/kea/kea-leases4.csv.completed -p /var/db/kea/kea-leases4.csv.pid -c ignored-path
2024-02-09T11:01:28 Informational kea-dhcp4 INFO [kea-dhcp4.dhcpsrv.0x8346c0000] DHCPSRV_MEMFILE_LFC_START starting Lease File Cleanup

Known issue?

Cheers
Title: Re: Kea DHCP - Empty leasing table
Post by: franco on February 09, 2024, 11:48:56 am
https://github.com/opnsense/core/issues/7204
Title: Re: Kea DHCP - Empty leasing table
Post by: tiermutter on February 09, 2024, 11:56:31 am
Great... it's working :)