Hi I am current trying to set up a guaranteed minimum rate for the leaf
(1:1x).  Also would I be correct in saying that the quantum is the
dividing rule (so if I keep it the same "1532" and keep all the leafs in
"1:1x" prio 3 they should all get the same amount of bandwidth shared
across them equally?).  For example below would the "rate" in the "1:1x"
leaf be the minimum rate for that leaf and what would happen if there
were three leafs "1:10", "1:11", "1:12" all using 300Kbit as their rate,
would the bandwidth be shared equally among them even though it is
greater than the "1:1" root rate of 600Kbit?

1:
1:1 (600Kbit)
1:10                            1:11                            1:12
etc...
1:1001,1002...          1:2001,2002...          1:3001,3002...
etc...



# setting up the main root 1:1 (600Kbit)
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 600Kbit

# setting up leafs 1:1x
/sbin/tc class add dev eth1 parent 1:1 classid 1:1x htb rate xxxxkbit
ceil xxxxkbit prio 3 quantum 1532

# setting up leafs 1:xxxx
/sbin/tc class add dev eth1 parent 1:11 classid 1:xxxx htb rate xxxxKbit
ceil xxxxKbit prio x quantum 1532
/sbin/tc qdisc add dev eth1 handle xxxx: parent 1:xxxx sfq



Kind Regards
William Bohannan

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to