From owner-freebsd-net Wed Nov 27 12: 3:48 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2415537B401 for ; Wed, 27 Nov 2002 12:03:46 -0800 (PST) Received: from mail.onlinehome.de (pD9E535F3.dip.t-dialin.net [217.229.53.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3416943EBE for ; Wed, 27 Nov 2002 12:03:34 -0800 (PST) (envelope-from fk@duese.org) Received: from bug.shoki.lan (unknown [192.168.242.25]) by mail.onlinehome.de (Postfix) with SMTP id F3A0C7C33 for ; Wed, 27 Nov 2002 21:06:08 +0100 (CET) Date: Wed, 27 Nov 2002 21:04:49 +0100 From: Florian Kruegl To: freebsd-net@FreeBSD.ORG Subject: pppoe performance problems Message-Id: <20021127210449.299ade52.fk@duese.org> X-Mailer: Sylpheed version 0.8.2 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi *, I'm trying to set up some kint of test environment for xDSL devices. before wasting much time trying to explain the environment here is a little picture: | | | | | | | | | | | | | | | | | | XDSL Lines +-+-+-+-+-+-+-+-+ | Siemens DSLAM | +-------+-------+ | ATM (OC3 SM) | +-------+-------+ fxp0 +---------------+ | Brick XL +--------X-Over---------+ FreeBSD 4.6 | +-------+-------+ +-------+-------+ | | fxp1 Ethernet Ethernet 192.168.64.2 192.168.64.3 | | --------+---------------------------------------+----------- _Internet_ The BrickXL operates as a bridge and bridges the VPI:VCI combinations intended to be used for PPPoE and DHCP directly over the X-Over link to the FreeBSD Box running pppoed and dhcpd. Using tcp connections for bandwith maessurement show normal values, but when using a Ethernet Test Box (SmartApp / SmartBits), which spits out IP pakets at a defined rate and uses all sent frames where recieved as success criteria to determine the maximum transfer rate, gives rates about 60 f/s. when looking at the logs you can see that at higher rates (2000f/s) there are just one or two frames missing. but it takes till theese mentioned 60 f/s second till all packets are recieved by the testequipment. my pppoe config is nothing special: rc.conf ---------------------------------------- pppoed_enable="YES" pppoed_provider="pppoe" pppoed_flags="-P /var/run/pppoed.pid" pppoed_interface="fxp0" ---------------------------------------- ppp.conf ---------------------------------------- default: set log Phase Chat IPCP CCP tun command pppoe: allow mode direct set timeout 0 disable mppe enable pap set ifaddr 192.168.64.3/32 192.168.100.1-192.168.100.127 allow users accept dns set dns 192.168.64.3 disable lcp accept lqr disable deflate disable pred1 disable vjcomp disable acfcomp disable protocomp set vj slotcomp off ---------------------------------------- mpd is not a good alternative in this cas as AFAIK not capable of acting as a PPPoE-Server. DHCP performs fine. greets flo -- God isn't dead -- he's been busted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message