Lably
Skip to content

Differentiated services

Networking architecture for prioritizing traffic

  • 9 min read
  • 6 chapters

Related on Lably

Through Computer network, Voice over IP and Internet

DiffServ uses a 6-bit differentiated services code point (DSCP) in the 6-bit differentiated services field (DS field) in the IP header for packet classification purposes. The DS field, together with the ECN field, replaces the outdated IPv4 TOS field.

Background

Modern data networks carry many different types of services, including voice, video, streaming music, web pages and email. Many of the proposed QoS mechanisms that allowed these services to co-exist were both complex and failed to scale to meet the demands of the public Internet. In December 1998, the IETF replaced the TOS and IP precedence fields in the IPv4 header with the DS field, which was later split to refer to only the top 6 bits with the ECN field in the bottom two bits. In the IPv6 header the DS field is part of the Traffic Class field where it occupies the 6 most significant bits.

In the DS field, a range of eight values (class selectors) is used for backward compatibility with the former IPv4 IP precedence field. Today, DiffServ has largely supplanted TOS and other layer-3 QoS mechanisms, such as integrated services (IntServ), as the primary architecture routers use to provide QoS.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication