Skip to contentSkip to conversation

naming classes/qdiscs - answer

LARTC Don Cohen 1 participant 1 message Dec 7, 2001

lore
Share & tools
lore

Don Cohen

author
#0 lore raw
Quoted 1 line

is the naming of classes essential for building them correctly? is

parent 1:1 classid 10:0 somehow different from parent 1:1 classid 1:2? up to now i thought classid was only a name and the parent would be enough to make the classes' positions in the tree unambiguously...

I think I mentioned this in my review of the recent howto updates. Here's the explanation from
http://luxik.cdi.cz/~devik/qos/htb/

Note: In general (not just for HTB but for all qdiscs and classes in tc), handles are written x:y where x is an integer identifying a qdisc and y is an integer identifying a class belonging to that qdisc. The handle for a qdisc must have zero for its y value and the handle for a class must have a non-zero value for its y value. The "1:" above is treated as "1:0".

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/