Network protocols are the standardized rules governing how data is transmitted between devices on a network. They operate across multiple layers of abstraction—from physical signals on a wire to application-layer messages in a browser—and each protocol serves a specific purpose in ensuring reliable, efficient, and secure communication. Understanding protocols like TCP/IP, UDP, HTTP, DNS, and their modern successors (QUIC, HTTP/3, MQTT) is essential for diagnosing network issues, optimizing performance, and designing scalable systems. Keep in mind that the protocol stack is hierarchical: higher-layer protocols depend on lower-layer ones for addressing, routing, and physical transmission, so knowing where each protocol lives and how they encapsulate data is key to understanding end-to-end network behavior.
What This Cheat Sheet Covers
This topic spans 14 focused tables and 115 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
Table 1: Network Models and Layers
The OSI and TCP/IP models provide the conceptual scaffolding that makes multi-vendor networking possible; every protocol in this cheat sheet maps to one or more of these layers. Understanding where a protocol sits tells you what it can and cannot see — and why debugging often requires thinking across multiple layers simultaneously.
| Model | Example | Description |
|---|---|---|
Layer 7: ApplicationLayer 4: TransportLayer 1: Physical | • Seven-layer conceptual framework dividing network communication from Physical (hardware) to Application (user-facing) • primarily used for teaching and troubleshooting rather than direct implementation | |
Layer 4: ApplicationLayer 3: TransportLayer 1: Network Access | • Four-layer practical model underlying the modern Internet • combines OSI's upper layers into Application and lower layers into Network Access • simpler and more widely deployed than OSI | |
HTTP, FTP, SMTP, DNS | • Provides network services directly to end-user applications • handles high-level protocols for data exchange like web browsing, email, and DNS | |
SSL/TLS, JPEG, ASCII | • Translates data between application and network formats • handles encryption, compression, and encoding | |
NetBIOS, RPC | • Manages sessions and connections between applications • establishes, maintains, and terminates communication sessions |