htb doubts

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux