Hello,
I try to setup VLANs but I got a strange problem. This is my setup:
/interface vlan
add interface=bridge name=vlan100 vlan-id=100
add interface=bridge name=vlan200 vlan-id=200
/interface bridge port
add bridge=bridge-net interface=ether22
add bridge=bridge-net interface=ether23
add bridge=bridge-net interface=ether24
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=ether6
add bridge=bridge interface=ether7
add bridge=bridge interface=ether8
add bridge=bridge interface=ether9
add bridge=bridge interface=ether10
add bridge=bridge interface=ether11
add bridge=bridge interface=ether12
add bridge=bridge interface=ether13
add bridge=bridge interface=ether14
add bridge=bridge interface=ether15
add bridge=bridge interface=ether16
add bridge=bridge interface=ether17
add bridge=bridge interface=ether18
add bridge=bridge interface=ether19
add bridge=bridge interface=ether20
add bridge=bridge interface=ether21
/interface bridge settings
set allow-fast-path=no
/interface bridge vlan
add bridge=bridge tagged=bridge,ether1,ether2 untagged=ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12 vlan-ids=100
add bridge=bridge tagged=bridge,ether1,ether2 untagged=ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21 vlan-ids=200
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1,ether2,switch1-cpu vlan-id=100
add tagged-ports=ether1,ether2,switch1-cpu vlan-id=200
/interface ethernet switch egress-vlan-translation
add customer-vid=200 customer-vlan-format=untagged-or-tagged new-customer-vid=0 ports=ether17 service-vlan-format=untagged-or-tagged
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=100 ports=ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12
add customer-vid=0 new-customer-vid=200 ports=ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21
/interface ethernet switch vlan
add ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,switch1-cpu vlan-id=100
add ports=ether1,ether2,ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21,switch1-cpu vlan-id=200
/ip address
add address=192.168.2.1/24 interface=vlan200 network=192.168.2.0
add address=192.168.1.1/24 interface=vlan100 network=192.168.1.0
No matter what, I cannot access device on port 17, which is a linux machine, sometimes it shows up in FDB with correct VLAN, in ARP list too, but I cannot ping it no matter I do.
I followed this wikis:
https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_series_switches_examples#Port_Based_VLAN
https://wiki.mikrotik.com/wiki/Manual:CRS_Router
https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_series_switches
But I really dont know, what else could be wrong.
Thank you for any help.