Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 20:03:07 +0100
From:      Richard Smith <rdls@rdls.net>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        questions@freebsd.org
Subject:   Re: dummynet question
Message-ID:  <20010701200306.A282@gaia.home.rdls.net>
In-Reply-To: <20010701131531.A78357@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Sun, Jul 01, 2001 at 01:15:31PM -0400
References:  <20010701131531.A78357@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 01, 2001 at 01:15:31PM -0400, Michael Lucas wrote:
> Hello,
> 
> I have several Web sites, with different IP addresses, on one server.
> I would like to limit each individual site to 128k of outbound traffic.
> 
> ipfw add 00100 pipe 1 ip from a.b.c.d to any
> ipfw add 00200 pipe 2 ip from a.b.c.e to any
> ....
> 
> ipfw pipe 1 config bw 128Kbit/s
> ipfw pipe 2 config bw 128Kbit/s
> ...
> 
> Could I simplify this into pointing each IPFW rule into "pipe 1",
> throttling each to 128K?  Or would they share the bandwidth, or would
> something else funky happen?

No. They would all share the same 128K pipe. Your former approach
is the correct one. [I am assuming that the rules run on the web 
server itself, otherwise they may need modification]

Richard.

-- 
Richard Smith
Network Systems Director
Satamatics Ltd
Green Lane, Tewkesbury, GL20 8HD, United Kingdom
Tel: +44 1684 278610
Fax: +44 1684 278611

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?20010701200306.A282>