Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 11:18:30 -0400
From:      Gary Stanley <gary@outloud.org>
To:        freebsd-hackers@freebsd.org
Subject:   dummynet
Message-ID:  <5.1.0.14.2.20020516111353.01a20008@208.141.46.254>

next in thread | raw e-mail | index | archive | help
Thanks for the answers on my previous thread. Now on to a more, boring 
topic? ;-)

I have dummynet, kind of, set up a way I want. The question is, Is it 
possible to limit everyone that downloads foo.bar to a certain rate, ie, 
176KByte/s per each -connecting- IP? I tried many different ways and it 
doesn't seem to work the way I want it.

I have a small script like this setup:

/sbin/ipfw add pipe 1 ip from me to any
/sbin/ipfw add pipe 2 ip from any to me

/sbin/ipfw pipe 1 config bw 176KByte/s
/sbin/ipfw pipe 2 config bw 100Mbit/s

Thanks,
/ges


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020516111353.01a20008>