two bridge interfaces

spyroot

Cadet
Joined
Aug 29, 2020
Messages
9
Hi Folks,

I have a question about how I can add a second bridge interface and do explicit mapping,
So it stays persistent post-reboot.

In my case, I have two 10Gbe in LAG and two VLAN interfaces i.e subinterface)
VLAN X and VLAN Y interfaces.

- VM (Tap interface connected) VLAN X
- single jail instance connected to VLAN Y.

FreeNAS adds both VLAN X and Y and jail and VM to the same bridge and it creates an issue.
I have to manually remove the VLAN interface, tap the interface, and create a second bridge manually.

(in essence, I fix that by removing interface vlan50 and tap from the first bridge
and creating the second bridge).


bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 ether 02:d7:4a:fb:ce:00 nd6 options=1<PERFORMNUD> groups: bridge 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: vlan10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000000 --> if boot jail it will land here ( and it correct) (Manually created. By default all TAP / Jail and vlanX land in bridge0 bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 ether 02:d7:4a:fb:ce:01 nd6 options=1<PERFORMNUD> groups: bridge 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: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 8 priority 128 path cost 2000000 member: vlan50 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 7 priority 128 path cost 2000000
 
Last edited:
Top