Traffic Shaping / Bandwidth Throttling

2010-06-06 Thread Thom Paine
I've been using gShield for years as the firewall on my border device.
I am looking at traffic shaping and bandwidth limiting on my network
to improve my voip and to throttle down my buddies torrents.

I don't mind certain times of the day or night having the speed ramped
up, but prime time 4pm to midnight I'd like to control the speeds on
things.

I'm looking for something that will let me set this up. I'd like to be
able to only slow down one or two IP's, and have the IP's of a couple
of the other PC's on my lan be unaffected.

I've been looking on google, but I don't see much of a solution that
fits my needs. I have my border device doing dhcp, so I can control
which pc's get which IP.

Does anyone have a good suggestion that will handle this?

Thanks.

-- 
-=/Thom
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Traffic Shaping / Bandwidth Throttling

2010-06-06 Thread Mike Wright
Thom Paine wrote:
 I've been using gShield for years as the firewall on my border device.
 I am looking at traffic shaping and bandwidth limiting on my network
 to improve my voip and to throttle down my buddies torrents.
 
 I don't mind certain times of the day or night having the speed ramped
 up, but prime time 4pm to midnight I'd like to control the speeds on
 things.
 
 I'm looking for something that will let me set this up. I'd like to be
 able to only slow down one or two IP's, and have the IP's of a couple
 of the other PC's on my lan be unaffected.
 
 I've been looking on google, but I don't see much of a solution that
 fits my needs. I have my border device doing dhcp, so I can control
 which pc's get which IP.
 
 Does anyone have a good suggestion that will handle this?
 

It's rather cryptic but you're looking for /sbin/tc.  I believe it has 
everything you want and then some.  There are also scripts out there in 
  the wild that have already been written that do what you want.  I'll 
look through my archive and see if I can find one.


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Traffic Shaping / Bandwidth Throttling

2010-06-06 Thread Roberto Ragusa
Thom Paine wrote:
 I've been using gShield for years as the firewall on my border device.
 I am looking at traffic shaping and bandwidth limiting on my network
 to improve my voip and to throttle down my buddies torrents.

Throttling uploads is easier than downloads.
You have to use tc and probably iptables (I prefer using MARK with
iptables and then use the mark for tc rules).
You will only get good results if you do it carefully;
the first thing to know is what kind of internet connection you have,
for example how much up/down bandwidth you have and if you are able
to saturate you upload and download in every moment or you have
unpredictable contention with other users of your provider.

A good setup will not simply slow down torrents; it will only slow
down them when other important traffic is present.

Google wondershaper; it is a good start.

-- 
   Roberto Ragusamail at robertoragusa.it
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Traffic Shaping / Bandwidth Throttling

2010-06-06 Thread Bruno Wolff III
On Sun, Jun 06, 2010 at 07:23:19 -0700,
  Mike Wright mike.wri...@mailinator.com wrote:
  
  Does anyone have a good suggestion that will handle this?
  
 
 It's rather cryptic but you're looking for /sbin/tc.  I believe it has 
 everything you want and then some.  There are also scripts out there in 
   the wild that have already been written that do what you want.  I'll 
 look through my archive and see if I can find one.

A good start for doing this hands on is to read the LARTC Howto at
http://lartc.org/ . The manual is a bit out of date, particularly in regard
to using ifb devices instead in imq devices. However if you end up using
something like OpenWRT on your router, it's still easier to use imq, since
the router firmware guys either use 2.4 kernels (to support broadcom chips)
or for the really new stuff (OpenWRT's backfire), since back port imq support
to maintain compatibility. (With backfire, if you want ifb devices you need
to custom builds. It's not that hard, but is more work. Submitting an ifb
package to their project is on my list of things to do, but way down.)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines