Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 11:20:36 -0700
From:      Yuri <yuri@rawbw.com>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: System doesn't detect unplugged network cable and doesn't set interface up properly with DHCP
Message-ID:  <500066F4.2030102@rawbw.com>
In-Reply-To: <20120713094830.GA83006@server.rulingia.com>
References:  <4FFF3683.7020107@rawbw.com> <20120713094830.GA83006@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500066F4.2030102>