Re: Limiting bandwidth used
- From: Guillaume <silencer@xxxxxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 15:22:26 +0200
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
--
Guillaume
E-mail: silencer_<at>_free-4ever_<dot>_net
Blog: http://guillaume.free-4ever.net
---
Sites: http://www.free-4ever.net
http://wiki.free-4ever.net
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Limiting bandwidth used
- From: Doug Wiltanger
- Re: Limiting bandwidth used
- References:
- Limiting bandwidth used
- From: Kjell Rune Skaaraas
- Limiting bandwidth used
- Prev by Date: Limiting bandwidth used
- Next by Date: Re: Limiting bandwidth used
- Previous by thread: Limiting bandwidth used
- Next by thread: Re: Limiting bandwidth used
- Index(es):
Relevant Pages
|