Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 10:08:29 +1000
From:      Bruce Forster <bruce@commslogic.com.au>
To:        freebsd-isp@freebsd.org
Subject:   Re: help regarding PPPOE Server (Tears !)
Message-ID:  <1179274109.11266.43.camel@localhost.localdomain>
In-Reply-To: <20070515120020.E10D016A40F@hub.freebsd.org>
References:  <20070515120020.E10D016A40F@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok,

A while ago i was playing around with 'free' PPPoE server solution's, so
ill start by asking how many people you wish to put on the PPPoE Server?
For small applications it works great, the issues you are seeing can be
solved by setting time out on sessions, eg LQR and LQRPERIOD.

When i was playing with FreeBSD i found it was great for a few users but
when it was under a higher load that it was not to performing the way i
wanted, i had a lot of old sessions hanging around they just wouldn't
clean up.

I still have the configs for what i used:

set timeout 86400 (This is total time online so you don't really want to
use this because it may disconnect users who still want to be online,
although i guess it could be used to clean up sessions that are stale
just don't have a session lasting more then a few hours? and a client
will have to reconnect.)

Here are the settings i recommend you add to your ppp.conf:
enable echo
enable lqr echo
set lqrperiod 30

There is a small white paper written about PPPoEd/FreeBSD i did some
poking about to try and find it for you. Sorry i could not find it, it
goes into details about the lqr, bottom line if i remember correctly:

PPPoEd sends LQR -> Client gets LQR
PPPoEd gets LQR <- Client Replys

if the lqr gets dropped somewhere along the line if so many are missing
with in 30 sec it will close the session.

I tried to find the white paper for you RE: PPPoEd and FreeBSD but i
couldn't, try poking about on google.

if you want to know more about lqr and time out find this white paper.

i hope this information helps, you depending on your total users you may
want to look towards a different solution

>I have configured PPPoE server with FreeRadius on my FreeBSD 6.2 machine
> and client side i am using RASPPPOE on windows machine. Its working
>fine but a issue has been occurred.
>
>Some time if my client shutdown there PC without properly disconnecting
>pppoe session then my PPPOE server didn't  close the session.


Regards,

Bruce Forster
Commslogic Internet and VOIP
Pot: +61 7 5630 8302
Fax: +61 7 5630 8201
Web: Http://www.commslogic.com.au/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1179274109.11266.43.camel>