Date: Thu, 30 May 2019 22:25:22 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Greg Rivers <gcr+freebsd-current@tharned.org>, freebsd-current@freebsd.org Subject: Re: Inconsistent behavior with wpa / devd / network interfaces Message-ID: <b13da1c3-90d0-3643-d558-8766369132e4@quip.cz> In-Reply-To: <2836877.0P3pStmDMi@no.place.like.home> References: <b253aa53-d158-bece-c117-a7b78f11ebf7@FreeBSD.org> <2836877.0P3pStmDMi@no.place.like.home>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Rivers wrote on 2019/05/30 18:37:
[...]
>> Do I have something weird in my setup causing this? I don't recall ever
>> having this issue when not using failover lagg. Running recent 13-CURRENT.
>>
> I think there's a (unknown?) problem that makes lagg(4) incompatible with
> bridge(4). I've never been unable to make a lagg interface work as a member of
> a bridge. Lacking the time to pursue it, I've resorted to NATing instead.
lagg and bridge can work together.
I am running machine with FreeBSD 11.2 with 2 Intel NICs: em0 and em1
combined in to lagg0
lagg0 has 4 static IP addresses
There is also bhyve VM on tap20, this VM has another 2 static IP addresses
tap20 and lagg0 are members of the bridge. This bridge is renamed to
"vm-public"
vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
mtu 1500
ether da:ae:ba:75:53:ce
nd6 options=1<PERFORMNUD>
groups: bridge vm-switch viid-4c918@
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap20 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000000
Everything works without any problem.
The only problem in the beginning was PF rules. I added rule to allow
traffic to the VM IP addresses.
Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b13da1c3-90d0-3643-d558-8766369132e4>
