From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 23:52:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B690FDD3 for ; Fri, 1 Feb 2013 23:52:46 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by mx1.freebsd.org (Postfix) with ESMTP id 70991681 for ; Fri, 1 Feb 2013 23:52:45 +0000 (UTC) Received: from [77.2.35.119] (helo=wombat.mininet) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1U1QIQ-0003uT-K4 for freebsd-questions@freebsd.org; Sat, 02 Feb 2013 00:45:34 +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: <20748.21461.276771.976171@wombat.mininet> Date: Sat, 2 Feb 2013 00:46:29 +0100 To: freebsd-questions@freebsd.org Subject: Re: how do I restart lagg0 properly? In-Reply-To: <20130129063621.7d349f04@X220.ovitrap.com> References: <20743.1328.684144.654036@wombat.mininet> <20130129063621.7d349f04@X220.ovitrap.com> 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, 01 Feb 2013 23:52:46 -0000 Erich Dollansky writes: > I have used this configuration with success: > > ifconfig_em0="up" > ifconfig_iwn0="ether MAC address of em0" > wlans_iwn0="wlan0" > ifconfig_wlan0="WPA" > cloned_interfaces="lagg0" > ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 > Your IP address" > > This configuration switched automatically between the available > connections prefering em0. There are no routing problems, nothing of > this sort at all. Thanks for confirming the setup. I basically use the same but with DHCP enabled. I've done quite a bit of testing lately. Turns out that *sometimes* lagg0 works as advertized. When the box was booted with WLAN available only, I can plug in a patch cable and connect to my DSL router via LAN. Most of the times though, this does not work. After plugging in the cable, I cannot make any outbound connections. The box can be pinged from other boxes in my LAN though. *Sometimes* the following commands will enable networking after plugging in the patch cable in these cases: service netif start service routing restart But then, most of the times this does not help either. I'm at a loss now. I'm actually wondering if the problem is located on the other end of the line (I'm using a Fritz!Box 7113 DSL router for both LAN and WLAN). regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38