Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 22:29:46 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Zeus Panchenko <zeus@ibs.dn.ua>, freebsd-net@freebsd.org
Subject:   Re: ether <-> wlan failover still is broken
Message-ID:  <5AB3CBEA.607@grosbein.net>
In-Reply-To: <20180322155721.96618@relay.xx>
References:  <20161018144313.45827@relay.ibs.dn.ua> <20180322155721.96618@relay.xx>

next in thread | previous in thread | raw e-mail | index | archive | help
22.03.2018 20:57, Zeus Panchenko wrote:

> while having no any problem with separate (lagg less) mode, when I use
> ether or wlan without aggregating, I am still experiencing severe problem
> with ether <-> wlan failover
> 
> after upgrade to 11.1 I decided to give another try to the handbook Example 30.3.
> https://www.freebsd.org/doc/handbook/network-aggregation.html#networking-lagg-wired-and-wireless
> 
> it still does *not* work for me
> 
> after wlan MAC address change (to the one of the ethernet as it's described in
> the handbook), wpa_supplicant becomes unable to associate with AP
> 
>> uname -a
> FreeBSD 11.1-RELEASE-p8 #0
> 
>> pciconf -lv
> ath0@pci0:3:0:0:        class=0x028000 card=0x1785103c chip=0x0032168c rev=0x01 hdr=0x00
>     vendor     = 'Qualcomm Atheros'
>     device     = 'AR9485 Wireless Network Adapter'
>     class      = network
> re0@pci0:7:0:0: class=0x020000 card=0x3387103c chip=0x816810ec rev=0x06 hdr=0x00
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
>     class      = network
>     subclass   = ethernet
> 
> 
> does anybody else face same trouble, please?

lagg uses fabricated MAC by default and your WiFi connection does not seem like that.

You should try forcing lagg to use MAC of wireless card instead of fabricated one:
ifconfig lagg0 ether $(ifconfig wlan0 | awk '/hwaddr/ {print $2}')




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AB3CBEA.607>