PPPoE and IPoE on one vlan interface.

Questions related to general functionality
Post Reply
slima
Posts: 6
Joined: 16 Nov 2020, 11:42

PPPoE and IPoE on one vlan interface.

Post 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?
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: PPPoE and IPoE on one vlan interface.

Post by dimka88 »

Hello @slima, does not possible to use vlan-mon for IPoE and PPPoE at the same time. Try to create vlans manually
slima
Posts: 6
Joined: 16 Nov 2020, 11:42

Re: PPPoE and IPoE on one vlan interface.

Post 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 ...'
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: PPPoE and IPoE on one vlan interface.

Post 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
Post Reply