From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 23:55:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9C60688 for ; Fri, 25 Jan 2013 23:55:47 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.95]) by mx1.freebsd.org (Postfix) with ESMTP id 6911E177 for ; Fri, 25 Jan 2013 23:55:47 +0000 (UTC) Received: from [93.132.91.119] (helo=wombat.mininet) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Tyt6i-000416-Qo for freebsd-questions@freebsd.org; Sat, 26 Jan 2013 00:54:53 +0100 X-Mailer: emacs 24.2.1 (via feedmail 11-beta-1 I); VM 8.1.2 under 24.2.1 (amd64-portbld-freebsd9.0) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20739.7055.151377.161980@wombat.mininet> Date: Sat, 26 Jan 2013 00:55:59 +0100 To: freebsd-questions@freebsd.org Subject: lagg problems (or lack of understanding?) From: markus.hoenicka@mhoenicka.de X-Df-Sender: NDcyNTgy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 23:55:47 -0000 Hi, I'd like to use both ethernet and wlan, whichever is available, with my laptop. In many cases I prefer wlan at home as I'm not tethered and performance is good enough. However, in some cases I prefer to connect to a switch via ethernet to have faster connection to a desktop PC. I followed these instructions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html Specifically, I use the rc.conf entries mentioned in the box at the very bottom on the page, except that my ethernet interface is re0 instead of bge0. The lagg module is loaded during boot using an appropriate entry in /boot/loader.conf. Things almost work: boot with ethernet plugged in, ethernet still in: connected via ethernet boot with ethernet plugged in, ethernet out: connected via wlan boot with ethernet unplugged, ethernet still out: connected via wlan boot with ethernet unplugged, ethernet in: no connection What bothers me is the last scenario: this would force me to boot with ethernet plugged in whenever I intend to use ethernet in the same session. Is this expected behaviour? Is there a way to fix this? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38