Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2018 17:55:04 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Yuri <yuri@rawbw.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: When ethernet wire is unplugged, the interface keeps its IP address and the default route stays up
Message-ID:  <75722280-4af9-d53d-d456-fedde8b1edf6@grosbein.net>
In-Reply-To: <7c27e101-ba3c-3749-1a53-422aa9b78330@rawbw.com>
References:  <7c27e101-ba3c-3749-1a53-422aa9b78330@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
13.08.2018 6:15, Yuri wrote:

> When ethernet is unplugged, the interface keeps its IP, and the default route stays,

This is intentional.

> so WiFi fails to become functional.
> It is necessary to run 'ifconfig {iface} inet remove' before connecting to WiFi.
> How is this supposed to function, because regular user shouldn't be required to run commands by hand?

You are supposed to use lagg(4) for failover and configure IP address for lagg0 interface
instead of wired one.

> Why unplugging the wire doesn't bring the interface to its original state?

Because it would break many other things.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75722280-4af9-d53d-d456-fedde8b1edf6>