How Can I configure a "catch all" filter with tc filter?

I tested with the following code but it gave me the error: "Unknown filter "1:100", hence option "protocol" is unparsable":

tc filter add dev $IF_LAN parent 1:100 protocol ip prio 7 flowid 1:190

Thanks in advance.

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Give something like this a try for a catch-all

tc filter add dev $IF_LAN parent 1: protocol ip prio 7 u32 match ip dst 0.0.0.0/0 flowid 1:190
link|improve this answer
@paulos: Thanks! This worked for me :D – diosney Oct 11 '11 at 23:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.