Page MenuHomeVyOS Platform

Accel-ppp separate vlan-mon from listen interfaces
Closed, ResolvedPublicFEATURE REQUEST

Description

Options interface and vlan_mon should be separated.
There is a case where we need to set interface regex/range to listen to DHCP requests but not use vlan_mon for auto vlan creation.
For now, it is hardcoded https://github.com/vyos/vyos-1x/blob/ba0f8dbdb2766a67b6715291ac08ad0eb1cf62b7/data/templates/accel-ppp/ipoe.config.j2#L59-L61

Example of config:

set service ipoe-server authentication mode 'radius'
set service ipoe-server authentication radius server 192.168.122.14 key 'vyos-secret'
set service ipoe-server client-ip-pool ONE range '100.64.0.1-100.64.0.10'
set service ipoe-server default-pool 'ONE'
set service ipoe-server gateway-address '100.64.0.14/28'
set service ipoe-server interface eth1 vlan '5-20'
set service ipoe-server name-server '1.1.1.1'
set service ipoe-server name-server '8.8.8.8'

I have to comment vlan_mon to get desired behavior

interface=re:^eth1\.([5-9]|1\d|20)$,shared=1,mode=L2,ifcfg=1,start=dhcpv4,ipv6=1
# vlan-mon=eth1,5-20

I see it as adding a separate option vlan-mon to enable it instead of using it by default

set service ipoe-server interface eth1 vlan '5-20'
set service ipoe-server interface eth1 vlan-mon

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)