I am using FreeBSD 9.0-RELEASE on my Soekris net5501. I have been using this machine as my network gateway for several years.
I have just changed from an ISP which provided a straightforward IP connection to one which requires PPPoE. The ISP provides a Huawei HG612 VDSL modem, which is paired with a Technicolor (Thomson) TG582n router. I would rather not use the TG582 since it is very basic, so I have connected my FreeBSD machine directly to the HG612.
My PPPoE connection from FreeBSD establishes OK and I get an internet IP on tun0, but throughput is rather slow. Using the ISP-supplied router, I am getting speeds of around 75Mb/s down and 18Mb/s up, but when I establish the PPP link from my FreeBSD machine, I am getting download speeds of only 2 or 3 Mb/s. The odd part – upload speeds are almost unchanged, I'm still getting around 16Mb/s. I am measuring the speed by transferring an 80MB file through HTTP to and from a leased server I control which has a 100Mb internet connection.
This is the ppp.conf I'm using:
Are there some settings in PPP I need to tune in order to get reasonable performance? Are there some other details of my system I should examine? I am unsure where to focus my attention.
I have just changed from an ISP which provided a straightforward IP connection to one which requires PPPoE. The ISP provides a Huawei HG612 VDSL modem, which is paired with a Technicolor (Thomson) TG582n router. I would rather not use the TG582 since it is very basic, so I have connected my FreeBSD machine directly to the HG612.
My PPPoE connection from FreeBSD establishes OK and I get an internet IP on tun0, but throughput is rather slow. Using the ISP-supplied router, I am getting speeds of around 75Mb/s down and 18Mb/s up, but when I establish the PPP link from my FreeBSD machine, I am getting download speeds of only 2 or 3 Mb/s. The odd part – upload speeds are almost unchanged, I'm still getting around 16Mb/s. I am measuring the speed by transferring an 80MB file through HTTP to and from a leased server I control which has a 100Mb internet connection.
This is the ppp.conf I'm using:
Code:
infinity:
set device PPPoE:vr0
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable echo
set echoperiod 15
enable lqr
set lqrperiod 15
set log Phase tun
enable ipcp
disable dns
set server /tmp/pppoe-vr0 "" 0177
set authname myauthname@my.isp
set authkey mypassword
# HISADDR is shorthand for the remote end of the link,
# pppd will set this as the default route
add! default HISADDR
Are there some settings in PPP I need to tune in order to get reasonable performance? Are there some other details of my system I should examine? I am unsure where to focus my attention.