How to set DSCP marks inside a packet using iptables commands?
Issue
- How can I set DSCP mark inside a packet using iptables command.
- How can I achieve following using iptables,
1) If packet has to be sent over network A, the DSCP value should be set 1.
2) If packet has to be sent over network B, the DSCP value should be set 2.
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
