System doesn't detect unplugged network cable and doesn't set
interface up properly with DHCP
Yuri
yuri at rawbw.com
Fri Jul 13 18:20:40 UTC 2012
On 07/13/2012 02:48, Peter Jeremy wrote:
> This is a bug in dhclient - see PR bin/166656, which includes a fix.
I think this PR addresses part of the problem: dhclient doesn't exit when the link goes down.
But even if it exits, it leaves the IP address that it has set, which is wrong. This IP address survives through the next DHCP setup process and ends up being the second IP address.
Should be very easy to on exit remove any IP address that was set during dhclient process lifetime.
Yuri
More information about the freebsd-net
mailing list