[FreeBSD 5.2] Bandwith and packet throttling

Pawel Malachowski pawmal-posting at freebsd.lublin.pl
Sun Aug 15 03:45:01 PDT 2004


On Sat, Aug 14, 2004 at 02:28:36PM -0700, Fargo Holiday wrote:

> Here are the rules I've been trying, let me know if this not correct:
> 
> ipfw pipe 1 config bw 50Kbit/s queue 10 delay 2000ms #outbound
> ipfw pipe 2 config bw 150Kbit/s queue 10 delay 2000ms #inbound
> ipfw add deny icmp from any to any

Blocking all ICMP traffic is a Very Bad Thing.

> ipfw add pipe 1 all from 10.0.0.8 to any 
> ipfw add pipe 2 all from any to 10.0.0.8
> 
> The painful delay was to test if the pipes were actually working, but
> never seemed to make a difference.

Try:
 ipfw show
 ipfw pipe show 1
 ipfw pipe show 2
and look at counters.


-- 
Paweł Małachowski


More information about the freebsd-net mailing list