Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2000 14:43:30 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Grandpa Walrus <root@web-walrus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Port throttling
Message-ID:  <20000807144330.W4854@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.3.96.1000804164719.2340A-100000@iceberg.web-walrus.com>; from root@web-walrus.com on Fri, Aug 04, 2000 at 04:52:25PM -0500
References:  <Pine.BSF.3.96.1000804164719.2340A-100000@iceberg.web-walrus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Grandpa Walrus <root@web-walrus.com> [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




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