Hi,
I think I’m doing something wrong … (vyos 1.3.2)
from the online manual :
Automatic VLAN Creation
set service pppoe-server interface <interface> <vlan-id | vlan range> <text>
VLAN’s can be created by Accel-ppp on the fly via the use of a Kernel module named vlan_mon, which is monitoring incoming vlans and creates the necessary VLAN if required and allowed. VyOS supports the use of either VLAN ID’s or entire ranges, both values can be defined at the same time for an interface.
When configured, PPPoE will create the necessary VLANs when required. Once the user session has been cancelled and the VLAN is not needed anymore, VyOS will remove it again.
set service pppoe-server interface eth3 vlan-id 100
set service pppoe-server interface eth3 vlan-id 200
set service pppoe-server interface eth3 vlan-range 500-1000
set service pppoe-server interface eth3 vlan-range 2000-3000
I expect that setting “eth5 vlan-range” PPPoE would “create the necessary VLANs when required”
Now, I have a pppoe-server on eth5 which uses QinQ 802.1q
so I set …
set interfaces ethernet eth5 vif-s 203 mtu '9192'
set interfaces ethernet eth5 vif-s 203 protocol '802.1q'
set service pppoe-server interface eth5.203 vlan-range '3900-4000'
but no way … so I set
set interfaces ethernet eth5 vif-s 203 vif-c 3900
set interfaces ethernet eth5 vif-s 203 vif-c 3901
set interfaces ethernet eth5 vif-s 203 vif-c 3902
set interfaces ethernet eth5 vif-s 203 vif-c 3903
set interfaces ethernet eth5 vif-s 203 vif-c 3904
set interfaces ethernet eth5 vif-s 203 vif-c 3905
set interfaces ethernet eth5 vif-s 203 vif-c 3906
set interfaces ethernet eth5 vif-s 203 vif-c 3907
set interfaces ethernet eth5 vif-s 203 vif-c 3908
set interfaces ethernet eth5 vif-s 203 vif-c 3909
set interfaces ethernet eth5 vif-s 203 vif-c 3910
... etc ... etc ...
set interfaces ethernet eth5 vif-s 203 vif-c 3991
set interfaces ethernet eth5 vif-s 203 vif-c 3992
set interfaces ethernet eth5 vif-s 203 vif-c 3993
set interfaces ethernet eth5 vif-s 203 vif-c 3994
set interfaces ethernet eth5 vif-s 203 vif-c 3995
set interfaces ethernet eth5 vif-s 203 vif-c 3996
set interfaces ethernet eth5 vif-s 203 vif-c 3997
set interfaces ethernet eth5 vif-s 203 vif-c 3998
set interfaces ethernet eth5 vif-s 203 vif-c 3999
set interfaces ethernet eth5 vif-s 203 vif-c 4000
and users became to arrive … is it correct ? Did I missunderstand the meaning of “Automatic VLAN Creation” ?
And … Do I really have to set 1000 lines for 1000 vlans ? no vlan-range (or anything else) for vif-c ?