From owner-freebsd-isp@FreeBSD.ORG Wed May 16 00:35:12 2007 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 588E216A403 for ; Wed, 16 May 2007 00:35:12 +0000 (UTC) (envelope-from bruce@commslogic.com.au) Received: from mail.commslogic.com.au (mail.commslogic.com.au [202.169.16.30]) by mx1.freebsd.org (Postfix) with ESMTP id 77E0913C447 for ; Wed, 16 May 2007 00:35:11 +0000 (UTC) (envelope-from bruce@commslogic.com.au) Received: (qmail 29159 invoked by uid 508); 16 May 2007 10:01:31 +1000 Received: from butters-off01-rob.commslogic.com.au (HELO ?192.168.100.237?) (bruce@commslogic.com.au@192.168.100.237) by mail.commslogic.com.au with SMTP; 16 May 2007 10:01:31 +1000 From: Bruce Forster To: freebsd-isp@freebsd.org In-Reply-To: <20070515120020.E10D016A40F@hub.freebsd.org> References: <20070515120020.E10D016A40F@hub.freebsd.org> Content-Type: text/plain Date: Wed, 16 May 2007 10:08:29 +1000 Message-Id: <1179274109.11266.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit Subject: Re: help regarding PPPOE Server (Tears !) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 00:35:12 -0000 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/