Date: Wed, 2 Oct 2002 11:40:57 -0600 (MDT) From: Randy Smith <randys@amigo.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: IPFW & DUMMYNET shaping 4.6.2-R - Speed limited to half of pipe limit Message-ID: <20020916120405.Y11652-100000@stalker.amigo.net>
next in thread | raw e-mail | index | archive | help
Hi all, I am using IPFW and DUMMYNET to do traffic shaping on 4.6.2-R gateway (uname -a below). I have set the upload to 800Kbit/s and the download to 1500Kbit/s. Here is the relevent section from ipfw.conf. add 500 pipe 1 ip from 192.169.91.16:255.255.255.240 to any pipe 1 config bw 800Kbit/s add 500 pipe 2 ip from any to 192.168.91.16:255.255.255.240 pipe 2 config bw 1500Kbit/s If I've read the docs correctly, the network 192.168.91.16/240 should have it's upload limited to 800Kbs it's download to 1500Kbs. However, MRTG is reporting that the upload traffic is maxing out at around 400Kbs. I have played with the upload speed and the connection always maxes out at about half of what I set it to. My questions: 1) How do I get the traffic limited to the bw I set it to? 2) What is causing this? 3) Would changing/setting the queuing method help? # uname -a FreeBSD gateway.xxxxxxxxxxxx.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #2: Mon Aug 19 19:06:07 MDT 2002 root@xxxxxxxxxxxxx.net:/usr/obj/usr/src/sys/PROXY i386 Thank you for your help in this matter. ps. Please CC me as I am not subscribed to this list. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020916120405.Y11652-100000>