Skip to Content
Network Warrior, 2nd Edition
book

Network Warrior, 2nd Edition

by Gary A. Donahue
May 2011
Intermediate to advanced
788 pages
23h 34m
English
O'Reilly Media, Inc.
Content preview from Network Warrior, 2nd Edition

QoS Mechanics

QoS is usually deployed by first marking packets, then policing the packets, and, finally, scheduling the packets. Marking refers to deciding what priority a packet should be and labeling it accordingly. For example, a voice RTP stream would have the highest priority. Policing refers to the actions the router takes based on how the packets are marked. For example, we might specify that any packet marked with the highest priority should be guaranteed 10 percent of the overall link’s available bandwidth. Scheduling refers to the interface actually serving the packets in the order determined by how the marked packets are policed. In other words, in the case of high-priority voice RTP packets, we will deliver them first and then deliver all other packets according to their priorities (if applicable).

All of these steps can be carried out on the same device or on separate devices. For example, Cisco IP phones can automatically set their voice RTP packets to a high priority. This means you don’t have to test for that packet type on the router. Marking on a router adds processing load, so if it can be offloaded to a device that can do it natively, that’s generally a good idea.

Priorities

Every IP packet has a field in it called the type of service (TOS) field. This eight-bit field is split up into a couple of sections that can be a little confusing. The beauty of the design is buried in its logic, so hang in there while I explain.

Two primary types of IP prioritization are used ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Networks, Fifth Edition

Computer Networks, Fifth Edition

David J. Wetherall, Andrew S. Tanenbaum

Publisher Resources

ISBN: 9781449307974Errata Page