Community discussions

MikroTik App
 
fmenard123
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Sat Aug 02, 2008 6:43 am

PPPoE Server over QinQ interface

Sun Dec 04, 2011 6:11 am

I have a carrier Ethernet network.
The ether type of my outer VLANs is 0x88A8 as per IEEE compliant Provider Bridges.

My goal is for the PPPoE server to be getting requests coming from dynamically created Client VLANs over a common Service Provider VLAN (0x88A8 Ethertype).

Then the goal is to dynamically route IPv4 and IPv6 chunks coming from my core router based on a well known tuple of SP VLAN/Client VLAN.

For instance, the service provided to a customer may contain

Inside SP VLAN 200, Client VLAN 20 contains IPv4 feed over PPPOE interface, client VLAN 21 is SIP TRUNK.

So for a customer with SP VLAN 200, I know to bridge through client VLAN 21, but create dynamically a PPPoE interface.

Is this remotely possible on Router OS ?

F.
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: PPPoE Server over QinQ interface

Sun Dec 04, 2011 10:45 am

It should be possible, the only thing that strikes me is to beware of and issues with MTU since you get another 4 bits in the ip headers due to the QinQ (or "use service tag" like Mikrotik call it). If you have a clean Mikrotik network for the QinQ links, all Routerboard units should support sufficient L2MTU to handle it without any changes.

For more details on mtu (also example with QinQ)
http://wiki.mikrotik.com/wiki/Manual:Ma ... uterBoards

For more details on VLAN and Service Tags (QinQ)
http://wiki.mikrotik.com/wiki/Manual:Interface/VLAN
 
fmenard123
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Sat Aug 02, 2008 6:43 am

Re: PPPoE Server over QinQ interface

Sun Dec 04, 2011 4:08 pm

I see no setting for supporting 0x88a8 ethertype.

F.
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: PPPoE Server over QinQ interface

Sun Dec 04, 2011 4:41 pm

 
fmenard123
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Sat Aug 02, 2008 6:43 am

Re: PPPoE Server over QinQ interface

Fri Dec 09, 2011 2:44 am

By selecting 'User service Tag', the VLAN ID becomes an SVLAN ID.
I just tested it with an MRV OS912 switch with the following command on the MRV side:

vman core-ethertype-1 0x88a8
port tagged-outbound-mode tagged 1
interface vlan vif200
tag 200
description svlan 200
ip 192.168.200.1/24

On the RouterOS side:

/interface vlan add interface=ether1 name=Svlan200 use-service-tag=yes vlan-id=200
/ip add address=192.168.200.2/24 interface=Svlan200

And MRV port 1 to RouterOS ether1 pings 192.168.200.1 to 192.168.200.2

Voila!

F.
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: PPPoE Server over QinQ interface

Fri Dec 09, 2011 8:13 pm

Nice, document it on the wiki page for further reference.

Who is online

Users browsing this forum: No registered users and 10 guests