Hi all

        I've got a cable modem connection with 256 Kbit/sec bandwidth. Modem is 
connected to the eth0 of my linux server where am running htb. eth1 is connected to 
switch where all my LAN systems are connected. My requirement is, I need to restrict 
the total downstream bandwidth to 128 Kbit/sec. Along with that I'm shaping each LAN 
systems to a 48 Kbit/sec. I'm generating mrtg graphs at the server for checking the 
total throughput. The root class htb file I've mentioned 

        [EMAIL PROTECTED] htb]# cat eth1-2.root
                # root class containing total bandwidth
                RATE=128Kbit
                
and in the class for incoming traffic i've mentioned

        [EMAIL PROTECTED] htb]# cat eth1-2:3.www
                # class for incoming traffic
                RATE=128Kbit
                CEIL=128Kbit
                PRIO=0
                LEAF=sfq
                RULE=*


And for child classes (individual LAN systems), example file

        [EMAIL PROTECTED] htb]# cat eth1-2:3:10.act10
                RATE=48Kbit
                CEIL=64Kbit
                LEAF=sfq
                RULE=192.168.1.10


HTB is able to shape the individual LAN systems to 48 Kbit/sec. But the total 
bandwidth its not able to restrict to 128 Kbit/sec. It's reaching to 230 Kbit/sec 
which is almost close to the total bandwidth what my ISP has assigned to my cable 
modem. (From mrtg graph). 

What could be the reason ? Am I missing any configuration lines or any other method is 
there which i need to follow ? Please advise.

regards

Vinu
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to