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

Peter Jeremy peter at rulingia.com
Tue Jul 31 19:31:27 UTC 2012


On 2012-Jul-31 09:43:00 -0400, John Baldwin <jhb at 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
-------------- 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/20120731/0f1f79af/attachment.pgp


More information about the freebsd-net mailing list