System doesn't detect unplugged network cable and doesn't set interface up properly with DHCP

Peter Jeremy peter at rulingia.com
Wed Aug 15 00:31:59 UTC 2012


On 2012-Jul-13 11:20:36 -0700, Yuri <yuri at rawbw.com> wrote:
>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.

I agree that it _should_ be easy to remove the existing address and the
existing patch in that PR should already do that.  Unfortunately,
there seems to be another issue in dhclient that means that it isn't.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120815/726a031b/attachment.pgp


More information about the freebsd-net mailing list