* [LARTC] tc not restricting the total bandwidth
@ 2004-03-01 5:47 Vinu Chandran
0 siblings, 0 replies; only message in thread
From: Vinu Chandran @ 2004-03-01 5:47 UTC (permalink / raw)
To: lartc
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
[root@bms htb]# cat eth1-2.root
# root class containing total bandwidth
RATE\x128Kbit
and in the class for incoming traffic i've mentioned
[root@bms htb]# cat eth1-2:3.www
# class for incoming traffic
RATE\x128Kbit
CEIL\x128Kbit
PRIO=0
LEAF=sfq
RULE=*
And for child classes (individual LAN systems), example file
[root@bms htb]# cat eth1-2:3:10.act10
RATEHKbit
CEILdKbit
LEAF=sfq
RULE\x192.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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-01 5:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 5:47 [LARTC] tc not restricting the total bandwidth Vinu Chandran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox