Date: Wed, 15 Aug 2012 10:31:51 +1000 From: Peter Jeremy <peter@rulingia.com> To: Yuri <yuri@rawbw.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: <20120815003151.GF33399@server.rulingia.com> In-Reply-To: <500066F4.2030102@rawbw.com> References: <4FFF3683.7020107@rawbw.com> <20120713094830.GA83006@server.rulingia.com> <500066F4.2030102@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--yVhtmJPUSI46BTXb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Jul-13 11:20:36 -0700, Yuri <yuri@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 w= rong. 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 d= hclient 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. --=20 Peter Jeremy --yVhtmJPUSI46BTXb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAq7fcACgkQ/opHv/APuIeP/ACeKgdlT7PfTOymTis6q2tvpOvr izcAoJj2UAq2EE9HEB0siuJoBFsM94n4 =/yoF -----END PGP SIGNATURE----- --yVhtmJPUSI46BTXb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120815003151.GF33399>