Community discussions

MikroTik App
 
andrejjj
just joined
Topic Author
Posts: 3
Joined: Mon Mar 12, 2012 11:20 am

RouterOS dot1q tunnel

Mon Mar 12, 2012 11:26 am

Hello,

Is it possible to set up the switching chip in a routerboard RB750 (or GS) to do dot1q tunneling ? Dot1q tunneling means blindly prepending a chosen vlan tag into any ingress packet and striping it from egress ones thus tunneling the original vlan tags that came from the client side of the tunnel.

The switch rules allow to add new tags only if there is none present and bridging allows this only by explicitly naming all tunneled vlans as qinq, none of which can provide the transparency of simple dot1q tunnel.

Regards,
Andrej
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: RouterOS dot1q tunnel

Mon Mar 12, 2012 1:05 pm

Is this what you are looking for?

http://wiki.mikrotik.com/wiki/SwOS#VLAN_Tab
 
andrejjj
just joined
Topic Author
Posts: 3
Joined: Mon Mar 12, 2012 11:20 am

Re: RouterOS dot1q tunnel

Mon Mar 12, 2012 1:18 pm

I read that one. One thing is it is for SwOS and not RouterOS. I have some 250GS`s i could use too but i still cant get them to do what i want.

This is a good article describing what i need to do: http://astorinonetworks.com/2011/12/13/ ... un-profit/
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: RouterOS dot1q tunnel

Mon Mar 12, 2012 1:56 pm

I wasn't paying attention. I thought you were talking about a 250.

This link should be more revalant.

http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features

And unless I am misunderstanding I don't think it will work with the 750
Vlan-header option (configured in /interface ethernet switch port) sets the VLAN tag mode on egress port. This option works only with Atheros 8316 switch chip
Atheros8316 is present on RB493G(ether1+ether6-ether9, ether2-ether5), RB1200(ether1-ether5), RB450G(all ports with ether1 optional[more]), RB435G(all ports with ether1 optional[more]), RB750G and RB1100(ether1-ether5, ether6-ether10).
 
andrejjj
just joined
Topic Author
Posts: 3
Joined: Mon Mar 12, 2012 11:20 am

Re: RouterOS dot1q tunnel

Mon Mar 19, 2012 10:28 am

I think that even if i could use the vlan-header option then it probably would not be sufficient. Leave-as-is is for standard trunk-to-trunk ports. Always strip is for access ports and add if missing is for trunk ports with management. I do not know of a way in which these could be combined in order to tunnel dot1q packets.

What you need to do is basically prepend a vlan vlan to any ingress packet on a port regardless of weather it already has a tag or not (resulting in a packet with two tags if it already had one). You also need to strip the outermost vlan tag on egress regardless of weather it is the last one or there are more left.

Who is online

Users browsing this forum: Bing [Bot], maldridge and 85 guests