Hi,
I am using ISC dhclient 4.3.1 on my debian 8.3 Linux. When the reason
reported by dhclient is TIMEOUT (as there is a valid lease in leases
file), and if the DHCP server is unreachable(from which the last time
the lease was obtained) then the dhclient-script exits with status 2.
The dhclient is not sending DHCPDISCOVER msgs after this. Why is this
so?
However, when the reason reported by dhclient is FAILED, the dhclient
keeps sending DHCPDISCOVER msgs periodically. Note that the timeout
and retry values in dhclient.conf are 8 seconds and 1 second
respectively.
There can be a scenario where the DHCP server is unreachable now (from
last time when a valid lease was obtained from the DHCP server),
because its down or something, but can be available later. In such a
case, with valid lease in leases file if $reason is TIMEOUT, the
dhclient is not sending DHCPDISCOVER periodically. I am using
ifup/ifdown scripts to manage the network connectivity. Awaiting your
reply.
Thanks and Regards,
R. Vasanth Ragavendran.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users