From: Jon S. <jsc...@po...> - 2006-01-12 19:28:55
|
I want both. I want to load balance across two ISP's which I already have setup and working and I also want to limit traffic like they mention using the HTB bucket methods. On Thu, 2006-01-12 at 14:08 -0500, Jason Martin wrote: > On Thu, Jan 12, 2006 at 10:24:16AM -0700, Jon Scottorn wrote: > > I am wondering if it is possibile to do bandwidth limiting on a > > zone. More specifics, I have two ISP's and I have shorewall setup to > > load balance across the both of them. Now I want to limit the > Bandwidth limiting and load balancing are two different topics. > I think you are saying 'i want to balance my bandwidth across a > set of interfaces'. Bandwidth limiting is when you say 'I only > want to allow X bps out a given interface, and anything else has > to wait'. > > Start with http://www.shorewall.net/MultiISP.html > > -Jason Martin > > > > > bandwidth. I have read the docs on how to do it but do I set it up on > > both connections individually or setup so that it covers both ISP's as > > one connection. Not sure. > > > > I have two dsl connections connected to eth0 and eth1 and both are > > 7168kbit down and 896kbit up. > > > > Here is what I would have in my config files following the examples. > > > > > > > > > > tcdevices file > > > > #INTERFACE IN-BANDWITH OUT-BANDWIDH > > eth0 7168kbit 896kbit > > eth1 7168kbit 896kbit > > > > > > > > > > tcclasses file > > > > #INTERFACE MARK RATE CEIL PRIORITY OPTIONS > > not sure what to put here > > > > tcrules file > > > > #MARK SOURCE DEST PROTO PORT(S) CLIENT USER > > # PORT(S) > > > > I am not sure what to put in the other two files, I basically have three groups of people that I want to limit the bandwidth equally between them. ie.. > > > > I have group1, 2, and 3. if only 1 group is using the bandwitdh, they get it all. but when a someone in the second group starts to use it it splits the bandwitdh > > equally between them. and then if someone from the third group starts using it as well, then it would split the bandwidth in thirds. > > > > Now that is only between the three groups. If there are multiple people on in the same group they still get all the bandwidth for the one group, no limiting between people in the same group. > > > > I am new to the traffic shaping stuff so forgive my ignorance. I appreciate any help. > > > > THanks, > > > > > > Jon Scottorn > > Systems Administrator > > The Possibility Forge, Inc. > > http://www.possibilityforge.com > > 435.635.0591 x.1004 > Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 |