Re: dhcp-client and IPv4 lease times
Bob Harold <[email protected]>
| Newsgroups | gmane.network.dhcp.isc.dhcp-server |
|---|---|
| Message-ID | <CA+nkc8B6PqUOo8ACzzupuRSuFHKDkzhcDWi8Cq8pJGXQtRsbzQ@mail.gmail.com> |
On Tue, Dec 7, 2021 at 12:52 PM Mike <[email protected]> wrote: > I'm running dhcp-client-4.4.2.P1 from packages on OpenBSD 7.0, amd64.. > > The IPv4 lease renewal times seem odd to me. > > From the environment passed to the script specified in dhclient4.conf, I > see, among others, the following variables: > > new_dhcp_lease_time=45605 > new_dhcp_rebinding_time=34805 > new_dhcp_renewal_time=2405 > > > In the log for the dhclient daemon I see the following entry (sanitized): > > dhclient: ... -- renewal in 2121 seconds. > > > I have two questions: > > 1) Why is the renewal time specified in the log different than any of > the renewal times passed in the environment? > > 2) Why is not the renewal time taken to be half the lease time? > > Thanks. If you are using failover, then the initial lease time is "mclt". Are you using failover? There is also a setting " dhcp-cache-threshold" that can affect lease times. Do you have that set? -- Bob Harold _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/dhcp-users