htb doubts
hi all,
i want to clear a doubt i have for some time..
if my htb rules(part of) looks like this--->
...
...
tc class add dev eth0 parent 1:10 classid 1:1005 htb rate
${Netwk-64}kbit ceil ${Netwk}kbit
tc qdisc add dev eth0 parent 1:1005 handle 1005 pfifo limit 2
...
tc class add dev eth0 parent 1:20 classid 1:2000 htb rate ${Caf}kbit
ceil ${All}kbit
tc qdisc add dev eth0 parent 1:2000 handle 2000 pfifo limit 2
...
tc class add dev eth0 parent 1:20 classid 1:2001 htb rate ${Ofice}kbit ceil $[All-64]kbit
tc qdisc add dev eth0 parent 1:2001 handle 2001 pfifo limit 2
...
what numeric should be used in for handle.. can i use the same numeric value as of **classid** for handle ?.. or should they be unique ? for eg above i used classid 1:2001 and used handle 2001--will it work ?
awaiting your help in this....
A.H
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines
tc class add dev eth0 parent 1:20 classid 1:2001 htb rate ${Ofice}kbit ceil $[All-64]kbit
tc qdisc add dev eth0 parent 1:2001 handle 2001 pfifo limit 2
...what numeric should be used in for handle.. can i use the same numeric value as of **classid** for handle ?.. or should they be unique ? for eg above i used classid 1:2001 and used handle 2001--will it work ?
awaiting your help in this....
Yes. Actually it's handle 2001:0
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/