From owner-freebsd-questions Sun Jul 1 12:15:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 1603637B401 for ; Sun, 1 Jul 2001 12:15:24 -0700 (PDT) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id PAA78633; Sun, 1 Jul 2001 15:15:22 -0400 (EDT) (envelope-from mwlucas) Date: Sun, 1 Jul 2001 15:15:22 -0400 From: Michael Lucas To: Richard Smith Cc: questions@freebsd.org Subject: Re: dummynet question Message-ID: <20010701151522.A78618@blackhelicopters.org> References: <20010701131531.A78357@blackhelicopters.org> <20010701200306.A282@gaia.home.rdls.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010701200306.A282@gaia.home.rdls.net>; from rdls@rdls.net on Sun, Jul 01, 2001 at 08:03:07PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 01, 2001 at 08:03:07PM +0100, Richard Smith wrote: > 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] Yep, they're on the web server itself. Dang, another bright idea gone down the tubes. Thanks much! -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message