Giving VoIP Traffic the Green Light, Part 1 - page 3
Bandwidth is Not Speed
The TCP/IP protocol suite (or 'stack') is sometimes known as the Internet Protocol Suite. TCP/IP is the most common usage, so we'll stick with that. TCP/IP powers virtually all computer networking these days, including the Internet. Prioritizing your VoIP traffic means you'll be manipulating packets based on fields in their TCP/IP headers.
Let's take a look at the components of TCP/IP:
IP (Internet Protocol) is the fundamental protocol of the TCP/IP protocol suite. IP provides the basic delivery service on which TCP/IP networks are built. All TCP/IP data flows through IP. IP defines the means to identify and reach a target computer. It is called both an unreliable protocol and connectionless protocol. IP does not perform error-checking or verify delivery; those jobs are handled by other protocols. In practice it is fast and reliable.
TCP (Transmission Control Protocol) provides end-to-end error detection and correction. This is what makes it possible to transfer gigabytes of files over the network without mistakes. TCP first establishes and verifies a connection; it won't send data until it is sure the receiving host is ready to receive it. TCP then numbers each related packet in a data stream in sequence, and again does not send any data segments until the receiving host acknowledges the correct starting number. Each data segment is checksummed and acknowledged, so if a packet is lost or damaged TCP asks for it to be re-sent. When the network is congested a lot of packets are lost and re-sent.
UDP (User Datagram Protocol) is also called an unreliable, connectionless protocol because it has no error-checking or delivery guarantee. UDP is fast and low-overhead, and is used for things like DNS (Domain Name Service) and NTP (Network Time Protocol) that don't send complex data streams, and that need speed more than 100 percent reliability.
There is a lot of contention during a typical TCP/IP session; what we want to do is push our VoIP packets to the head of the line. Come back next week to learn how to do this.
This article originally appeared on VoIP Planet, a JupiterWeb site.
- 1Linux Top 3: Fedora 24, Peppermint 7 and Solus 1.2
- 2Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 3Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 4Linux 4.6 Charred Weasel adds USB 3.1 Support
- 5Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader