QoS (quality of service) is the set of network features that sorts traffic into classes and decides which packets go first, which wait and which get dropped when a link has more traffic than it can carry. For a business, its main job is protecting real-time traffic such as phone and video calls from bulk transfers like backups and software updates, and it only works on links that you, or a carrier you pay for it, actually control.
QoS creates no extra capacity. When a link has room to spare, every packet goes straight through and QoS has nothing to decide. It earns its keep in the seconds or minutes when a link is full, which on most office connections means the upload.
Why networks need QoS
Every switch, access point and router holds packets in a buffer, called a queue, when they arrive faster than the outgoing link can send them. Without QoS the queue is first in, first out. A voice packet that arrives just behind a burst from a large file upload waits its turn like everything else.
Most applications cope with that. A download that pauses for a tenth of a second finishes a tenth of a second later and nobody notices. A call is different: it sends a steady stream of small packets, and the phone cannot hold the conversation while it waits for a late one. Delay, variation in delay (jitter) and lost packets all turn into clipped words and robotic audio. Our guide to latency, jitter and packet loss explains each measurement and what voice can tolerate.
More bandwidth makes full links less frequent. QoS decides what happens when a link fills anyway, and on most networks it eventually does, if only for a few seconds when a large attachment goes out.
How QoS works: classify, mark, queue
- Classify. A device looks at each packet and decides what kind of traffic it is, using the VLAN it arrived on, its addresses and ports, or a label it already carries. Voice from the phone VLAN is one class, a nightly backup to a cloud provider is another.
- Mark. The device writes the class into the packet as a small number in its header, so devices further along do not have to classify it again.
- Queue and schedule. At each busy interface, the device puts packets into separate queues by their marks and decides how often to serve each queue.
- Manage congestion. When traffic still exceeds the link, the device shapes it, polices it or drops some of it, ideally choosing the least important traffic.
A mark on its own changes nothing. If a switch or firewall along the way has no queuing policy that reads it, a packet marked as voice is treated exactly like a packet with no mark at all. That is the most common reason a network "has QoS" and calls still break up.
What DSCP is, and the other marking schemes
DSCP (Differentiated Services Code Point) is the standard QoS mark on IP traffic. RFC 2474 redefined the old type-of-service byte in the IP header so that six of its bits carry the DSCP, giving 64 possible values from 0 to 63. The other two bits are used for congestion signaling. The same field exists in IPv4 and IPv6.
A few values come up constantly. DSCP 0 is default, best-effort traffic. DSCP 46, called EF (Expedited Forwarding, RFC 3246), is the usual mark for voice audio. The AF (Assured Forwarding) values defined in RFC 2597 split traffic into four classes with three drop levels each, so AF41 (DSCP 34) is commonly used for interactive video. Class selector values such as CS3 (DSCP 24) map to the older IP precedence scheme, and CS1 (DSCP 8) is often used for low-priority bulk traffic. Which values your phones and apps use, and the step-by-step setup for voice, are covered in our QoS for VoIP setup guide.
DSCP is not the only mark. Ethernet, Wi-Fi and MPLS each have their own, and good equipment translates between them.
| Marking scheme | Where it lives | Values | How far it reaches |
|---|---|---|---|
| DSCP | IP packet header | 64 (0 to 63) | End to end, but only where each network chooses to honor it |
| 802.1p (often called CoS) | Ethernet VLAN tag | 8 (0 to 7) | One switched network; removed when the frame leaves it |
| WMM access category | Wi-Fi frames | 4 (voice, video, best effort, background) | The radio link between an access point and a client |
| MPLS traffic class | MPLS label | 8 (0 to 7) | Inside a carrier's MPLS network |
Queuing: who goes first
Most business equipment combines two kinds of queue. A priority queue is always served first, so anything in it waits only for packets already being sent. Voice goes here. Weighted queues each get a guaranteed share of the link, so call signaling, video and important business apps are protected without blocking everything else. Whatever capacity remains goes to best-effort traffic.
The priority queue needs a limit. If too much traffic is allowed into it, or a misbehaving application marks all of its traffic as voice, it can starve every other queue on the link. Well-designed policies cap the priority class and only trust marks from known devices such as desk phones, re-marking traffic from laptops and other untrusted ports.
When queues overflow, packets are dropped. Simple equipment drops whatever arrives last. Better equipment drops selectively, for example discarding some bulk traffic early so the computers sending it slow down before the queue fills, and some routers use newer queue management methods designed to keep delay low for every flow.
Shaping vs policing
Both enforce a rate limit. They handle the excess differently, and the difference explains a lot of mysterious call problems.
| Shaping | Policing | |
|---|---|---|
| What happens to traffic over the limit | Held in a buffer and sent out a little later | Dropped, or re-marked to a lower class, immediately |
| Effect on delay | Adds some delay to the excess traffic | None for the traffic that passes |
| Effect on loss | Little, unless the buffer fills | Loss for anything over the rate |
| Where you usually find it | On your router or firewall, outbound to the carrier | At the carrier's edge, enforcing the speed you bought |
| Why it matters | Lets your priority rules decide what waits | Drops traffic without regard to your priorities |
This is why QoS guides tell you to shape outbound traffic to slightly below the circuit's real upload rate. If your firewall sends at full speed, the queue forms, or the carrier's policer drops traffic, in equipment that ignores your marks. Shaping moves the bottleneck onto your own device, where voice can go first.
Why QoS stops at the internet edge
Marks travel inside each packet, but every network along the path decides for itself whether to act on them. The public internet has no shared agreement for treating classes differently, so internet traffic is generally handled as best effort, and many carriers ignore or reset DSCP values at the point where your traffic enters their network. Direction matters too: you control what leaves your firewall, while the queue for incoming traffic forms on the carrier's side.
Tracing a call from a desk phone to a cloud phone provider shows where your policy can act.
| Segment of the path | Who controls the queue | Can your QoS policy act there? |
|---|---|---|
| Desk phone to office switch | You | Yes |
| Laptop or softphone over Wi-Fi | You, but airtime is shared | Partly, through WMM priority |
| Firewall out to the carrier (upload) | You, if you shape | Yes |
| Carrier access network | The carrier | Only if the product includes classes of service |
| Public internet between networks | Many separate networks | Generally no |
| Carrier back to your firewall (download) | The carrier | Only indirectly |
Private WAN services are the exception. MPLS and some carrier Ethernet services can carry several classes of service end to end when you buy them that way, with a set share of the circuit for each class. SD-WAN takes another approach over ordinary internet circuits: it measures delay and loss on each connection and moves calls to whichever is cleaner at that moment.
Common QoS mistakes
- Marking without queuing. Phones mark their traffic, but the switches and firewall have no policy that uses the marks.
- Trusting every mark. Any software can label its own traffic as voice, so marks from laptops should be checked or reset.
- No shaping on the upload. The queue forms in the carrier's equipment, and the priority rules never get a chance to work.
- Expecting the internet to honor DSCP. Marks help on your network and on private WAN services, and generally not beyond.
- Using QoS to hide a circuit that is too small. If the upload is full for hours every day, priority helps the calls while everything else crawls. That is a capacity problem.
- Forgetting Wi-Fi. Priority on the air only helps when there is enough airtime to go around.
If calls are already breaking up, start with our VoIP call quality troubleshooting checklist to find out whether the fault is your network, the circuit or the provider. For background on how calls travel as packets, see what VoIP is.
How FiberX helps
FiberX gets quotes from several carriers for your address and checks the details that decide whether QoS can work: the real upload speed, whether a private WAN or SD-WAN option offers classes of service, and whether the carrier's managed router can shape traffic and prioritize voice. We can also quote managed network services to set up and maintain the policy on your own equipment. The carrier pays us, so there is no markup. Request a quote, or call or text 478-758-8091.