ipoe shared=1 on accel-ppp reload

Bug reports
Post Reply
manyax
Posts: 20
Joined: 24 Jun 2016, 15:41

ipoe shared=1 on accel-ppp reload

Post by manyax » 16 May 2017, 07:08

Code: Select all

accel-ppp reload 
terminates the ipoe interfaces. Reload doesn't affect the ipoe shared=0 subscribers or pppoe.

accel-ppp version 928aefd7779593961beca41376dd829c26d58de5
Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

https://pastebin.com/CiRh8rRy

manyax
Posts: 20
Joined: 24 Jun 2016, 15:41

Re: ipoe shared=1 on accel-ppp reload

Post by manyax » 16 May 2017, 08:42

Looks like is because of my configuration. Shouldn't this suppose to work ?

Code: Select all

[ipoe]
verbose=100
lua-file=/etc/accel-ppp.lua
#lease-time=600
max-lease-time=86400
username=ifname
unit-cache=1
attr-l4-redirect=L4-Redirect
attr-dhcp-client-ip=Framed-IP-Address
attr-dhcp-router-ip=DHCP-Router-IP-Address
attr-dhcp-mask=DHCP-Mask
attr-dhcp-lease-time=DHCP-Lease-Time
l4-redirect-table=100
ip-unnumbered=1
proxy-arp=1
shared=0
ifcfg=1
ipv6=1
mode=L2
proto=100
start=dhcpv4
vlan-mon=re:eth1\.[0-9][0-9][0-9],10-150
vlan-mon=re:eth1\.[1-4][0-9][0-9][0-9],10-150
vlan-timeout=600
interface=re:eth1\.[0-9][0-9][0-9]\.[1-4][0-9]
interface=re:eth1\.[1-4][0-9][0-9][0-9]\.[1-4][0-9]
interface=re:eth1\.[0-9][0-9][0-9]\.1[1-4][0-9],mode=L2,start=dhcpv4,shared=1,ifcfg=1,ipv6=0
interface=re:eth1\.[1-4][0-9][0-9][0-9]\.1[1-4][0-9],mode=L2,start=dhcpv4,shared=1,ifcfg=1,ipv6=0
If I use instead of the interface regex

Code: Select all

interface=eth1.800.11
interface=eth1.800.111,mode=L2,start=dhcpv4,shared=1,ifcfg=0,ipv6=0
all works fine.
Am I doing it wrong .. or it is suppose to work this way?

Dmitry
Администратор
Posts: 775
Joined: 09 Oct 2014, 10:06

Re: ipoe shared=1 on accel-ppp reload

Post by Dmitry » 29 May 2017, 09:07

it is some bug
it shoudn't terminate ipoe sessions on reload

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest