Pppoe-server vlan-range ... but vif-s vif-c still needed

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 ?

You don’t need to create vif-s

set interfaces ethernet eth5 vif 203
set service pppoe-server interface eth5.203 vlan-range '3900-4000'

@Viacheslav

but … what about QinQ 802.1q ?

YES … just tried and it seems to work fine … really thanks
But … if it were 802.1ad … does the AUTO VLAN stuff works on both modes?

Still a problem … having

set interfaces ethernet eth0 vif 1000 mtu ‘1600’
set service pppoe-server interface eth0.1000 vlan-range ‘1-4000’
set service pppoe-server mtu ‘1500’

eth0.1000.10 and eth0.1000.11 are automatically created but

eth0.1000@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1600 qdisc noqueue state UP 

[email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 

28: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state 

So MTU on the child interface seems to be set always to 1500, and ppp to 1492 even if the parent interface has 1600 and the mtu for pppoe-server is set to 1500
I expected auto-vlan set to 1592 (1600-8) and ppp to 1500 as requested …

What ma I doing wrong?