From owner-freebsd-questions Wed Oct 2 10:41: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD7E37B401 for ; Wed, 2 Oct 2002 10:41:02 -0700 (PDT) Received: from smtp1.amigo.net (smtp1.amigo.net [209.94.64.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB31C43E3B for ; Wed, 2 Oct 2002 10:41:01 -0700 (PDT) (envelope-from randys@amigo.net) Received: from stalker.amigo.net (billing.amigo.net [209.94.67.250]) by smtp1.amigo.net (8.12.3/8.12.3) with ESMTP id g92HfXgx088954 for ; Wed, 2 Oct 2002 11:41:35 -0600 (MDT) (envelope-from randys@amigo.net) Date: Wed, 2 Oct 2002 11:40:57 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: "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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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