PPPoE Termination of QinQ

Example scenario:

1000 DSL customers aggregated and delivered to MT by using QinQ over a single ethernet connection.
Every customer has a unique ‘inner’ QinQ tag, delivered inside a service provider VLAN10 (this is the outer tag).

Eg
customer 1 = Outer Tag VLAN10, inner tag VLAN1
customer 2 = Outer Tag VLAN10, inner tag VLAN2
customer 3 = Outer Tag VLAN10, inner tag VLAN3
..and so on

The only options for QinQ PPPoE termination on MT I can think of are both very horrible:

Option 1:
Create the ‘outer’ vlan ID 10, and underneath that, a ‘child’ (inner) vlan for each of the 1000 DSL customers.
Put each of the 1000 ‘child’ vlan into a bridge
Run the PPPoE server on the bridge
YUK! - all vlans are bridged together and needs elaborate bridge filters (or bridge horizon tweaks) to keep things ‘safe’. And is it even possible to add 1000 ports to a bridge ?

Option 2:
Create the ‘outer’ vlan ID 10, and underneath that, a ‘child’ (inner) vlan for each of the 1000 DSL customers.
Create a PPPoE server instance on each of the 1000 child vlans
YUK! - how many PPPoE servers can we actually run?

There must be an easier way ??!!

On a cisco you simply create a subinterface with outer vlan 10 and inner vlan ‘ANY’. Voila - you have PPPoE termination to all possible 4096 ‘inner’ vlans.

ideas, anyone ?

Mikrotik, it would be great to see this sort of functionality, we do it on JunOS all the time.

You will have a lot more requests for this functionality from New Zealand based ISP’s as the major Telco here has indtroduced the ability to terminate layer2 from DSL CPE back to an ISP’s POP using 802.1ad

Juniper JunOS example:

http://www.juniper.net/techpubs/software/erx/junose93/swconfig-link/configuring-an-s-vlan-subinterface.html


Cisco IOS example:

http://www.cisco.com/en/US/docs/ios/lanswitch/configuration/guide/lsw_ieee_802.1q.html

You could try creating all the QinQ VLAN’s in advance, and bridge them all together with a single PPPoE server running on the bridge.

Honestly though, I don’t know if RouterOS would cope with having 4000-odd VLAN’s configured on it.

FYI I am going to follow this up directly with Mikrotik sales and support. Also requesting they add the ability to mangle based on BGP attributes such as community or peer.

I’ll update if/when there is progress.

Hey NZMonkey.

Did you make any headway on this? We are - an NZ ISP facing this issue! haha.

Cheers

Sorry for lack of update.

It is easy enough to script this so I just ended up doing it that way…


I am sure it would be more efficient if implemented by Mikrotik, but unless multiple people are willing to request the feature I cannot see it being implemented.

If you or anyone else is willing to help, we can work together on a formal feature request that can be sent through to Mikrotik. It would just require some proof reading/ideas.


Sam, Gerald did you end up scripting it, or just use a Cisco box ?

Hi nz_monkey,

Are you able to share the script? Sorry to bring up an old topic, facing the issue of being delivered a Q-in-Q tunnel where internal vlan’s are dynamically created per customer connection. Want to run a PPPoE server over top of it all so we don’t have to manage the VLANs

Thanks.

Helo, any new setup for this scenario?

By

again sorry for old post. Was there an update on allowing qnq to pppoe dynamicly.