From owner-freebsd-net@freebsd.org Sun Aug 12 23:15:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31B8D1059380 for ; Sun, 12 Aug 2018 23:15:36 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9BE747F0E1 for ; Sun, 12 Aug 2018 23:15:35 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w7CNFXuO038674 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 12 Aug 2018 16:15:34 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132] claimed to be yv.noip.me To: "freebsd-net@freebsd.org" From: Yuri Subject: When ethernet wire is unplugged, the interface keeps its IP address and the default route stays up Message-ID: <7c27e101-ba3c-3749-1a53-422aa9b78330@rawbw.com> Date: Sun, 12 Aug 2018 16:15:32 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 23:15:36 -0000 When ethernet is unplugged, the interface keeps its IP, and the default route stays, 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? Why unplugging the wire doesn't bring the interface to its original state? Yuri