[Kea-users] lease4-get-all is giving stale data

Francis Dupont fdupont at isc.org
Wed Jan 25 13:48:35 UTC 2023


> If the lease is still active (ie: the expire time is in the future),
> regardless of if the subnet is configured, I think it will still appear
> in the list.

=> in most but not all cases.

> I don't believe that LFC checks your configuration or anything.

=> yes, LFC does not know the configuration.

> It is just meant to keep your leases file from growing uncontrollably.

=> fine summary of what LFC does. It is not very clear from the initial
message but I think that the lease backend is memfile.

> I don't think that Kea itself, in general, discards leases that are
still valid even if you remove the subnet.

=> true at one exception: when Kea is reloaded it filters leases which
belongs to a removed subnet. Look at for 8.2.15 Sanity Checks in DHCPv4
in the ARM (or 9.2.15 Sanity Checks in DHCPv6). BTW the default is 'warn'
so if the lease-cheks parameter was not set leases should have remained.

Thanks

Francis Dupont <fdupont at isc.org>


More information about the Kea-users mailing list