Hi I’m looking into using the switch chip on a pair of RB750G’s to vlan segment my network at L2 - Or in other words I dont need the router to do inter-vlan routing.
I can create the vlans under the switch just fine:
[admin@MikroTik] /interface ethernet switch vlan> print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 switch1 12 ether5-local-slave
ether4-local-slave
1 switch1 10 ether5-local-slave
ether4-local-slave
ether3-local-slave
[admin@MikroTik] /interface ethernet switch vlan> export
# jan/02/1970 03:11:00 by RouterOS 4.11
# software id = PMKU-BM7M
#
/interface ethernet switch vlan
add disabled=no ports=ether5-local-slave,ether4-local-slave switch=switch1 vlan-id=12
add disabled=no ports=ether5-local-slave,ether4-local-slave,ether3-local-slave switch=switch1 vlan-id=10
This works - packets tagged with vlan 10 arriving on eth4 can reach a node on vlan 10 connected to eth5.
What I’d like to add is port eth3 which should tag all incomming frames with vlan10 and remove any vlan header on outgoing frames - I believe this should be possible using the switch Rules but I cant for the life of me get it to work.
Can anybody help me in the right direction ?