Regarding the dhcp lease time

Sten Carlsen stenc at s-carlsen.dk
Mon Apr 15 18:55:37 UTC 2019



On 15/04/2019 18.48, Murali Krishna wrote:
> Hi,
>
> 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:
> isc-dhcpd-4.3.6-P1
>
> Version on the client side:
> isc-dhcpd-4.2.1-P1
>
> 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
> value.
>
> Thanks & Regards,
> Muralikrishna CH
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190415/2b5d7013/attachment.html>


More information about the dhcp-users mailing list