Date: Fri, 19 Mar 1999 13:54:40 +0000 From: Phillip Ryker <pryker@skynetweb.com> To: freebsd-net@freebsd.org Subject: [Fwd: IPFW - DUMMYNET] Message-ID: <36F25720.3FD9E113@skynetweb.com>
next in thread | raw e-mail | index | archive | help
Friends, I forgot to mention below that the box is a gateway and has two ethernet cards in it. xl0 and xl1. I am just trying to limit the bandwidth going in each direction. Thank you > > 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 | > ------------------------------ -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F25720.3FD9E113>