Re: Throttle traffic for a single local IP on a Linux router?
Try a Linksys RV016, it has some decent traffic shaping tools for larger home and small business networks. Jeff On Dec 24, 2010 5:31 AM, "gordon b slater" <gordslater@ieee.org> wrote: On Thu, 2010-12-23 at 18:32 -0500, johnc@hush.ai wrote:
$TC class add dev $INIF parent 1: classid ... yes, I think you have the same IDs in the last 4 lines.
classid's should be 1:1 and 1:2 flowid's shoild be 1:1 and 1:2 yours are 1:1 in both cases of each try :- $TC class add dev $INIF parent 1: classid 1:1 htb rate $DNLD ceil $DNLD $TC class add dev $OUTIF parent 1: classid 1:2 htb rate $UPLD ceil $UPLD # ^^^ $TC filter add dev $INIF parent 1:0 ip pref 1 ... $IP/32 0xFFFFFFFF flowid 1:2 # ^^^ (line breaks may be affected by email formatting etc ) Gord -- # ~ TC , the undisputable leader of the gang ~ #
On Fri, 2010-12-24 at 05:52 -0500, Jeffrey Lyon wrote:
Try a Linksys RV016, it has some decent traffic shaping tools for larger home and small business networks.
Yes indeed it does. Ironically that device runs a linux-y kernel so is probably also using iptools/tc to achieve the shaping/policing a GUI wrapped around it. The GPL parts of it are at ftp://ftp-eng.cisco.com/pub/opensource/linksys/RVxxxToolchain/ I was also planning to have a look at the hardware in it but that device is now out of my control :( Gord
participants (2)
-
gordon b slater
-
Jeffrey Lyon