Skip to contentSkip to conversation

htb filter attaching

LARTC Nickola Kolev 1 participant 1 message Oct 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi, list,

I have a (simple) question regarding htb:

When I attach a filter to a class, is there a difference whether I'm attaching it to the current class, or to the root of all classes?

For example:

# Level 2 - Servers Class

	$tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
	rate $SERVER_GARAN ceil $SERVER_MAX

And:

# Level 2 - Servers Class

	$tc class add dev $dev parent $SERVER_CLASS classid $SERVER_CLASS htb \
	rate $SERVER_GARAN ceil $SERVER_MAX

What's the path a packet will traverse in either cases? Does it make sense?
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/