Regarding the dhcp lease time
muralikrishch at gmail.com
Tue Apr 16 04:10:55 UTC 2019
Thanks for your inputs.
I quickly checked in my system.
>From "/etc/dhcpd.conf", i could clearly see that 600 is set to both max and
default. This output is from server side.
On the client side, "/etc/dhclient.conf" says:
send dhcp-lease-time 3600;
Thanks & Regards,
On Tue, Apr 16, 2019 at 12:25 AM Sten Carlsen <stenc at s-carlsen.dk> wrote:
> 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 value.
> Thanks & Regards,
> Muralikrishna CH
> dhcp-users mailing listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users
> dhcp-users mailing list
> dhcp-users at lists.isc.org
Thanks & Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users