Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 12:42:43 +0200
From:      Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
To:        Fargo Holiday <galaxy.ranger@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [FreeBSD 5.2] Bandwith and packet throttling
Message-ID:  <20040815104243.GA43915@shellma.zin.lublin.pl>
In-Reply-To: <4a1299a404081414287a9ecbc@mail.gmail.com>
References:  <4a1299a404081414287a9ecbc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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