Ahoj všem,
Řeším VLAN konfiguraci na CRS switchi, aktuálně mám funkční viz níže. VLAN 100 a 255 prochází porty 2 a 8, pro VLAN 100 funguje jako access port 7. Bridge kopíruje MAC z prvního ethernet portu, takže pokud se nenastaví PVID na portech 2 a 8 jiný než 1, CRS hlásí loopy nad tím prvním ethernet portem.
Otázka - je ještě někde problém třeba s nechtěným únikem trafficu?
Díky.
# RouterOS 6.41.2
# model = CRS112-8G-4S
/interface ethernet
set [ find default-name=ether2 ] comment="only tagged traffic"
set [ find default-name=ether8 ] comment="only tagged traffic"
set [ find default-name=ether7 ] comment="access port"
/interface bridge
add fast-forward=no name=bridge-switch protocol-mode=none vlan-filtering=yes
/interface bridge port
add bridge=bridge-switch frame-types=admit-only-vlan-tagged interface=ether2 pvid=999
add bridge=bridge-switch frame-types=admit-only-vlan-tagged interface=ether8 pvid=999
add bridge=bridge-switch frame-types=admit-only-untagged-and-priority-tagged interface=ether7 pvid=100
/interface bridge vlan
add bridge=bridge-switch tagged=ether2,ether8 vlan-ids=100
add bridge=bridge-switch tagged=ether2,ether8 vlan-ids=255