From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 29 10:50:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B8C1065670 for ; Sun, 29 Mar 2009 10:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BF87A8FC18 for ; Sun, 29 Mar 2009 10:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2TAo3bM048442 for ; Sun, 29 Mar 2009 10:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2TAo3mZ048441; Sun, 29 Mar 2009 10:50:03 GMT (envelope-from gnats) Resent-Date: Sun, 29 Mar 2009 10:50:03 GMT Resent-Message-Id: <200903291050.n2TAo3mZ048441@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Eischen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5715F106564A for ; Sun, 29 Mar 2009 10:43:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0758FC13 for ; Sun, 29 Mar 2009 10:43:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2TAhUsl006065 for ; Sun, 29 Mar 2009 10:43:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2TAhT27006064; Sun, 29 Mar 2009 10:43:29 GMT (envelope-from nobody) Message-Id: <200903291043.n2TAhT27006064@www.freebsd.org> Date: Sun, 29 Mar 2009 10:43:29 GMT From: Daniel Eischen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/133178: lagg with wlan laggpport does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 10:50:04 -0000 >Number: 133178 >Category: kern >Synopsis: lagg with wlan laggpport does not work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 29 10:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Daniel Eischen >Release: 8-0-current >Organization: >Environment: World and kernel built sometime in July, 2008, i386, original system no longer available for uname. >Description: lagg with a non-master wlan laggport does not work. The MAC address used for the lagg interface is the MAC of the master port, and in fact this MAC address does get applied to the wlan interface, but the MAC change does not get propagated down to the underlying wireless interface (ath0, for instance). I'm using something like this in /etc/rc.conf: wlans_ath0=wlan0 ifconfig_wlan0="ssid my_ssid \ wepkey 1:0xblah1 wepkey 2:0xblah2 \ wepkey 3:0xblah3 wepkey 4:0xblah4 \ weptxkey 1 authmode shared" ifconfig_bfe0="up" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bfe0 laggport wlan0" ifconfig_lagg0_alias0="inet 10.0.0.7 netmask 0xffffff00" $ ifconfig -a ath0: flags=8802 metric 0 mtu 2290 ether 00:11:f5:9d:54:f5 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated bfe0: flags=8843 metric 0 mtu 1500 options=8 ether 00:14:22:ae:bc:98 media: Ethernet autoselect (100baseTX ) status: active lagg: laggdev lagg0 lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 lagg0: flags=8843 metric 0 mtu 1500 ether 00:14:22:ae:bc:98 inet 10.0.0.7 netmask 0xffffff00 broadcast 10.0.0.255 media: Ethernet autoselect status: active laggproto failover laggport: wlan0 flags=0<> laggport: bfe0 flags=5 wlan0: flags=8843 metric 0 mtu 1500 ether 00:14:22:ae:bc:98 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid linksys_SES_45226 channel 6 (2437 Mhz 11g) regdomain 105 indoor ecm authmode SHARED privacy MIXED deftxkey 1 wepkey 1:104-bit wepkey 2:104-bit wepkey 3:104-bit txpower 17.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst lagg: laggdev lagg0 Note that the MAC address for ath0 is different from that of wlan0, so when lagg failsover to wlan0, it does not work. As a side note, the examples in lagg(4) still reference the underlying wireless interface as opposed to wlan: # ifconfig em0 up # ifconfig ath0 nwid my_net up # ifconfig lagg0 laggproto failover laggport em0 laggport ath0 \ 192.168.1.1 netmask 255.255.255.0 >How-To-Repeat: Configure a wired and wireless interface with lagg as above. >Fix: Work around is to set the MAC address of the lagg interface to the MAC address of the wireless interface. ifconfig lagg0 ether 00:11:f5:9d:54:f5 ifconfig lagg0 down ifconfig lagg0 up >Release-Note: >Audit-Trail: >Unformatted: