tudor n00b
Joined: 19 May 2005 Posts: 28
|
Posted: Thu Dec 14, 2006 2:54 am Post subject: htb.init question |
|
|
I have a Linux box as a server, shaping the bandwidth with the htbinit script like so(eth0 is external and eth1 is lan):
eth0
Quote: | DEFAULT=44
R2Q=100 |
eth0-2.root
Quote: | RATE=100Mbit
BURST=15k |
eth0-2:20.bandwidth
Quote: | RATE=3000Kbit
BURST=15k
LEAF=sfq |
eth0-2:20:200.class1
Quote: | RATE=1500Kbit
CEIL=3000Kbit
BURST=15k
LEAF=sfq |
eth0-2:20:300.class2
Quote: | RATE=1500Kbit
CEIL=3000Kbit
BURST=15k
LEAF=sfq |
eth1 has the same configuration, except that 1.2.3.4 (eth1) becomes 1.2.3.4, (eth0)
Under class 1 and 2 there are clients (eth0-2:20:200:2003 and eth0-2:20:200:2004 for example).
The problem is that every client under class1 and class2 get the correct bandwidth, but when the sum of the 2 classes is over 3Mbit, the htbinit script doesn't limit traffic at 3Mbit. Anyone got any ideea? |
|