A lot of information exists online, yet none are thorough enough.i've read both 
complex and simple traffic shaping on shorewall.net my goal is the following:
users are shaped to  50 KB/s  unless connection is idle and that's where they 
can use it all.
i tested the following, with no luck.
/etc/shorewall/tcdevices:#INTERFACE IN-BANDWIDTH OUT-BANDWIDTH
eth0      100kbps      60kbps  /etc/shorewall/tcclasses:
#DEVICE   MARK RATE     CEIL PRIORITY    OPTIONS#eth2      2       full    full 
     2       default
eth0:101     - 50kbps full       4    occurs=6#if i set "occurs" to 254. i get 
an error that "occurs" is an invalid option./etc/shoreall/tcrules:#ACTION       
                   SOURCE             DEST

IPMARK(src,0xff,0x10100):F       192.168.1.0/24     eth2

the above config didn't complained that tcrules does not  have a default class, 
which is why i added the second line. but testing failed. i'm sure i'm skipping 
something, but i'm not entirely sure how to troubleshoot..
shorewall show tc #shows that classes aren't being hit! 



                                          
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to