Page 1 of 2

QinQ headache

Posted: Mon Oct 08, 2018 9:26 pm
by rebelwireless
I'm trying to setup router on a stick with a ws-12-150-ac on 1.5 and need QinQ. Thought this would be simple.

What I'm doing that isn't working

port 1 is trunk, management vlan is 1.

vlan15 needs to come out port 12 untagged but allow QinQ inner tags.

I added vlan15
set port 1 to vlan1=U, vlan15=T
set port 12 to vlan15=Q

this doesn't work. It doesn't even let the outer tag through.

If I set port 1 to vlan1=U,valn15=T and port 12 to vlan15=U, this works fine but no QinQ.


What am I doing wrong here?

Re: QinQ headache

Posted: Mon Oct 08, 2018 9:55 pm
by rebelwireless
I need to clarify a bit.

I want untagged traffic coming in port 12 to be tagged going out port 1 as vlan 15 which works with port1 vlan15=T and port12 vlan15=U. But I also want any tags that come in port 12 to be encapsulated QinQ so they come out port 1 as an outer vlan15 and inner vlan 77 for example.

Re: QinQ headache

Posted: Tue Oct 09, 2018 8:21 pm
by mike99
Netonix currently only support any to 1on UNI port. That mean that all vlan are encasulated in a single outer tag without control on inner tag so private line only.

Re: QinQ headache

Posted: Sun Oct 14, 2018 3:25 pm
by rebelwireless
@mike99, unclear what you're saying.


I just want to do router-on-a-stick with the netonix having the access ports as U and a trunk port with that vlan as T

then, if I want to pass a different VLAN across that it would just be transparent.

ie,

switch port 5 is U on vlan 5, MTU ~1530
switch port 1 is T on vlan 5, MTU ~1530
router port 1 to switch port 1
so, router on a stick is that router-p1v5 is switch-p5

then, on the router I add v20 under v5:
router port1v5v20 passes through and pops out switch port5 as a tagged v20 and the switch simply doesn't care.


I don't want to have to configure switch port 5 U vlan 5 AND port 5 T vlan 20 plus port 1 T vlan 20.

clear as mud?

Re: QinQ headache

Posted: Sun Oct 14, 2018 6:46 pm
by rebelwireless
Ok, I'm not sure *why* this works and I'd love to.



ok, so if I put a 'D' in the port I want to have a native vlan on AND encapsulate other vlans it works.

trunk is U on vlan1, T on the port-vlan.
port is set to D

If I do this, I can stack vlans on this interface at least 4 deep.

Why is 'D' aka 'dual' the solution here? Why isn't Q the appropriate option? I'm litterally doing QinQ on the mikrotiks.

Re: QinQ headache

Posted: Sun Oct 14, 2018 8:53 pm
by mike99
D is same (or suppose to be the same) as QinQ but with a TPID 9100 instead of 88A8.

It's simply not suppose to work. Netonix only officialy support all innver vlan encapsuled to a single outer vlan, any to 1 EVC if using MEF language.

Re: QinQ headache

Posted: Mon Oct 15, 2018 11:29 am
by rebelwireless
"It's simply not suppose to work. Netonix only officialy support all innver vlan encapsuled to a single outer vlan, any to 1 EVC if using MEF language."

so where does that put me. For router on a stick and I supposed to use 'D' on the access ports and set the Trunk port to 'U'+'T' on the access vlans? Is this going to break in a firmware update?

Re: QinQ headache

Posted: Tue Oct 16, 2018 8:18 am
by mike99
From what I know, Q or D are for layer 2 VPN option between 2 sites. I never saw an officiial explaination from Eric about this feature.

The possibility to use both T and Q or D on same port break the 1:any logic so we can probably do more complex config but this feature probably have few testing. I think T have precedence over Q or D and those VID will be exclude from dual encapsulation. If so, why untag frame ? Why not use only tagged vlan for your router on a stick ?

Re: QinQ headache

Posted: Tue Oct 16, 2018 10:14 am
by rebelwireless
Because I don’t want to be configuring vlans on radio interfaces.

Re: QinQ headache

Posted: Wed Oct 17, 2018 10:16 pm
by mike99
Some router support encapsulation type Q-in-Q. If the router already encapsulate the vlan, no need to configure the inner VLAN. You could just T 5 on port 1 and Q 5 on port 5.

Router:
subinterface 1: outer vid 5 inner untag
subinterface 2: outer vid 5 inner vid 20
Netonix
port facing router: T5
port facing radio: Q5