Date: Wed, 27 Nov 2002 21:04:49 +0100 From: Florian Kruegl <fk@duese.org> To: freebsd-net@FreeBSD.ORG Subject: pppoe performance problems Message-ID: <20021127210449.299ade52.fk@duese.org>
next in thread | raw e-mail | index | archive | help
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
--------------------<Schanipp>--------------------
pppoed_enable="YES"
pppoed_provider="pppoe"
pppoed_flags="-P /var/run/pppoed.pid"
pppoed_interface="fxp0"
--------------------<Schanipp>--------------------
ppp.conf
--------------------<Schanipp>--------------------
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
--------------------<Schanipp>--------------------
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021127210449.299ade52.fk>
