VLAN Stacking

  • 1
  • Question
  • Updated 1 year ago
I know that as of 3.2.1 Cumulus Linux does not support QinQ directly, but, I was wondering if the this could be accomplished: 
Photo of Troy MacDonald

Troy MacDonald

  • 720 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Jason Guy

Jason Guy, Employee

  • 1,712 Points 1k badge 2x thumb
Troy, the diagram is way too small to make out. Can you describe what you are trying to do, or make a bigger image, or use pdf?
Photo of Erik Auerswald

Erik Auerswald

  • 270 Points 250 badge 2x thumb
You can click on the picture to open it in a new tab showing the original size.
Photo of Troy MacDonald

Troy MacDonald

  • 720 Points 500 badge 2x thumb
two servers, connected to a switch running 3.2.1.  Each each server ethernet connection is eth0.10, so 802.1q vlan 10.    The switch side ports for the servers each access vlan 200.  Would this scenario work and allow the servers to talk.  I know, in a practical sense there is no real need to play out this scenario literally, but if that would work, it can be applied to other applications...
                                                                   
(Edited)
Photo of Jason Guy

Jason Guy, Employee

  • 1,712 Points 1k badge 2x thumb
If you set the switch ports to be bridge-access, they will only allow untagged frames. It sounds like you are trying to do VLAN translation. In this case, you can checkout the docs, but this will require traditional bridging...
Photo of Erik Auerswald

Erik Auerswald

  • 270 Points 250 badge 2x thumb
Hi Troy,

you have drawn a simple Q-in-Q setup with customer VLAN tag 10 and service VLAN tag 200. Inside one Cumulus switch something equivalent might be possible using the so called traditional Linux bridges.
You use traditional mode bridges only if you need to run more than one bridge on the switch [...]
That might allow you to separate customer VLANs using the same tag inside one Cumulus Linux switch. VLAN translation might enable you to trunk those virtual bridges to another physical switch using distinct VLAN tags. Of course this does not scale, since it is still using just one VLAN tag.

Please be aware that I do not have physical Cumulus Linux switches and thus cannot test if this really works. It might even depend on the hardware switch model. But I would like to read your experiences.

Thanks,
Erik