shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: [Shorewall-users] Dynamic traffic shaping for m

[Shorewall-users] Dynamic traffic shaping for multiple IP's

From: Danie Marais <danie.marais_at_nospam>
Date: Wed Jan 18 2012 - 13:20:14 GMT
To: Shorewall Users <>

I use Shorewall for a 20-person office and want to do the following on a (say) 1000kbit line:

- If only one person is downloading data, give him the full 1000kbit.
- If two are downloading, give each 500kbit
- If three then 333kbit each etc.
- However, if two are downloading and one is only using 100kbit, give the other one 900kbit.

I know the above is oversimplified but it explains the main idea. I've looked at Per IP traffic shaping but I'm not sure if it will do the above. The idea is that no-one can ever monopolize the bandwidth but if there is nothing happening on the line then one person can get (almost) all the bandwidth.

The same should be done for uploads too.

Any suggestions or pointers in the right direction will be highly appreciated.

Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
Shorewall-users mailing list