I followed https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_series_switches_examples , expecially inter-vlan routing
On my CRS125 ports 1-21-22 are trunks carrying tagged vlans to three switches , ports 23 and 24 are WANs, the remaining ports (2 to 20) are members of VLAN10 untagged.
As per wiki I started binding all ports but wans to bridge1, despite they are tagged or not
/interface bridge
add name=bridge1 igmp-snooping=no protocol-mode=none
/interface bridge port
add bridge=bridge1 interface=ether1 hw=yes
...
...
add bridge=bridge1 interface=ether22 hw=yes
I set vlan tagging on cpu port for inter-vlan routing:
/interface ethernet switch egress-vlan-tag
add tagged-ports=switch1-cpu vlan-id=10
add tagged-ports=switch1-cpu vlan-id=20
add tagged-ports=switch1-cpu vlan-id=30
I added ingress vlan translation for access ports (2 to 20):
/interface ethernet switch ingress-vlan-translation
add ports=ether2 customer-vid=0 new-customer-vid=10 sa-learning=yes
....
....
add ports=ether20 customer-vid=0 new-customer-vid=10 sa-learning=yes
Now comes the problem :
Wiki says:
For routing add VLAN interfaces on master-port because it connects with CPU port and add IP addresses to created VLAN interfaces.
/interface vlan
add name=vlan200 interface=ether2 vlan-id=200
add name=vlan300 interface=ether2 vlan-id=300
add name=vlan400 interface=ether2 vlan-id=400
But master-port is no more present from 6.41 on (ether2 in wiki example), should I use bridge created before ???
Next , as I need ports 1, 21 and 22 as vlan trunks to respective switches , where should I declare they are tagged vlan and relative membership ??
Thank you for any help.