Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2012 05:31:05 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        John Baldwin <jhb@freebsd.org>
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:  <20120731193104.GB29153@server.rulingia.com>
In-Reply-To: <201207310943.00547.jhb@freebsd.org>
References:  <4FFF3683.7020107@rawbw.com> <500066F4.2030102@rawbw.com> <20120714075125.GA566@DataIX.net> <201207310943.00547.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 2012-Jul-31 09:43:00 -0400, John Baldwin <jhb@freebsd.org> wrote:
>On Saturday, July 14, 2012 3:51:25 am Jason Hellenthal wrote:
>> 
>> On Fri, Jul 13, 2012 at 11:20:36AM -0700, Yuri wrote:
>> > 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 couldnt agree more. Interface tear down is definately needed here.
>
>Hmmm, this does seem true.  Do you either of you have any patches for this,
>or Peter, can you extend your patch to do this?

It's not a case that I initially considered and I don't currently have
a patch for this.  I'll have a look into it.

-- 
Peter Jeremy

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlAYMngACgkQ/opHv/APuIcgsQCeN4W1rOEpgRStHirDEX46CGtW
3QIAoKOMTKi8SWSlqWiO7KCxRaWCgrrl
=SA+0
-----END PGP SIGNATURE-----

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