GRC Careers

HomeResourcesThe OSI Model

CS-040 · Network

The OSI Model

A seven-layer map for understanding how data moves across a network.

Executive Summary

The OSI model is a conceptual framework that breaks network communication into seven stacked layers, each with a defined job. It gives engineers a shared vocabulary for describing where a problem, a protocol, or an attack lives. Although real networks run on the TCP/IP model, the OSI model remains the standard teaching and troubleshooting reference.

What It Is

The Open Systems Interconnection (OSI) model is a reference framework standardized by the International Organization for Standardization that divides the work of moving data between two systems into seven distinct layers. From the bottom up they are: Physical, Data Link, Network, Transport, Session, Presentation, and Application. Each layer performs a specific function and communicates only with the layers directly above and below it, passing data through well-defined boundaries. As data is sent, it moves down the stack and each layer wraps it with its own control information, a process called encapsulation. On the receiving side the data moves back up the stack and each layer strips off the information meant for it.

Why It Matters

The OSI model matters because it turns a messy, invisible process into a structured map that people can reason about together. When something breaks, an engineer can ask which layer is failing: is it a cable and signal issue at Layer 1, an addressing issue at Layer 3, or an application response issue at Layer 7. Security professionals use the same map to place controls and attacks precisely. Firewalls, encryption, and monitoring all operate at particular layers, and knowing which is which prevents wasted effort. For anyone building a networking or security career, fluency in the seven layers is expected in interviews and daily work.

How It Works

Communication flows down the stack on the sending device and up the stack on the receiving device. The Physical layer moves raw bits as electrical, optical, or radio signals. The Data Link layer packages bits into frames and handles local delivery using hardware (MAC) addresses. The Network layer routes packets between networks using logical (IP) addresses. The Transport layer provides end-to-end delivery, ordering, and reliability, and this is where TCP and UDP live. The Session layer manages the dialogue between applications, opening and closing conversations. The Presentation layer handles data format, encoding, and encryption so both sides interpret data the same way. The Application layer is closest to the user and provides network services to software, such as web browsing and email. A common memory aid reads the layers from Layer 1 to Layer 7 as Please Do Not Throw Sausage Pizza Away.

Architecture Diagram

Layer 7 Application: services for user software
Layer 6 Presentation: format, encoding, encryption
Layer 5 Session: opens and manages conversations
Layer 4 Transport: end-to-end delivery, TCP and UDP
Layer 3 Network: routing between networks, IP addresses
Layer 2 Data Link: frames and MAC addresses
Layer 1 Physical: raw bits as signals on the medium
The seven OSI layers, from raw signal at the bottom to user-facing services at the top. Data is encapsulated on the way down and decapsulated on the way up.

Visual Workflow

An application creates data and hands it to the Application layer at the top of the stack.Each layer adds its own header (and the Data Link layer a trailer) as the data descends, encapsulating it into segments, packets, and frames.The Physical layer transmits the finished frame as raw signals across the medium.The receiving device reverses the process, with each layer removing the header meant for it.The original data is delivered to the matching application on the receiving side.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Packet analyzer
Shows how data is encapsulated across layers in captured traffic
Cable and link tester
Verifies Physical and Data Link layer connectivity
Ping and traceroute
Tests Network layer reachability and the path packets take
Protocol reference chart
Maps common protocols to their OSI layers

Industry Standards

ISO/IEC 7498-1
The formal standard that defines the OSI reference model
IEEE 802 family
Defines Data Link and Physical layer standards for LANs and wireless
IETF RFCs
Define the transport and network protocols mapped onto the model

Career Relevance

The OSI model is foundational knowledge for network engineers, network security engineers, SOC analysts, and security engineers, and it appears in nearly every entry-level networking and security interview. Cloud security engineers use it to reason about virtual networks and traffic flow. Understanding the layers lets professionals communicate precisely about where problems and defenses belong, which is a daily requirement across the roles that AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

CompTIA Network+ CompTIA Security+ Cisco CCNA

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Is the OSI model actually used on real networks?

Not as a running protocol stack. Real networks use the TCP/IP model. The OSI model is a conceptual reference used for teaching, design discussion, and troubleshooting because its seven layers describe network functions in more granular detail.

What is the difference between the OSI and TCP/IP models?

The OSI model has seven layers, while the TCP/IP model condenses them into four. The OSI Application, Presentation, and Session layers roughly map to the TCP/IP Application layer, and the Physical and Data Link layers map to the TCP/IP Link layer.

How should I memorize the layers?

A common mnemonic for Layer 1 to Layer 7 is Please Do Not Throw Sausage Pizza Away, standing for Physical, Data Link, Network, Transport, Session, Presentation, and Application.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

CompTIA Network+CompTIA Security+Cisco CCNA

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: The OSI Model
  3. Go deeper: TCP/IP
  4. Go deeper: Ports & Protocols
  5. Validate it: work toward CompTIA Network+
  6. Find the role: browse current openings

Related sheets

More in Network

Share this LinkedIn Facebook X Email