Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 10:35:08 -0800
From:      dan@wolf.com
To:        freebsd-questions@freebsd.org
Subject:   Question re. dummynet usage
Message-ID:  <19990331103508.B26699@ns.wolf.com>

next in thread | raw e-mail | index | archive | help
I'm trying to use dummynet on my FreeBSD 2.2.8 system to
limit ftp bandwidth usage.  I've compiled a kernel with:

options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET

I'm defining a pipe with:
  
ipfw pipe 1 config bw 64 Kbit/s

and trying to turn it on with:

ipfw add pipe 1 ip from any port 20 to my.ip.address
ipfw add pipe 1 ip from any port 21 to my.ip.address

but ipfw gives me it's usage message when I enter the
last 2 lines.  I assume I'm either forgetting an important
step or I misunderstand something important.  Could anyone
point out the errors of my ways?


-- 

dan@wolf.com
 


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?19990331103508.B26699>