Ezt is próbáltam. Az a baj, hogy a VLAN-on keresztül nem megy a kommunikáció a portok között. Ha belerakom a bridge-be a portokat (pl: ether2, ether3 és vlan100), akkor sem a DHCP nem megy (vlan100-on), sem a portok nem kommunikálnak egymással. Sima bridge-el ez gond nélkül működik. Egyenlőre azt nem értem hogy hogyan lehet a VLAN-on keresztül komminukálni az adott router-en belül. A másik router-rel megy a VLAN. Ezt hogyan kellene változtatnom hogy működjön?
/interface bridge add name=bridge1 vlan-filtering=no
- Add bridge ports and specify
pvid
for VLAN access ports to assign their untagged traffic to the intended VLAN.
/interface bridge port add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether6 pvid=200 add bridge=bridge1 interface=ether7 pvid=300 add bridge=bridge1 interface=ether8 pvid=400
- Add Bridge VLAN entries and specify tagged and untagged ports in them.
/interface bridge vlan add bridge=bridge1 tagged=ether2 untagged=ether6 vlan-ids=200 add bridge=bridge1 tagged=ether2 untagged=ether7 vlan-ids=300 add bridge=bridge1 tagged=ether2 untagged=ether8 vlan-ids=400
- In the end, when VLAN configuration is complete, enable Bridge VLAN Filtering.
/interface bridge set bridge1 vlan-filtering=yes
Köszi!