* [LARTC] htb doubts
@ 2002-08-23 12:50 Arindam Haldar
2002-08-23 17:11 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Arindam Haldar @ 2002-08-23 12:50 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] htb doubts
2002-08-23 12:50 [LARTC] htb doubts Arindam Haldar
@ 2002-08-23 17:11 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-08-23 17:11 UTC (permalink / raw)
To: lartc
> 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
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-23 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23 12:50 [LARTC] htb doubts Arindam Haldar
2002-08-23 17:11 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.