htb filter attaching

Linux Advanced Routing and Traffic Control

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

 



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 / 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