I am new to SwOS after having acquired the RB250GS and I have a very simple setup I would like to accomplish:
Port 1 connected to a fiber modem that requires packets to be tagged in VLAN 6
Port 2 connected to a router that does not support VLAN tagging
All I want to do is take the PPPoE packets that come from Port 2 and add the VLAN tag header with VLAN ID = 6, then send them to Port 1.
Conversely, I need to take all incoming packets from Port 1, which are tagged with VLAN ID 6, and remove the header and send them over to Port 2.
So effectively I want to use the RB250GS as a VLAN tag adder/remover to connect two devices: the fiber modem, which requires all traffic to be in VLAN 6, and the router, which doesn’t know anything about VLAN tagging and needs to deal with ethernet packets with no VLAN tags.
Any advice will be much appreciated, thanks in advance.
Go to the VLAN tab, set port 1 as ‘enabled’ for the VLAN mode, set the VLAN id to 6, on egress set the VLAN header to ‘add if missing’. Connect the modem to this port. Set port 2 as ‘enabled’ for the VLAN mode, set the VLAN id to 6, on egress set the VLAN header to ‘always strip’. Connect the router to this port.
Reporting back after receiving the switch and trying it out. The config outlined by fewi was correct except that it was missing a bit: the VLAN tab config was spot on, but I had to configure the VLANs tab (the one next to it) to actually Append a VLAN with ID 6 to get it working.
It now works perfectly and I am extremely happy with my Mikrotik switch. I know who I’m gonna be purchasing my next router from.