Page MenuHomeVyOS Platform

Add vlan_mon usage at Accel
Closed, ResolvedPublicFEATURE REQUEST

Description

Hello,

Could you add the vlan option into Accel?

With this option we dont need to configure VLANs manually into Vyos, Accel by itself will create the desired VLANS if they reach the server.

The [pppoe] section working at /etc/accel-ppp/pppoe/pppoe.config is:

[pppoe]
verbose=3
vlan-mon=eth0,300-400
vlan-timeout=60
vlan-name=%I.%N
interface=eth0
interface=re:eth0\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9])

Where:
vlan-mon=interface,vlan ID range

vlan-timeout=XX in seconds

vlan-name:
%I = name of patern interface
%N = VLAN number

interface=re:eth0\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]) This is to make Accel work on the configured VLANS.

I think this could be added in the

set service pppoe-server interface vlan enable
set service pppoe-server interface vlan ID or VLAN-RANGE

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESThagbard
ResolvedFEATURE REQUESThagbard

Event Timeline

@dienac Are you sure you mean pppoe and not IPoE?

hagbard changed the task status from Open to In progress.Jul 4 2019, 5:56 PM
hagbard triaged this task as Normal priority.
hagbard changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).

@hagbard Yes, it can be used with IPoE and PPPoE

@dienac Yup, thx. Already found that out. I'm already started with the implementation.

@hagbard Ok, if you need any help just hit me :)

hagbard changed the task status from In progress to Needs testing.Jul 8 2019, 5:06 PM

https://github.com/vyos/vyos-1x/commit/209163351c8bbd25050a6541070aa94aaff3ce08
Should be available in the next rolling build (July 9th).

@dienac Can you please test the implementation, should work in the next rolling image without any issues. Let me know if you encounter any.

Hello, I has one question. If we config vlan_mon=eth1, 100-200, it will auto create interfaces. How to config per-interface? or no need to config?

For example: router Internet WAN PPPoE dia-up with vlan 100, VoIP WAN PPPoE dia-up with VLAN 200. We need config per-interface on accel-ppp.conf?