Hello!
There is a problem.
I need collect two bridge(4) interfaces and put them in two different vlan(4) interfaces.
How to do it?
In the first bridge all good, because member is physical network card, which is not affixed tag.
A second bridge(4) I have a problem, because member is tagged subinterface.
I think that this is due to the effect of STP per VLAN.
I have been studying this issue for
Please, help solve the problem!
There is a problem.
I need collect two bridge(4) interfaces and put them in two different vlan(4) interfaces.
How to do it?
In the first bridge all good, because member is physical network card, which is not affixed tag.
Code:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:57:47:ef:6a:00
inet 192.168.1.53 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
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: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 8 priority 128 path cost 2000000
Code:
bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:57:47:ef:6a:01
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=9<PERFORMNUD,IFDISABLED>
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: re0.2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 20000
member: tap2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000000
Code:
# ifconfig bridge1 stp re0.2
ifconfig: unable to set bridge flags: Invalid argument
man bridge
: it lists the sysctl MIBs, but manipulation were unsuccessful Please, help solve the problem!