CS FundamentalsHardGATE CS · Product company CS fundamentals

In DiffServ QoS, where is a packet's traffic class marked, and how many bits are used?

  1. A. In the TCP header as a 3-bit priority
  2. B. In the IPv4 flags field as a 2-bit class
  3. C. In the Ethernet type field as an 8-bit code
  4. D. In the IPv4 ToS / IPv6 Traffic Class byte, as a 6-bit DSCP

Correct answer: D. In the IPv4 ToS / IPv6 Traffic Class byte, as a 6-bit DSCP

DiffServ redefined the old ToS byte: 6 bits of DSCP (64 code points, e.g. EF = 46 for voice) plus 2 bits used by ECN. Routers apply per-hop behaviours based on the DSCP; 802.1p uses a separate 3-bit field in the VLAN tag.

More Computer Networks questions

Exams that ask this topic