Page 1 of 2

QinQ in 1.3.x

Posted: Wed Sep 02, 2015 10:48 am
by mike99
Is it available or only the support was added without possibility to configure it ? I wanted to test it and don't see any option via CLI or WebUI to configure it.

Re: QinQ in 1.3.x

Posted: Wed Sep 02, 2015 11:34 am
by sirhc
Right now just the basics that should handle most people are there in the UI but it does function, we do not want to put in every bell and whistle and clog up the interface so we are looking for feedback for what people want or need to achieve their goal. There are SOOOOOO many knobs and dials and if we put them in then the interface turns into that of the EdgeMAX Switch and it then drives like a Mack Truck IMO.

On the VLAN Tab there is now an option for Q

So lets say you have a router setup with QinQ that is connected to port 1 of the switch

In the router you have VLAN20 inside VLAN10 (QinQ) and you want to pass VLAN20 out port 4

So you would define VLAN10 in the router with a T on port 1 and a Q on port 4

Now when a packet leaves port 4 since it has a Q the switch will strip off the outer VLAN tag 10 and just pass the packet with a single VLAN tag of 20

Re: QinQ in 1.3.x

Posted: Thu Sep 03, 2015 10:34 am
by mike99
Thanks, I didn't saw the Q option in the VLANs tab. I really like it, easy to configure. I will do some test.

Re: QinQ in 1.3.x

Posted: Fri Sep 04, 2015 5:15 pm
by mike99
QinQ seem to work between 2 ports of the same switch configured with Q on port to acces the queue. Now, how can I pass the queue between switchs ?

Re: QinQ in 1.3.x

Posted: Fri Sep 04, 2015 10:20 pm
by mike99
Ok, found it, we must tagged (T) between switch.

Here my config If it could help anyone to understand how to configure QinQ:

ERL eth0 192.168.1.1/24 eth0.1317 10.8.254.1/29
WS-24-400A port 15 S-TAG (Q) VLAN 100 / port 25 C-TAG (T) VLAN 100
WS-12-250A port 14 C-TAG (T) VLAN 100 / port 13 C-TAG (T) VLAN 100
WS-12-250A port 13 C-TAG (T) VLAN 100 / port 11 S-TAG (Q) VLAN 100
Linux PC eth1 192.168.1.19/24 eth1.1317 10.8.254.2/29

ERL is pluged to eth0 to WS-24-400A port 15
Linux PC is pluged to last WS-12-250A port 11

Both can ping each other via untag and tagged VLAN 1317 paquets, the VLAN 1317 not being configured on any switch.

Re: QinQ in 1.3.x

Posted: Fri Sep 04, 2015 11:15 pm
by Dave
thanks mike99 :thumbsup:

Re: QinQ in 1.3.x

Posted: Thu Aug 16, 2018 7:42 pm
by StrataNet
Heads up, if anyone is using MikroTik and having the same issues as me and simply could not get the above config to work (I set it up exactly as above in a lab), try using D on port 4 instead of Q. I'm not sure why this is, but I think MikroTik uses a different method of tagging inner VLANs.

Also Chris I think there's a small typo - "So you would define VLAN10 in the router with a T on port 1 and a Q on port 4". I think this should say switch, and not router?

Anyway, I've got my head around this now. Cheers!

Re: QinQ in 1.3.x

Posted: Thu Aug 16, 2018 8:31 pm
by StrataNet
Also just to add, I presume that using Q or D in essence means that all inner VLANs are trunked to that port? It seems to work that way anyway.

Re: QinQ in 1.3.x

Posted: Mon Aug 20, 2018 8:21 am
by mike99
Yes, all inner VLAN are encapsuled in a QinQ or double VLAN. Their currently no way to configure anything about inner vlan.

Re: QinQ in 1.3.x

Posted: Mon Aug 20, 2018 5:16 pm
by StrataNet
Cheers for the clarification Mike!