From owner-freebsd-net Fri Mar 19 10:47:41 1999 Delivered-To: freebsd-net@freebsd.org Received: from bladerunner.skynetweb.com (bladerunner.skynetweb.com [208.239.240.41]) by hub.freebsd.org (Postfix) with ESMTP id 9903C14EF0 for ; Fri, 19 Mar 1999 10:47:20 -0800 (PST) (envelope-from pryker@skynetweb.com) Received: from skynetweb.com (host80.skynetweb.com [208.231.1.80] (may be forged)) by bladerunner.skynetweb.com (8.8.8/8.8.8) with ESMTP id NAA01855 for ; Fri, 19 Mar 1999 13:46:57 -0500 (EST) (envelope-from pryker@skynetweb.com) Message-ID: <36F253B8.4DC7225D@skynetweb.com> Date: Fri, 19 Mar 1999 13:40:08 +0000 From: Phillip Ryker Organization: SkyNetWEB Ltd. X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: IPFW - DUMMYNET Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Good Evening! I am running FreeBSD v3.1 STABLE. I have just done a 'make world' and recompiled the kernel with the following options: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options DUMMYNET I have put this into rc.network: # IP DUMMYNET if [ "x$control_bandwidth" != "xNO" ] ; then sysctl -w net.inet.ip.fw.one_pass=1 > /dev/null 2>&1 # dummynet fi And my entire rc.firewall looks like this: # -------------------------------------------------- # Molasses Firewall-Dummynet Setup # -------------------------------------------------- # OK, Let's first flush all rules ipfw -f flush # Bandwidth Limiter Pipes ipfw pipe 1 config bw 512Kbit/s # Packet Selection Pipes ipfw add pipe 1 ip from any to any # -------------------------------------------------- All I want to do is to limit bandwidth in and out of the box. But this setup is not working. I am using MRTG to measure bandwidth. MRTG is available at: http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html When I do a 'ipfw -a list I get: 00100 4746974 189878960 pipe 1 ip from any to any 65535 0 0 allow ip from any to any Which tells me that everything is going through the pipe, so why is it not working? I am lost... I have been working on this for over a week now and have no where else to turn. Any help would be appreciated. Thank you -- Phillip Ryker ------------------------------ | SkyNetWEB Ltd. | | 1301 S. Baylis Street | | Baltimore Maryland 21226 | | Phone: 410.563.6384 | | Fax: 410.563.5457 | ------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message