From owner-freebsd-questions Wed Sep 18 13: 9:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2E8E37B401 for ; Wed, 18 Sep 2002 13:09:53 -0700 (PDT) Received: from pan.ehsrealtime.com (81-86-169-228.dsl.pipex.com [81.86.169.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16BF43E65 for ; Wed, 18 Sep 2002 13:09:52 -0700 (PDT) (envelope-from me@byron.me.uk) Received: from byrons (helo=localhost) by pan.ehsrealtime.com with local-esmtp (Exim 3.35 #1) id 17rl7X-00006E-00; Wed, 18 Sep 2002 21:08:23 +0100 Date: Wed, 18 Sep 2002 21:08:23 +0100 (BST) From: Byron Schlemmer To: Kirk Strauser Cc: FreeBSD-Questions Subject: Re: Traffic shaping - current best practice? In-Reply-To: <87elbri05i.fsf@pooh.int> Message-ID: <20020918210512.Y348-100000@pan.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 18 Sep 2002, Kirk Strauser wrote: > I know that someone asks this question every now and then, but it's the kind > of thing that can change over time, so I ask again: > > I want to use a FreeBSD firewall to provide bandwidth guarantees to > customers. Specifically, several hosts will be sharing a 512Kbps pipe. > Some of those hosts are no-cost (read: no service commitment on my part), > but I may be taking on clients who would be paying for a guaranteed rate > (said rate being substantially less than 512Kbps). > > I'm looking for a solution that would allow the non-paying hosts to have > full use of the bandwidth as long as the paying hosts are idle, but which > would ensure that the paying customers have their full bandwidth available > any time they need it. > > I've used both ipfw and ipfilter. I have no particular preference, although > a solution that supports bridging would be a bonus (which I think will limit > me to ipfw, but I'm not certain). > > Any suggestions? Best practice? Well I'm not sure what that would be but to accomplish most of this see 'man dummynet'. Very easy to setup and highly configurable. Also /usr/share/doc/en/articles/filtering-bridges and /usr/share/doc/en/books/handbook/bridging.html might prove insightful. Hope that helps some. - byron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message