Today I stumbled on an issue which I am not sure how to resolve and if it can be resolved at all.
Let’s say I have two CRS305 switches which are connected to sfp-plus2 to each other and are sending tagged frames with VLAN 200.
I also have two CPEs that are each connected to sfp-plus1 on each one of the switches.
Those two CPEs must communicate with each other over ANY vlan (e.g. each CPE has configured VLAN 120 and VLAN 150), which means the switches should be able to capture tagged frames on input (C-tag), transport them over VLAN 200 (S-tag), and drop the s-tag on output.
This is easily done with any RB router. you just create a VLAN interface on your WAN interface (in this case towards the other switch) and bridge that VLAN interface with the physical LAN interface (in this case towards the CPE).
That is the whole configuration on the Mikrotik switches.
The CPEs have a simple configuration of a subinterface with an encapsulation and an IP:
E.G.
CPE 1
int Gi0/1.150
encapsulation dot1Q 150
ip address 192.168.69.1/30
CPE 2
int Gi0/1.150
encapsulation dot1Q 150
ip address 192.168.69.2/30
Last week I tried with ether type 0x8100 and tag-stack as well.
After several tests with another device (RB760iGS) I found the issue on a middle device in the network which for some reason was unable to carry more than one tag.
After eliminating that issue, I switched to 0x8100 with tag-stacking and had ping between the CPEs.