Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.