From owner-freebsd-net@FreeBSD.ORG Tue Jan 12 05:24:59 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CCB0106566C for ; Tue, 12 Jan 2010 05:24:59 +0000 (UTC) (envelope-from callumgibson@optusnet.com.au) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id 349EE8FC18 for ; Tue, 12 Jan 2010 05:24:58 +0000 (UTC) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o0C3PwVQ007537 for ; Tue, 12 Jan 2010 14:25:58 +1100 Received: from omma.gibson.athome (c122-106-69-195.rivrw1.nsw.optusnet.com.au [122.106.69.195]) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with SMTP id o0C3Ptw1003860 for ; Tue, 12 Jan 2010 14:25:55 +1100 Received: (qmail 42466 invoked by uid 107); 12 Jan 2010 14:25:55 +1100 Date: 12 Jan 2010 14:25:55 +1100 Date: Tue, 12 Jan 2010 14:25:55 +1100 From: Callum Gibson To: freebsd-net@freebsd.org Message-ID: <20100112032554.GA40871@omma.gibson.athome> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: lagg doesn't fail back to master X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 05:24:59 -0000 Hi all, I've sucessfully setup a lagg0 interface on my laptop to fail the wired connection over to wireless when it's unplugged. I have the following in my rc.conf: wlans_bwi0="wlan0" ifconfig_bwi0="ether XXX" ifconfig_wlan0="WPA mode 11g" cloned_interfaces="lagg0" ifconfig_lagg0="SYNCDHCP laggproto failover laggport bge0 laggport wlan0" This seems to work fine at boot. However, once I plug wired back in, lagg doesn't switch back to the master. Here is what ifconfig is showing: bge0: flags=8802 metric 0 mtu 1500 options=9b ether XXX media: Ethernet autoselect (100baseTX ) status: active bwi0: flags=8843 metric 0 mtu 2290 ether XXX media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether XXX media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g status: associated ssid 47FifthSt channel 6 (2437 Mhz 11g) bssid 00:0f:66:4f:1c:b8 country US authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL lagg0: flags=8843 metric 0 mtu 1500 ether XXX inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect status: active laggproto failover laggport: wlan0 flags=4 laggport: bge0 flags=1 The handbook says lagg should switch back to master when it becomes active again. I tried a few other things like taking wlan0 down manually and even stopping the interface and restarting lagg without wlan active, but this just hung my network connection. Even destroying lagg and recreating by hand had no effect and lagg0 came back with the children already attached (as seen above) so the system is caching that information somewhere and lagg just won't let go of wlan... I'm on 8.0-STABLE from about 4 Dec 2009. Any ideas? regards, Callum -- Callum Gibson @ home http://members.optusnet.com.au/callumgibson/