Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
htb.init question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tudor
n00b
n00b


Joined: 19 May 2005
Posts: 28

PostPosted: Thu Dec 14, 2006 2:54 am    Post subject: htb.init question Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum