From owner-svn-src-head@FreeBSD.ORG Mon May 28 13:14:24 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DA55106566B; Mon, 28 May 2012 13:14:24 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id ED18A8FC0C; Mon, 28 May 2012 13:14:23 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q4SDEMiY023625; Mon, 28 May 2012 17:14:22 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q4SDEMx7023624; Mon, 28 May 2012 17:14:22 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 28 May 2012 17:14:22 +0400 From: Gleb Smirnoff To: Eygene Ryabinkin Message-ID: <20120528131422.GH92865@FreeBSD.org> References: <201205281213.q4SCD5PO010671@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201205281213.q4SCD5PO010671@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r236178 - in head: sbin/ifconfig sys/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 13:14:24 -0000 On Mon, May 28, 2012 at 12:13:05PM +0000, Eygene Ryabinkin wrote: E> The real-world case is when I am bundling together my Ethernet and E> WiFi interfaces and using multiple profiles for accessing network in E> different places: system being booted up with one profile, but later E> this profile being exchanged to another one, followed by 'service E> netif restart' will not add WiFi interface back to the lagg: the E> "stop" action from 'service netif restart' will shut down my main WiFi E> interface, so wlan0 that exists in the lagg0 will be destroyed and E> purged from lagg0; the "start" action will try to re-add both E> interfaces, but since Ethernet one is already in lagg0, ifconfig will E> refuse to add the wlan0 from WiFi interface. Although the lagg(4) change is definetely a needed fix, the way of network roaming via stacking WiFi and Ethernet into lagg(4) always looked like a huge crutch to me. Isn't the problem solvable via a some kind of smarter dhclient? How other UNIX-like OS-es solve this? -- Totus tuus, Glebius.