reuse_lease: lease age logs

glenn.satchell at uniq.com.au glenn.satchell at uniq.com.au
Mon Oct 28 08:11:26 UTC 2019


Hi Surya,

It's a server optimisation for when only a small amount of the lease 
time has passed. Rather than go through the whole process to creatge a 
new lease and update the leases file, the server replies with the 
existing lease information and the time remaining. It makes no real 
difference to the client, but for a busy server it can save a lot of I/O 
and processing as the lease file doesn't need to be updated. It's 
probably unrelated to the one-lease-per-client setting.

regards,
Glenn

On 2019-10-28 18:40, Surya Teja wrote:
> Hi
> In the log messages of the dhcpd I see few strange messages like
> reuse_lease: lease age 173843 (secs) under 25% threshold, reply with
> unaltered, existing lease for 192.168.1.6
>  reuse_lease: lease age 713 (secs) under 25% threshold, reply with
> unaltered, existing lease for 192.168.1.81
> 
> Does any one has any idea what does this reuse lease means ?
> Just FYI: I have added a statement one-lease-per-client true; to my
> conf recently as i am facing no free lease issues because of roaming
> clients, does this impact the environment and cause problem which
> leading the above log messages?
> 
> Thanks in advance
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list