Server don't send PADO

PPPoE related questions
Post Reply
broonu
Posts: 15
Joined: 28 May 2015, 17:26

Server don't send PADO

Post by broonu »

Hi all,

I'm having a weird problem with an accel-ppp NAS.
The NAS receives customer PADI, but don't responds with PADO.
In the stats I see far fewer of PADO than PADI.
My sessions are stale at 500.
Stat:

Code: Select all

root@accelppp08:~# accel-cmd show stat
uptime: 73.17:51:28
cpu: 0%
mem(rss/virt): 24096/656824 kB
core:
  mempool_allocated: 5133208
  mempool_available: 256792
  thread_count: 1
  thread_active: 1
  context_count: 514
  context_sleeping: 0
  context_pending: 0
  md_handler_count: 1016
  md_handler_pending: 0
  timer_count: 1001
  timer_pending: 0
sessions:
  starting: 0
  active: 500
  finishing: 0
pppoe:
  starting: 0
  active: 500
  delayed PADO: 0
  recv PADI: 494686
  drop PADI: 8607
  sent PADO: 450012
  recv PADR(dup): 450833(93)
  sent PADS: 449374
  filtered: 0
radius(1, 10.29.0.24):
  state: active
  fail count: 0
  request count: 0
  queue length: 0
  auth sent: 399825
  auth lost(total/5m/1m): 14047/0/0
  auth avg query time(5m/1m): 0/0 ms
  acct sent: 36038
  acct lost(total/5m/1m): 212/0/0
  acct avg query time(5m/1m): 0/0 ms
  interim sent: 469862
  interim lost(total/5m/1m): 44318/0/0
  interim avg query time(5m/1m): 35/30 ms
My conf:

Code: Select all

[modules]
log_file
pppoe
shaper
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
radius
ippool
ipv6pool
ipv6_nd
ipv6_dhcp
sigchld
pppd_compat
net-snmp
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=1
[ppp]
verbose=1
min-mtu=1280
mtu=1500
mru=1492
ccp=1
mppe=deny
check-ip=1
single-session=replace
ipv4=require
ipv6=allow
ipv6-intf-id=random
ipv6-peer-intf-id=0:0:0:1
ipv6-accept-peer-intf-id=0
lcp-echo-interval=20
lcp-echo-failure=3
unit-cache=100
[dns]
dns1=8.8.8.8
dns2=8.8.4.4
[ipv6-dns]
(xxxxxxxxxxx)
(xxxxxxxxxxx)
dnssl=mydomain.com.br
[client-ip-range]
disable
[pppoe]
interface=eth3,padi-limit=100
interface=eth4,padi-limit=100
interface=eth5,padi-limit=100
interface=eth6,padi-limit=100
interface=eth7,padi-limit=100
interface=eth8,padi-limit=100
interface=eth9,padi-limit=100
ac-name=accelppp08
pado-delay=0,100:100,200:200,-1:500
ifname-in-sid=called-sid
verbose=1
padi-limit=100
[shaper]
attr=Filter-Id
up-limiter=police
down-limiter=tbf
verbose=1
[cli]
tcp=127.0.0.1:2001
telnet=127.0.0.1:2000
prompt=accel-ppp-console
history-file=/var/lib/accel-ppp/history
[common]
single-session=replace
[radius]
nas-identifier=accelppp08
nas-ip-address=10.29.0.218
gw-ip-address=192.168.218.1
server=10.29.0.24,mypass,auth-port=1812,acct-port=1813,req-limit=0,fail-time=0
dae-server=10.29.0.218:3799,mypass
acct-interim-interval=3600
interim-verbose=1
acct-timeout=120
acct-delay-time=0
acct-on=1
verbose=1
dictionary=/usr/local/share/accel-ppp/radius/dictionary
timeout=5
max-try=1
[ip-pool]
gw-ip-address=192.168.218.1
attr=Framed-Pool
172.16.0.0-172.30.255.255,bloqueado
[ipv6-nd]
AdvManagedFlag=nо
[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
log-debug=//var/log/accel-ppp/debug.log
copy=1
level=9
[pppd-compat]
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
verbose=1
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=30/min
burst=3
timeout=60
[chap-secrets]
gw-ip-address=192.168.218.1
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Server don't send PADO

Post by Dmitry »

show log file
broonu
Posts: 15
Joined: 28 May 2015, 17:26

Re: Server don't send PADO

Post by broonu »

Dmitry wrote:show log file
Dmitry, thank you for reply.
It looks like it was the "pado-delay" thing:

Code: Select all

pado-delay=0,100:100,200:200,-1:500
what should I use for 2000 sessions?
can i comment this option?
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Server don't send PADO

Post by Dmitry »

yes you can
pado-delay is used for load balancing between multiple servers
broonu
Posts: 15
Joined: 28 May 2015, 17:26

Re: Server don't send PADO

Post by broonu »

Thank you for explanation!
Post Reply