Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 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 flowid 1:190
share|improve this answer
@paulos: Thanks! This worked for me :D – diosney Oct 11 '11 at 23:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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