Regarding the dhcp lease time
stenc at s-carlsen.dk
Mon Apr 15 18:55:37 UTC 2019
On 15/04/2019 18.48, Murali Krishna wrote:
> Im facing issue with the dhcp lease time.
> Im having two different DHCP versions in server and client side. I
> could see that the lease file at the client had very huge value of the
> dhcp lease.
> version on the server side:
> Version on the client side:
> Content(part) of the lease file at the client side:
> dhcp-lease-time 152292816;
> Output of pcap file used for debugging:
> * #28 <https://gordon.advantech.com.tw/issues/28>: Client sends
> "DHCP Request" to server and asks the lease time 3600s.
> * #29 <https://gordon.advantech.com.tw/issues/29>: The server
> replies the "DHCP ACK" to client, but the lease time is 152292816s.
The server is configured with two times, max-lease-time and
default-lease-time. It will send those times to the client, in this case
it looks like the server is configured to send very long times (4.8
years). It is up to the client when it wants to renew the lease, the
3600s is clearly within the bounds of what it is given.
If you want shorter lease times, the server needs to be configured to
hand out those times instead.
> Please help in getting this resolved. Also please share in what kind
> of situations the server will respond to the client with a huge lease
> Thanks & Regards,
> Muralikrishna CH
> dhcp-users mailing list
> dhcp-users at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users