Page 1 of 1

PPPoE and IPoE on one vlan interface.

Posted: 08 Dec 2020, 14:35
by slima
Hello, I like to setup accel, to serve PPPoE and IPoE authorization with radius, and mix clients on the same interface.

My setup is like:

[pppoe]
verbose=1
ac-name=test
called-sid=mac
vlan-mon=eth1,2-4094
interface=eth1
interface=re:eth1\.[\d]+

[ipoe]
verbose=1
lease-time=600
max-lease-time=3600
shared=1
ifcfg=1
mode=L2
start=dhcpv4
ip-unnumbered=1
proxy-arp=1
vlan-mon=eth1,2-4094
vlan-timeout=60
vlan-name=%I.%N
idle-timeout=3600
check-mac-change=1
calling-sid=mac
interface=eth1
interface=re:eth1\.[\d]+
gw-ip-address=194.63.134.28


And for eth1 without vlan is working PPPoE and IPoE, but for vlans not. (Working only IPoE)

Is this setup possible?

Re: PPPoE and IPoE on one vlan interface.

Posted: 09 Dec 2020, 07:10
by dimka88
Hello @slima, does not possible to use vlan-mon for IPoE and PPPoE at the same time. Try to create vlans manually

Re: PPPoE and IPoE on one vlan interface.

Posted: 09 Dec 2020, 17:13
by slima
Thanks for fast replay.

When VLAN was created manually, it works. But I see for IPoE to add new interface 'reload' is not enough.

And I seen another option, when vlan-mon create vlan for IPoE, I can enable it for pppoe by 'accel-cmd pppoe interface add ...'

Re: PPPoE and IPoE on one vlan interface.

Posted: 09 Dec 2020, 21:53
by dimka88
I'm sure that `reload` should be enough to serve new interfaces for IPoE. For PPPoE need section reload does not make sense