Accel-PPP for 5k Sessions

PPPoE related questions
Post Reply
andlui9
Posts: 26
Joined: 20 Jan 2017, 11:46

Accel-PPP for 5k Sessions

Post by andlui9 » 22 Jun 2017, 08:29

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?

hugleo
Posts: 58
Joined: 13 Apr 2016, 14:28

Re: Accel-PPP for 5k Sessions

Post by hugleo » 22 Jun 2017, 13:21

The server is using nat 100% or you can do nat in a separated server?

andlui9
Posts: 26
Joined: 20 Jan 2017, 11:46

Re: Accel-PPP for 5k Sessions

Post by andlui9 » 26 Aug 2017, 20:59

The problem, I believe, that it is not with NAT, in servers without NAT also happened.

dimka88
Posts: 419
Joined: 13 Oct 2014, 05:51
Contact:

Re: Accel-PPP for 5k Sessions

Post by dimka88 » 27 Aug 2017, 20:08

Hi, show panic log

hugleo
Posts: 58
Joined: 13 Apr 2016, 14:28

Re: Accel-PPP for 5k Sessions

Post by hugleo » 28 Aug 2017, 14:26

andlui9 wrote:
26 Aug 2017, 20:59
The problem, I believe, that it is not with NAT, in servers without NAT also happened.
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

ppavan123
Posts: 1
Joined: 27 Sep 2017, 05:28

Re: Accel-PPP for 5k Sessions

Post by ppavan123 » 27 Sep 2017, 05:35

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 :?:

yazero
Posts: 18
Joined: 22 Apr 2017, 19:02

Re: Accel-PPP for 5k Sessions

Post by yazero » 20 Nov 2017, 11:42

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 *

Dim_Kriz
Posts: 2
Joined: 11 Sep 2018, 14:55
Location: Czech
Contact:

Accel PPP for 5k Sessions

Post by Dim_Kriz » 19 Sep 2018, 20:48

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 ?

nik247
Posts: 102
Joined: 11 Oct 2014, 15:57

Re: Accel PPP for 5k Sessions

Post by nik247 » 21 Sep 2018, 07:36

Dim_Kriz wrote:
19 Sep 2018, 20:48
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 ?
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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest