----- Original Message -----
From: "Guillaume" <[EMAIL PROTECTED]>
To: <debian-user@lists.debian.org>
Sent: Friday, June 30, 2006 9:22 AM
Subject: Re: Limiting bandwidth used
Kjell Rune Skaaraas wrote:
Hi
I'm sharing an ADSL connection with my landlord, and
need my Debian box (running etch) to cap the bandwidth
use (just its own use, it's not acting as a router).
Is there any way to do this that doesn't involve
setting up a massively complex traffic shaper, tons of
iptables rules etc etc.? I'm used to doing this with
netlimiter on Windows and the only solutions for linux
when I've searched for it I go "What the f...?" over.
All I want is to be able to say "Use max 1500kb/s down
and 150kb/s up on anything outside 10.0.0.*". I really
don't see how that can be so difficult.
Regards,
Kjell Rune Skaaraas
Hi
It can be done with iproute... iproute packages is in the main archive of
Debian
The command is "tc"
But I'm not sure it's more easy than iptables !!!
Maybe, you can have a look at WonderShaper: http://lartc.org/wondershaper/
It's not the main goal of this script, but you can use it for what you
want by change the "speed" values to your values on the start of the
script.
Regards
Guillaume
dsl_qos_queue is what I use for outbound traffic control. Works quite well.
Not sure if it can be manipulated into help with down steam traffic..
http://www.sonicspike.net/software/
Doug
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]