[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Limiting bandwidth used

----- Original Message ----- From: "Guillaume" <silencer@free-4ever.net>
To: <debian-user@lists.debian.org>
Sent: Friday, June 30, 2006 9:22 AM
Subject: Re: Limiting bandwidth used

Kjell Rune Skaaraas wrote:

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.

Kjell Rune Skaaraas


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.


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..



Reply to: