Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 20:09:20 +0200
From:      kaltheat@googlemail.com
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: lagg failover issue
Message-ID:  <20120831180920.GA8171@->
In-Reply-To: <CAJ-VmoneEMvCpNotru%2Bws9NdcyExnkGfxnx2W=z7e-Myb1RWRQ@mail.gmail.com>
References:  <20120830215147.GA2383@-> <20120831104532.GA1758@-> <CAJ-VmoneEMvCpNotru%2Bws9NdcyExnkGfxnx2W=z7e-Myb1RWRQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 31, 2012 at 04:29:53AM -0700, Adrian Chadd wrote:
> guys,
> 
> You can't override set the outbound MAC address of a wireless station.
> It associates with the MAC address of the card/vap/device. The AP
> _will_ store that MAC address in its node table.
> 
> When sending frames from a STA, the only available details are:
> 
> * source address - STA MAC
> * destination BSS - the destination BSS MAC address, ie which AP to send to
> * destination address - the destnation MAC
> 
> only in WDS (4-address) setups is there a fourth address, which is the
> "actual original source MAC address". In this instance, the STA is
> actually tunnelling traffic from other source MACs.
> 
> I don't know who started that lagg hack, but let me just be really
> really clear - if you try sending the source frames out a wifi
> interface with a source MAC that isn't the STA mac, it won't work. By
> design. If it does work - it's a fluke and it's not portable.
> 
> What you really want is for the same IP to exist but only both
> interfaces and have the source interface/MAC seamlessly change.
> 
> There've been proposals in the past for the STA side code to "proxy
> STA" a bunch of other MACs behind it - using 3 address frames( ie, not
> WDS) but keeping state as to which IP traffic is going to which MAC
> address. No, net80211 in our tree doesn't have that support.
> 
> I hope that puts this all to rest.
> 
> 
> 
> Adrian
>
-- cutted here ---------

Hi Adrian,

Maybe I don't understand you, but this summarizes what I think I understood:
Changing the wireless NIC's MAC is not possible. Only in some cases, but
those cases are exceptions and shouldn't exist.

I don't understand how this is pushing me further to solve my problem. As I
mentioned I'm now changing the MAC of the wired NIC to that one of the
wireless NIC. So your remarks don't apply to this situation, I think.
Am I right?

By the way: Do you think the configuration examples (in handbook and manpage)
I provided earlier in this thread are misleading and should be changed?

kaltheat





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