Accel-PPP for 5k Sessions

PPPoE related questions
Post Reply
andlui9
Posts: 3
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: 55
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: 3
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: 281
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: 55
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 *

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests