[LARTC] Unknown filter "tcindex" ?

Linux Advanced Routing and Traffic Control

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

 



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







[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux