From owner-freebsd-questions Mon Aug 7 14:43:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 353C037BCB9 for ; Mon, 7 Aug 2000 14:43:35 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e77LhUM14190; Mon, 7 Aug 2000 14:43:30 -0700 (PDT) Date: Mon, 7 Aug 2000 14:43:30 -0700 From: Alfred Perlstein To: Grandpa Walrus Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port throttling Message-ID: <20000807144330.W4854@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from root@web-walrus.com on Fri, Aug 04, 2000 at 04:52:25PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Grandpa Walrus [000807 13:44] wrote: > Is there a good way, under FreeBSD 3.x (or 4.x, or whatever) to tell the > BSD system that a given interface has a maximum speed of, say, 256k? > > i.e. > > rl0 - 10baseT (Gateway to router) > rl1 - 128k (LAN interface) > rl2 - 256k (Client's Dedicated Server) > rl3 - 256k (Client's Dedicated Server) > > This would be used to prevent client networks (co-located) from utilizing > more bandwidth than they should be, to avoid clogging our main outward > pipe. > > Alternatively, is there an appliance that could do this? (a managed > switch/hub, perhaps?) This would be the preferable solution, but a > FreeBSD system would probably be less costly. > > Any help you could give would be greatly appreciated I thought using the 'rl' driver would throttle your connectivity enough, but if you find that it's not painful enough have a look at the 'dummynet' manpage, it allows the ipfw (firewall) subsystem to simluate slower links. ~ % man -k bandwidth dummynet(4) - Flexible bandwidth manager and delay emulator -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message