kern/133178: lagg with wlan laggpport does not work
Daniel Eischen
deischen at FreeBSD.org
Sun Mar 29 03:50:04 PDT 2009
>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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:14:22:ae:bc:98
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lagg: laggdev lagg0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<MASTER,ACTIVE>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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:
More information about the freebsd-bugs
mailing list