How to change DSCP class for QOS?

Solution Verified - Updated -

Issue

  • How to configure the Differentiated Services Code Point (DSCP) value for network QoS?
  • How to change the Type of Service (TOS) field in the IP header?
  • We’ve been asked by the networking teams to start setting a DiffServ value in our IP headers in order to better prioritize our application traffic during times of network congestion.
  • We would like to explore if there is any existing functionality in applications to configure DSCP IP headers for QoS over the network.

Environment

  • Red Hat Enterprise Linux 6 and later
  • IP Quality-of-Service (QoS)
  • iptables firewall (RHEL 7 and older)
  • nftables firewall (RHEL 8 and later)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content