In kea that is handled periodically by kea-lfc 
(https://kea.readthedocs.io/en/kea-2.2.0/man/kea-lfc.8.html).  Kea executes 
this process periodically, but you can run it yourself as well, if you like.

> On Dec 22, 2022, at 5:33 AM, Kraishak Mahtha <[email protected]> wrote:
> 
> Hi Marcin,
> 
> Thanks for the quick response and sharing the information and clarifying my 
> doubts, but I do have some more doubts even after changing the scope defined 
> in the config and restarting the service the lease file still has some old 
> range entries generally in ISC DHCP if there is a change in range and after 
> the restart, it erases the out of range entries from a lease file 
> so...
> And can I get any official documentation reference regarding this flow or 
> explanation?
> 
> Thanks 
> Kraishak
> 
> On Thu, Dec 22, 2022 at 3:39 PM Marcin Siodelski <[email protected] 
> <mailto:[email protected]>> wrote:
>> On 22.12.2022 10:52, Kraishak Mahtha wrote:
>> > Hi All,
>> > 
>> > I am trying to understand the kea-lease file format and I came across 
>> > the option state where it decides the lease state
>> > To my understanding, the state 0 indicates an active lease
>> > and 2 indicates the expiry but sometimes I see the binding state as 1 
>> > but not sure what that means, and I am unable to get any official 
>> > documentation regarding this info. Not sure if we have only 0, 1, 2 as 
>> > states, and more.....
>> > Does anyone have any idea or any referenced document where I can get 
>> > these options' explanations and validations like what is the max 
>> > value(for other kea-options) that it can take and so on similar things
>> > 
>> > Any help would be appreciated
>> > Thanks
>> > Kraishak
>> > 
>> 
>> The lease state of 1 means "declined lease". A client declines the lease 
>> when it discovers that someone else is using the leased address.
>> 
>> Kea currently defines only three states for leases: "default" (or 
>> "active"), "declined" and "expired-reclaimed". The last state marks the 
>> leases that have expired and the server processed them during routine 
>> reclamation. In particular, a reclaimed lease has DDNS state cleared. 
>> Such a lease is available for new allocation.
>> 
>> Kind Regards,
>> 
>> Marcin Siodelski
>> Sr. Software Engineer
>> ISC
> -- 
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> 
> Kea-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-users

-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to