Hello all, Thank you for the help so far. After updating iproute2 package, now my Centos 4.4 seems to be able to run TC from shorewall.
I use DSL 64kbps/384kbps for up and downstream speed. I connect to DSL modem through eth0 (192.168.0.200/24). I follow the example from the shorewall TC guide for ppp0. http://www.shorewall.net/traffic_shaping.htm The problem is, it seems that TC is not working on eth0. No matter how small I set it, the download speed is always in full speed. However, when I test it on eth1, it seems to work. The download speed is limited to what I set in tcclasses and tcrules. So, I'm not really sure. Based on the example for using ppp0, my setup should be on eth0 too, right? Since it's the interface that connected to the internet. But, based on the testing, the one that is working for TC is eth1. What is the correct answer? This is my setup: tcdevices: #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth1 384kbps 64kbps tcclasses: #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth1 1 full full 1 tcp-ack,tos-minimize-delay eth1 2 5kbps 7kbps 2 eth1 3 5kbps 7kbps 3 default tcrules: #MARK SOURCE DEST PROTO DEST SOURCE USER TEST LENGTH TOS # PORT(S) PORT(S) 1:F 0.0.0.0/0 0.0.0.0/0 icmp echo-request 1:F 0.0.0.0/0 0.0.0.0/0 icmp echo-reply 2:F 10.0.0.1/24 0.0.0.0/0 all (my notebook IP) 1:F 10.0.0.4/24 0.0.0.0/0 all Thank you very much, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 9:34am up 21:25, 2.6.18.2-34-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org
pgpVg0SNHKeeq.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
