<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div></div></div></div><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Tue, Dec 7, 2021 at 12:52 PM Mike <<a href="mailto:the.lists@mgm51.com">the.lists@mgm51.com</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">I'm running dhcp-client-4.4.2.P1 from packages on OpenBSD 7.0, amd64..<br>
<br>
The IPv4 lease renewal times seem odd to me.<br>
<br>
>From the environment passed to the script specified in dhclient4.conf, I<br>
see, among others, the following variables:<br>
<br>
new_dhcp_lease_time=45605<br>
new_dhcp_rebinding_time=34805<br>
new_dhcp_renewal_time=2405<br>
<br>
<br>
In the log for the dhclient daemon I see the following entry (sanitized):<br>
<br>
dhclient: ... -- renewal in 2121 seconds.<br>
<br>
<br>
I have two questions:<br>
<br>
1) Why is the renewal time specified in the log different than any of<br>
the renewal times passed in the environment?<br>
<br>
2) Why is not the renewal time taken to be half the lease time?<br>
<br>
Thanks.</blockquote><div><br></div><div>If you are using failover, then the initial lease time is "mclt". Are you using failover?</div><div><br></div><div>There is also a setting " dhcp-cache-threshold" that can affect lease times. Do you have that set?</div><div><br></div><div>-- </div><div>Bob Harold</div><div><br></div></div><input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"persistentProtection":false,"expandedWatermarking":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"5","compose-window":{"secure":false}}"></div>