Differentiated Services (DiffServ)
Differentiated Services · Also known as: quality of service, QoS architecture
DiffServ is a QoS architecture providing scalable, class-based service differentiation in networks. Introduced by IETF (1998), DiffServ marks packets with a Differentiated Services Code Point (DSCP) in the IP header, enabling routers to apply per-hop-behaviors (PHBs) based on markings. Unlike IntServ (which reserves resources per-flow), DiffServ is stateless and scalable to Internet scale. DiffServ remains the primary QoS mechanism in ISP and enterprise networks.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
DiffServ is standard in ISP and enterprise networks for QoS. Use DiffServ when traffic needs to be classified and prioritized. DiffServ is best-effort relative (Premium gets better service) but does not guarantee absolute rates. For absolute guarantees (e.g., 1 Mbps video), use IntServ or traffic engineering.
Strengths & limitations
- Scalable: stateless architecture scales to millions of flows
- Simple: edge-only marking, interior routers stateless
- Flexible: tunable per-hop-behaviors for different objectives
- Standards-based: widely implemented and interoperable
- Integrated with real networks: deployed everywhere
- Best-effort guarantees: no absolute rate or delay guarantee
- End-to-end path aware: different networks may interpret DSCPs differently
- Deployment complexity: requires consistent configuration across domains
- Fairness: premium traffic gets better service at expense of lower classes
- Perverse incentives: services may over-mark traffic as premium
Frequently asked
What is a PHB (Per-Hop-Behavior)?
A PHB is the treatment a packet receives at a single router, determined by its DSCP marking. Common PHBs: EF (Expedited Forwarding, low latency), AF (Assured Forwarding, rate + drop precedence), BE (Best Effort, standard priority).
How is DSCP different from TOS?
DSCP and ToS both use the IP Type of Service field (8 bits). DSCP redefines the field: 6 bits for service class, 2 bits for drop precedence. ToS is legacy (used by some routers); DSCP is modern QoS standard.
Can DiffServ guarantee latency?
No. DiffServ provides relative prioritization (Premium is faster than Best Effort) but not absolute latency. For absolute guarantees, use IntServ with admission control or traffic engineering.
What does traffic shaping do in DiffServ?
Traffic shaping delays (buffers) excess traffic to keep rate within committed rate (e.g., 10 Mbps). Unlike traffic policing (which drops), shaping reduces burstiness without loss. Used with token bucket.
Sources
How to cite this page
ScholarGate. (2026, June 3). Differentiated Services. ScholarGate. https://scholargate.app/en/telecommunications/diffserv
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- BGPTelecommunications↔ compare
- OSPFTelecommunications↔ compare
- Token BucketTelecommunications↔ compare