Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Traffic shaping/limiting - per host, how?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2005, 07:31 AM
Default Traffic shaping/limiting - per host, how?



Yo people!

I've been trying out all kinds of commercial and free methods to manage
traffic to and from certain ranges of hosts, but havent really found
something graceful. Short of authoring my own lovely elaborate script..

Does anyone know of a cool linux package that allows you to set
upload/download rates per client IP?

Even better would be to allow a cerain number of MB's a day at max speed,
and then limit it to something silly.

What I need to do, is limit my ADSL in/out speeds to ensure low latency.
Then on top of that, fairly share the available bandwidth between a number
of clients. Then, only allow high-speed access up to a certain volume, but
only on internet traffic, not local traffic.

I've managed to find a lot of docs describing how to do the first bit - but
theyre all so outdated... 2000, 2001. Isn't there a cooler, better way than
using tc? Whats this shaper0 thing in my kernel? I can't access the
internet for a few weeks, so my own research has ground to a halt...

Hey, any help would be much appreciated!

Cheers
Coenraad




Coenraad Loubser
Reply With Quote
  #2  
Old 01-13-2005, 10:10 AM
Alexander Harsch
Guest
 
Posts: n/a
Default Re: Traffic shaping/limiting - per host, how?

Coenraad Loubser wrote:

> Yo people!
>
> I've been trying out all kinds of commercial and free methods to manage
> traffic to and from certain ranges of hosts, but havent really found
> something graceful. Short of authoring my own lovely elaborate script..
>
> Does anyone know of a cool linux package that allows you to set
> upload/download rates per client IP?
>
> Even better would be to allow a cerain number of MB's a day at max speed,
> and then limit it to something silly.
>
> What I need to do, is limit my ADSL in/out speeds to ensure low latency.
> Then on top of that, fairly share the available bandwidth between a number
> of clients. Then, only allow high-speed access up to a certain volume, but
> only on internet traffic, not local traffic.
>
> I've managed to find a lot of docs describing how to do the first bit -
> but theyre all so outdated... 2000, 2001. Isn't there a cooler, better way
> than
> using tc? Whats this shaper0 thing in my kernel? I can't access the
> internet for a few weeks, so my own research has ground to a halt...
>
> Hey, any help would be much appreciated!
>
> Cheers
> Coenraad

Hello Coenraad,

this is a good howto for tc:
http://lartc.org
You might be better of with the next generation:
http://tcng.sf.net

Alex

Reply With Quote
  #3  
Old 01-17-2005, 06:29 PM
cserf@poczta.onet.pl
Guest
 
Posts: n/a
Default Re: Traffic shaping/limiting - per host, how?

Użytkownik Alexander Harsch napisał:
> Coenraad Loubser wrote:
>
>
>>Yo people!
>>
>>I've been trying out all kinds of commercial and free methods to manage
>>traffic to and from certain ranges of hosts, but havent really found
>>something graceful. Short of authoring my own lovely elaborate script..
>>
>>Does anyone know of a cool linux package that allows you to set
>>upload/download rates per client IP?
>>
>>Even better would be to allow a cerain number of MB's a day at max speed,
>>and then limit it to something silly.
>>
>>What I need to do, is limit my ADSL in/out speeds to ensure low latency.
>>Then on top of that, fairly share the available bandwidth between a number
>>of clients. Then, only allow high-speed access up to a certain volume, but
>>only on internet traffic, not local traffic.
>>
>>I've managed to find a lot of docs describing how to do the first bit -
>>but theyre all so outdated... 2000, 2001. Isn't there a cooler, better way
>>than
>>using tc? Whats this shaper0 thing in my kernel? I can't access the
>>internet for a few weeks, so my own research has ground to a halt...
>>
>>Hey, any help would be much appreciated!
>>
>>Cheers
>>Coenraad

>
> Hello Coenraad,
>
> this is a good howto for tc:
> http://lartc.org
> You might be better of with the next generation:
> http://tcng.sf.net
>
> Alex


But you haven't looked at this:

http://sp9wun.republika.pl/index_en.html

very nice advanced shaper which allows to control bandwith per user in
upload and download direciton. It also creates netfilter rules which
help to expose bandwith usage graphs (per user) with lstatd. Easy.

It is one hour to get it working

Rafal
Reply With Quote
  #4  
Old 02-09-2005, 07:31 PM
nospam10001@aol.com
Guest
 
Posts: n/a
Default Re: Traffic shaping/limiting - per host, how?

The ET/BWMGR for linux is by far the best product available for high
end shaping. It does real TCP window shaping and advanced burst
management, and also has a built in traffic monitor for isolating
problems. Well worth every penny. We have over 6000 hosts managed and
the box is running at under 20% utilization. They have a nice write up
on their web site.

www.etinc.com

Rob

Reply With Quote
Reply

Tags
host, shaping or limiting, traffic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.