Regarding the dhcp lease time

Murali Krishna muralikrishch at gmail.com
Tue Apr 16 04:10:55 UTC 2019


Hi,

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.
    max-lease-time 600;
    default-lease-time 600;
On the client side, "/etc/dhclient.conf" says:
send dhcp-lease-time 3600;

Thanks & Regards,
Muralikrishna CH

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:
>
> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>


-- 




Thanks & Regards,
Muralikrishna CH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20190416/c06f48ff/attachment-0001.html>


More information about the dhcp-users mailing list