Network security

What Is QoS in Networking? Quality of Service Explained Simply

QoS decides which traffic goes first when your network is busy. Here is how classification, marking, queuing and shaping protect calls and video.

Cysoro Security TeamPublished · 9 min read
Voice • EF 46 • first Video • AF41 • next Web • best effort Backups • waits NETWORK SECURITY What isQoS? Who goes first when the link is busy.
Quick answer

QoS, or Quality of Service, is a set of networking techniques that classify traffic, mark packets, and prioritize delay-sensitive traffic such as voice and video when a link is congested. It does not add bandwidth: on a 100 Mbps link carrying 140 Mbps of demand, QoS decides which 40 Mbps waits or is dropped, so calls keep working while bulk downloads wait.

Key takeaways

  • QoS prioritizes traffic during congestion; it cannot create bandwidth that does not exist.
  • The usual mechanism is classify, mark with DSCP, queue, schedule, and police or shape traffic that exceeds its rate.
  • Voice and video need low delay and jitter, so they get strict priority, while bulk data gets the remaining bandwidth.

You have probably seen it: a video call freezes the moment someone starts a large download, or a voice call turns robotic when a backup kicks in. That is not always a slow connection. Often the link is fine, but every packet is treated the same — and QoS is the tool that stops treating them the same.

What is QoS in networking?

QoS, or Quality of Service, is a set of mechanisms that let a network give different performance to different types of traffic. It classifies packets, marks them, queues them, and enforces rates, so delay-sensitive traffic is protected when a link is congested.

The IEEE describes QoS as the set of mechanisms and standards that allow a network to provide different performance guarantees to different types of traffic. Without it, all traffic receives equivalent handling regardless of its sensitivity to delay, loss or jitter. A voice packet and a file-download packet wait in the same queue, and the call suffers first.

QoS matters most for real-time traffic. Voice over IP, video conferencing, online gaming and live streaming need low delay, low jitter and low loss. A file download can wait a second without anyone noticing. A voice call cannot.

Why does QoS matter?

QoS matters because networks are shared and capacity is finite. Many applications share one link, and they do not all need the same thing from it. When demand exceeds capacity, something has to wait, and without QoS the choice is first-come, first-served.

That is a security and business problem as well as a quality problem. A congested link can delay a security camera feed, break a remote support session, or make a cloud application unusable during a backup window. QoS lets you decide in advance what is protected and what can wait.

It also matters for planning. If you know voice needs a guaranteed share of a link, you can size the link and the policy together, instead of discovering the problem during a busy Monday morning.

How does QoS work?

Most QoS deployments follow the same sequence on each device along the path: classify, mark, queue and schedule, then police or shape. Each step has a distinct job, and skipping one weakens the rest.

How QoS treats a packet 1Classifyidentify thetraffic type 2Markwrite a DSCPvalue in the header 3Queueeach class waitsin its own queue 4Scheduleserve voice first,share the rest 5Enforceshape or policeexcess traffic Queuing and scheduling only engage when the link is congested.
The five QoS steps, from classification to enforcement. Illustration by Cysoro.

1. Classification

Classification identifies what each packet is, using source and destination addresses, port numbers, protocol, an existing DSCP value, or application recognition. A VoIP packet on a known port, a Teams call, and a backup transfer are sorted into different classes at this stage.

2. Marking

Marking records the class in the IP header as a DSCP value, so devices further along the path can apply the same treatment without classifying the traffic again. The point where a network starts trusting those markings is called the trust boundary, and it should be set deliberately — you do not want every device on the internet to set its own priority.

3. Queuing and scheduling

On a congested interface, each class waits in its own queue. A strict-priority queue serves voice first, while the remaining classes receive a guaranteed share of the bandwidth. Queuing and scheduling only engage once demand exceeds what the interface can send, which is why QoS can be invisible on a quiet link.

4. Policing and shaping

Policing drops or re-marks traffic that exceeds a configured rate. Shaping holds excess traffic in a buffer and sends it later at a controlled rate. Use shaping when you want to smooth bursts without losing packets, and policing when you want a hard limit.

What are the main QoS metrics?

QoS is measured in four main ways, and each one hurts a different kind of application. A policy that fixes one metric can make another worse, so you need to know which one your traffic cares about.

MetricWhat it meansTraffic hurt mostTypical target
BandwidthHow much data a link can carry per secondVideo, large downloadsEnough for the priority class
Delay (latency)How long a packet takes from sender to receiverVoice, gamingUnder 150 ms one-way for voice
JitterVariation in delay between packetsVoice, videoUnder 30 ms for voice
Packet lossShare of packets that never arriveVoice, video, real-time dataUnder 1% for voice
AvailabilityShare of time the service is upAll business trafficSet in the SLA

Delay and jitter are the ones people notice first on a call. A packet that arrives 200 milliseconds late is useless for a live conversation, even if it eventually arrives. That is why voice gets strict priority, not just a large share of bandwidth.

What is DiffServ vs IntServ?

DiffServ and IntServ are the two classic QoS architectures, and they solve the problem in opposite ways. DiffServ scales, IntServ guarantees, and most real networks use DiffServ.

DiffServ, defined in RFC 2475, groups traffic into classes and marks packets with DSCP values. Each router applies a per-hop behavior to each class, without keeping state for every individual flow. That makes it scalable across backbones and the internet, where no single device can track millions of flows.

IntServ, defined in RFC 1633, reserves resources for each individual flow using RSVP, the Resource Reservation Protocol. It can give a hard guarantee, but it needs every router along the path to keep state for that flow, which does not scale to large networks. It survives mainly in controlled environments such as private WANs.

What are the DSCP classes?

DSCP uses a 6-bit field in the IP header, defined in RFC 2474. The values are grouped into classes, and RFC 4594 maps common application types to them. You do not need to memorize every value, but you should know the main groups.

DSCP classTypical trafficTreatment
Expedited Forwarding (EF, 46)VoiceStrict priority, low delay and jitter
Assured Forwarding (AF41, AF31)Video conferencing, business appsGuaranteed bandwidth, low drop probability
Class Selector (CS3, CS2)Signalling, network controlHigher than best effort
Default (0)Ordinary web and emailBest effort
Lower classesBackups, bulk transfersScavenger: use only spare capacity
The QoS priority ladder Voice — strict priority, lowest delay Video — guaranteed bandwidth Business apps — assured forwarding Web and email — best effort Backups — spare capacity only
Higher classes are served first when a link is congested. Illustration by Cysoro.

Marking is only half the job. If the next router ignores your DSCP values, or rewrites them to zero, your policy ends at your own network edge. Check markings end to end before you assume they survive to a cloud provider or a branch office.

How does QoS work in Wi-Fi?

Wi-Fi adds a problem wired networks do not have: the medium is shared, and every device competes for airtime. The IEEE 802.11e amendment added QoS extensions to Wi-Fi, defining Enhanced Distributed Channel Access with four access categories that give voice and video traffic preferential contention parameters.

In practice, a voice device waits less time before transmitting than a background device, and gets more frequent opportunities to send. That is why a well-configured Wi-Fi network can carry calls even when laptops are syncing files in the background.

Wi-Fi QoS also has limits. It cannot fix a weak signal, interference from a neighbor, or a congested internet link. If calls drop in one room, check coverage and channel interference before you blame the QoS policy.

QoS vs bandwidth: what is the difference?

Bandwidth management is the broader discipline: measuring how capacity is used, deciding what matters, controlling traffic, and planning for growth. QoS is one of its main control mechanisms, not the whole discipline.

The key point, made clearly in the ManageEngine guide, is that QoS divides capacity; it does not add any. If a 100 Mbps link carries 140 Mbps of demand, QoS decides which 40 Mbps waits or is dropped. It cannot make the link carry more.

That is why the right answer to chronic congestion is usually more bandwidth, or moving bulk traffic to off-peak hours, not a cleverer QoS policy. Use QoS to protect the important traffic while you fix the capacity problem, not as a substitute for fixing it.

Is QoS a security control?

QoS is not a security control in the usual sense, but it protects availability, which is one third of the security triad. A network that cannot carry a security camera feed, a remote support session or a cloud login during congestion has an availability problem, even if nothing was hacked.

QoS can also be abused. If anyone can mark their own traffic as high priority, the priority queue becomes meaningless. Set a trust boundary, remark traffic at the edge, and monitor for devices that mark everything as voice.

For a home network, the security angle is simpler. Securing your Wi-Fi matters more than tuning QoS, because an open or weakly protected network lets a neighbor consume the bandwidth QoS is trying to protect. Our guide to how to secure your Wi-Fi covers the basics.

How do you set up QoS?

Start by measuring, not by configuring. Look at what actually uses your link during busy hours, and which applications suffer. A week of traffic data will tell you more than a guess about priorities.

  1. Measure traffic. Identify the top applications by volume and the ones that suffer during congestion.
  2. Define classes. Keep it simple: voice, video, business-critical, best effort, and bulk. Five classes are easier to manage than fifteen.
  3. Mark at the edge. Set DSCP values where traffic enters your network, and remark anything untrusted.
  4. Give voice strict priority. Reserve a small, guaranteed share for voice, and do not let bulk traffic borrow from it.
  5. Shape bulk traffic. Cap backups and large transfers so they use spare capacity, not the whole link.
  6. Test under load. Start a backup and a video call at the same time, and check that the call stays clear.
  7. Monitor and tune. Review queue drops weekly at first. A queue that is always dropping packets needs a bigger share or a lower rate limit.

On a home router, the steps are the same but simpler: enable QoS, choose the device or application to prioritize, and set the download and upload speeds to about 90 to 95 percent of your real speeds, so the router, not your ISP, controls the queue.

Common QoS mistakes to avoid

The most common mistake is marking everything as high priority. If every packet is urgent, none of them is, and the queue behaves like first-come, first-served again. Reserve strict priority for voice and a small set of truly critical applications.

The second mistake is trusting markings from outside your network. An ISP or a cloud provider may ignore or rewrite DSCP values, so a policy that works inside your office can vanish on the WAN. Test markings across the whole path.

The third mistake is forgetting that QoS only helps under congestion. If a call is bad on a quiet link, the problem is elsewhere: a bad cable, a failing access point, or a server issue. QoS will not fix it.

Finally, do not set a policy and forget it. Traffic changes when a new application is adopted or a team moves to video-first meetings. Review the classes at least once a quarter.

The bottom line

QoS is how a network keeps its promises when it is busy. Classify traffic, mark it with DSCP, queue it by class, and enforce rates with shaping or policing, so voice and video keep working while bulk traffic waits its turn.

Remember its limit: QoS shares bandwidth, it does not create it. Use it to protect what matters, and fix chronic congestion with more capacity or better scheduling. To check the network you are on, try our free what-is-my-IP tool.

For a wider look at protecting a small network, our small business cybersecurity checklist covers QoS alongside updates, backups and device security.

Frequently asked questions

What does QoS stand for in networking?

QoS stands for Quality of Service. In networking it means the techniques that give different traffic different treatment, so delay-sensitive applications such as voice calls and video meetings get the performance they need when a link is congested.

Does QoS increase internet speed?

No. QoS does not increase your total bandwidth. It decides how the bandwidth you already have is shared when demand exceeds supply. A 100 Mbps link stays a 100 Mbps link, but QoS can stop a large download from ruining a video call on that link.

What is DSCP in QoS?

DSCP is the Differentiated Services Code Point, a 6-bit field in the IP header defined in RFC 2474. A device writes a DSCP value into a packet to record its traffic class, so devices further along the path can apply the same treatment without classifying the traffic again.

What is the difference between QoS shaping and policing?

Shaping delays excess traffic in a buffer and sends it later at a controlled rate, which smooths bursts. Policing drops or re-marks traffic that exceeds a configured rate immediately. Shaping is gentler but adds delay; policing is stricter and can cause retransmissions.

Should I enable QoS on my home router?

Yes, if your router offers it and your household has video calls, gaming or streaming competing with downloads and backups. Enable it, prioritize voice and video, and give bulk traffic a lower priority. If your internet connection is rarely congested, QoS will make little visible difference.

What is DiffServ?

DiffServ, or Differentiated Services, is the architecture defined in RFC 2475 that most IP networks use for QoS. It groups traffic into classes, marks packets with DSCP values, and gives each class a per-hop forwarding behavior at each router, without keeping state for every individual flow.

What is QoS in Wi-Fi?

In Wi-Fi, QoS comes mainly from the IEEE 802.11e amendment, which added Enhanced Distributed Channel Access. It defines four access categories — voice, video, best effort and background — that give voice and video traffic preferential access to the shared wireless medium.

What traffic should get the highest QoS priority?

Voice traffic usually gets the highest priority because it is the most sensitive to delay and jitter, followed by interactive video. Business-critical applications come next, then best-effort web traffic, and bulk transfers such as backups and large downloads get the lowest priority.

Sources

  1. IEEE Technology Navigator — Quality Of Service (QoS)
  2. ManageEngine — What is QoS and how does it relate to bandwidth management?
  3. Kurose and Ross — Computer Networking: QoS and Slicing (Chapter 11)
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the IEEE Technology Navigator QoS overview, ManageEngine's QoS guide, and the Kurose and Ross networking textbook chapter on QoS.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free