Page 1 of 1

PPPoE with 802.1ad Q-in-Q single interface?

Posted: 09 Mar 2019, 00:28
by lbw
Hi

I have done my best to look through the source, documentation (of what there is) and some of the forum posts which are predominately in Russian.

I have Accel-PPP deployed as a PPPoE BNG with QinQ (802.1ad) traffic coming from the last mile with S/C-tag VLANs. I'm using the latest version from git with commit identifier 389a77c295562ce6c349a8977c0658064ef4f9e5.

I have been able to configure Accel-ppp to work if I specify (and bring up) a S-VLAN on the BNG on the OS with the following configuration:

[pppoe]
vlan-mon=re:eth2.13[0-9],1000-2000
vlan-timeout=60
vlan-name=%I.%N
interface=re:eth2.13[0-9]\.

This requires me to create Linux virtual interfaces for each of the eth2.STAG. However, it would be more convenient to have Accel-ppp process all double tagged traffic that comes off the interface. There seems to be the functionality from what I can see in the code, however, it doesn't seem to work with this configuration:

vlan-mon=eth2,130-140
vlan-name=%I.%P.%N
interface=eth2

I've tried many permutations of configuration of the above. Am I doing something wrong in the configuration or is the present state of accel-ppp not capable of processing the double-tagged traffic?

Thanks

Re: PPPoE with 802.1ad Q-in-Q single interface?

Posted: 09 Mar 2019, 16:38
by dimka88
Hi, creating interface with S-TAG not implemented. S-TAG interface creating manual. I think this is not good way creating S-TAG vlan interface with vlan_mon. As alternate way, may be develop list or regex creating vlan after accel-ppp starting