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.
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
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.
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 ?
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