Skip to contentSkip to conversation

Unknown filter "tcindex" ?

LARTC Jing Shen 1 participant 1 message Jun 12, 2001

lore
Share & tools
lore

Jing Shen

author
#0 lore raw

Hi:

Execuse me if this has been mentioned before, I've looked around the archive but
did not find anything about the problem I met.

I'm trying to use tcindex to classify the the packet outgoing to one interface.

I do as the following :

tc q a dev eth0 root handle 10:0 cbq bandwidth 10Mbit avpkt 1500 tc c a dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit rate 10Mbit maxburst 50 avpkt 1500
tc c a dev eth0 parent 10:1 classid 10:100 cbq bandwidth 10Mbit rate 5Mbit maxburst 50 avpkt 1500
tc q a dev eth0 parent 10:100 tbf limit 65535 burst 2048 rate 5Mbit tc f a dev eth0 parent 10:0 protocol ipv4 prio 100 handle 151 tcindex classid 10:100

The first 4 commands were executed successfully , but the last line which use tcindex always
get the wrong echo as: "Unknown filter "tcindex", hence option "classid" is unparsable" ,
I'm sure I've check the tc_index item in the Linux kernel configuration (I use linux2.4.0).

Is there anyone would do me a favor to tell me why this does not work?

Thanks a lot.

James Shen

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