tc filter problem

Bruno Wolff III bruno at wolff.to
Sun Jul 18 13:26:20 UTC 2004


On Sat, Jul 17, 2004 at 14:59:40 -0500,
  Bruno Wolff III <bruno at wolff.to> wrote:
> I am trying to use the htb traffic shaping example from the advanced
> routing howto and the tc filter commands aren't working. tc's error
> messages seem to be nearly content free and I haven't been able to
> figure out or guess what the problem is. It appears to be something
> after the 'u32' in the following sample:
> [root at bruno bruno]# tc filter add dev ppp0 parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff  flowid 1:10
> RTNETLINK answers: Invalid argument
> 
> All four  of the tc filter commands in the script produce this same
> error message.

If I change the tc command to not use the 0x hex notation and use decimal
equivalents I get a different error message:
Illegal "match"

In general the documentation of tc seems pretty sparse compared to other
commands in the iproute2 suite.

Is there any documentation for the implementation of tc used in fedora?





More information about the fedora-list mailing list