<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Thu, 9 Aug 2018 at 18:32, Simon Hobson <<a href="mailto:dhcp1@thehobsons.co.uk">dhcp1@thehobsons.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">perl-list <<a href="mailto:perl-list@network1.net" target="_blank">perl-list@network1.net</a>> wrote:<br>
<br>> Even that doesn't guarantee anything.  Clients can and do still suggest and receive a different lease length.  Its really not often, but I have seen it.  For example, some versions of windows will initially request an hour lease followed by a full lease length (ie: what you have configured in your directives) at renewal time.  This would be when you have longer than an hour lease lengths configured.<br></blockquote><div>Yes, client cant and do ask for shorter or longer lease times, but the server declines that and hands out only leases with a lengt of 1h. The only exception is for leases wo fall into the dhcp-cache-threshold option. They get a "shorter" lease time offered.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The server should never offer a lease shorter than min-lease-time, or longer than max-lease-time - except when failover is/has happened and MCLT is in effect. A client could choose to not use the full lease length, but it cannot (unless broken) use the address for longer than the lease time offered.<br>
</blockquote><div> </div><div>We once had a broken client who refused the lease offered. The client did the DORA sequence, declined the lease and startet again with a DORA sequence and so on. Except from that we never faced an issue with default-, min- and max-lease time set to 3600s</div><div><br></div></div></div>