Hello guys, what kernel settings do you recommend for me to attend 5k pppoe sessions? I ask this because I have noticed some "kernel panics" when I have bursts in the network, there servers crash, in addition to accel-ppp 1.11.0 use quagga and iptables for NAT, only this, my servers are good capacity Dell R530, 16gb ram and dual six-core processors, and intel x520 dual port 10g network cards. Use or Debian Jessie / Ubuntu 16.04.2 LTS.
Any recommendations for this scenario?
Accel-PPP for 5k Sessions
Re: Accel-PPP for 5k Sessions
The server is using nat 100% or you can do nat in a separated server?
Re: Accel-PPP for 5k Sessions
The problem, I believe, that it is not with NAT, in servers without NAT also happened.
Re: Accel-PPP for 5k Sessions
Hi, show panic log
Re: Accel-PPP for 5k Sessions
Can you try a stateless firewall (without using conntrack) and also the following iptables rules:
*mangle
-A FORWARD -o ppp+ -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1453:65535 -j TCPMSS --set-mss 1452
-A FORWARD -i ppp+ -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1373:65535 -j TCPMSS --set-mss 1372
Re: Accel-PPP for 5k Sessions
Hi Guys, I am a newbie to PPPoE and currently trying to setup 4k-5k sessions with accel-ppp as a server. I want to know how to generate/initiate such count of sessions Is there any simulator that I can make use of
Re: Accel-PPP for 5k Sessions
delete limit in billing and bras for sessions per user
generate.sh
#!/bin/bash
for (( count=1; count<5000; count++ ))
do
pon reinfokom
done
aptitude install ppp pppoe
/etc/ppp/peers/reinfokom
# Use Roaring Penguin's PPPoE implementation.
plugin rp-pppoe.so eth0.2
# Login settigns.
user "adminpppoe"
noauth
hide-password
# Connection settings.
persist
maxfail 0
holdoff 5
# LCP settings.
lcp-echo-interval 10
lcp-echo-failure 3
# PPPoE compliant settings.
noaccomp
default-asyncmap
mtu 1492
# IP settings.
#noipdefault
nodefaultroute
/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
adminpppoe * pppoeadmin *
adminpppoe1 * pppoeadmin *
generate.sh
#!/bin/bash
for (( count=1; count<5000; count++ ))
do
pon reinfokom
done
aptitude install ppp pppoe
/etc/ppp/peers/reinfokom
# Use Roaring Penguin's PPPoE implementation.
plugin rp-pppoe.so eth0.2
# Login settigns.
user "adminpppoe"
noauth
hide-password
# Connection settings.
persist
maxfail 0
holdoff 5
# LCP settings.
lcp-echo-interval 10
lcp-echo-failure 3
# PPPoE compliant settings.
noaccomp
default-asyncmap
mtu 1492
# IP settings.
#noipdefault
nodefaultroute
/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
adminpppoe * pppoeadmin *
adminpppoe1 * pppoeadmin *
Accel PPP for 5k Sessions
Hi, where can I find information on how to configure Abills with accel-ppp for a vlan per client environment. I need radius to authenticate the client based on the qinq vlan interface, is that possible ?
Re: Accel PPP for 5k Sessions
Yes, why not?
For example (abills+accel: opt82+QinQ):
Code: Select all
# accel-cmd show sessions
ifname | username | calling-sid | called-sid | ip | rate-limit | type | state | rx-bytes | tx-bytes | uptime
-----------------+------------+-------------------+------------+----------------+-------------+------+--------+-----------+-----------+-------------
ipoe-g1056g-01 | g1056g-01 | 14:cc:20:ca:6f:79 | v1056 | 100.74.1.177 | 20111/20111 | ipoe | active | 733.4 MiB | 25.6 GiB | 13.00:39:54
ipoe-s3112-11 | s3112-11 | d4:6e:0e:96:81:c9 | v3112-111 | 100.74.2.141 | 50106/50106 | ipoe | active | 1.8 GiB | 27.3 GiB | 9.07:48:08