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

I'm seeking advice about which technology to use to classify packets for shaping in traffic control (tc). I've found at least 3 that could be used:

  • iptables MARK
  • iptables CLASSIFY
  • tc filter

Which one should I use? Is there one that is better than others?

share|improve this question

All of those are OK to do the marking but I recommend "tc filter" because:

  • You have the rules in one place.
  • By using hashes, you can obtain a very fast classification.
share|improve this answer

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.