Hi,

using FreeBSD 11.0-CURRENT r294313M - this example in the manpage of "if_lagg"
doesn't work anymore (it worked in an older 11.0-CURRENT; don't know the exact
revision yet):
==============================================================================
[...]
     The following example uses an active failover interface to set up roaming
     between wired and wireless networks using two network devices.  Whenever
     the wired master interface is unplugged, the wireless failover device
     will be used:

           # ifconfig em0 up
           # ifconfig ath0 ether 00:11:22:33:44:55
           # ifconfig create wlan0 wlandev ath0 ssid my_net up
           # ifconfig lagg0 create
           # ifconfig lagg0 laggproto failover laggport em0 laggport wlan0 \
                   192.168.1.1 netmask 255.255.255.0

     (Note the mac address of the wireless device is forced to match the wired
     device as a workaround.)
==============================================================================


As soon as the interface "wlan0" changes its mac address, it cannot connect
to any AP anymore.


The problem is that if you put the wired interface to the failover lagg first
(so it becomes master) and after that the "wlan0" interface, the mac address of
the "wlan0" inteface immediately chnages to the mac address of the wired
interface:
==============================================================================
#ifconfig lagg0 ; ifconfig wlan0
#
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        
options=c319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
        ether 5c:f9:dd:55:c9:fb
        inet 172.18.96.4 netmask 0xffffff00 broadcast 172.18.96.255 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        groups: lagg 
        laggproto failover lagghash l2,l3,l4
        laggport: alc0 flags=5<MASTER,ACTIVE>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether a4:17:31:12:29:c3
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
        status: associated
        ssid WendlerZone channel 11 (2462 MHz 11g) bssid 80:1f:02:1c:1a:5f
        regdomain ETSI country DE indoor ecm authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
        protmode CTS wme burst roaming MANUAL
        groups: wlan 
#
#ifconfig lagg0 laggport wlan0
#ifconfig lagg0 ; ifconfig wlan0
#
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 5c:f9:dd:55:c9:fb
        inet 172.18.96.4 netmask 0xffffff00 broadcast 172.18.96.255 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        groups: lagg 
        laggproto failover lagghash l2,l3,l4
        laggport: alc0 flags=5<MASTER,ACTIVE>
        laggport: wlan0 flags=0<>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 5c:f9:dd:55:c9:fb
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 8 (2447 MHz 11g)
        regdomain ETSI country DE indoor ecm authmode WPA1+WPA2/802.11i
        privacy ON deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS
        wme burst roaming MANUAL
        groups: wlan 
==============================================================================

After that, the interface "wlan0" cannot connect to any AP anymore.


Any ideas how to solve that?



Regards,
Nils
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to