On 01/18/2012 05:20 AM, Danie Marais wrote:
> 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. 
> 

Just configure simple traffic shaping as described at
http://www.shorewall.net/simple_traffic_shaping.html.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to