1.10 OSI and TCP/IP Reference Models

Key Takeaways

  • The OSI model has 7 layers (Physical, Data Link, Network, Transport, Session, Presentation, Application).
  • The TCP/IP model has 4 layers (Network Interface, Internet, Transport, Application) and maps to real-world protocols.
  • Data encapsulation adds headers at each layer: Data → Segment → Packet → Frame → Bits.
  • Each layer provides services to the layer above and uses services from the layer below.
  • Know which protocols operate at which layer — this is heavily tested on the CCNA.
Last updated: March 2026

OSI and TCP/IP Reference Models

Understanding the layered networking models is fundamental to every CCNA topic. Questions about which layer a protocol operates at, or what happens during encapsulation, appear throughout the exam.

The OSI Model (7 Layers)

LayerNamePDUFunctionExamples
7ApplicationDataUser interface to network servicesHTTP, FTP, SMTP, DNS, DHCP, Telnet, SSH
6PresentationDataData formatting, encryption, compressionSSL/TLS, JPEG, ASCII, MPEG
5SessionDataEstablish, manage, terminate sessionsNetBIOS, RPC, PPTP
4TransportSegment (TCP) / Datagram (UDP)End-to-end delivery, flow control, error recoveryTCP, UDP
3NetworkPacketLogical addressing, routing, path determinationIP, ICMP, OSPF, EIGRP, ARP
2Data LinkFramePhysical addressing, error detection, media accessEthernet, 802.11, PPP, HDLC, STP
1PhysicalBitsPhysical transmission of raw bitsCables, connectors, voltages, light signals, hubs

Memory trick: "All People Seem To Need Data Processing" (Layer 7 down to Layer 1). Or from the bottom: "Please Do Not Throw Sausage Pizza Away."

The TCP/IP Model (4 Layers)

TCP/IP LayerOSI EquivalentProtocols
ApplicationLayers 5, 6, 7HTTP, FTP, SMTP, DNS, SSH, DHCP, SNMP
TransportLayer 4TCP, UDP
InternetLayer 3IPv4, IPv6, ICMP, OSPF, EIGRP, BGP, ARP
Network InterfaceLayers 1, 2Ethernet, Wi-Fi, PPP, Frame Relay

Data Encapsulation

As data moves DOWN the layers from application to physical, each layer adds its own header (and sometimes a trailer):

LayerAddsPDU Name
Application (7-5)Application dataData
Transport (4)TCP/UDP header (source/dest port)Segment (TCP) or Datagram (UDP)
Network (3)IP header (source/dest IP address)Packet
Data Link (2)Frame header (source/dest MAC) + FCS trailerFrame
Physical (1)Converts to electrical/optical signalsBits

De-encapsulation is the reverse process when data moves UP the layers at the receiving end.

Key Protocol-to-Layer Mapping

ProtocolOSI LayerPDU
HTTP/HTTPS7 (Application)Data
DNS7 (Application)Data
DHCP7 (Application)Data
SNMP7 (Application)Data
SSH/Telnet7 (Application)Data
TCP4 (Transport)Segment
UDP4 (Transport)Datagram
IP (IPv4/IPv6)3 (Network)Packet
ICMP3 (Network)Packet
OSPF3 (Network)Packet
ARP2/3 (operates between)Frame
Ethernet2 (Data Link)Frame
802.11 (Wi-Fi)2 (Data Link)Frame
STP2 (Data Link)Frame

On the Exam: ARP is a tricky one — it operates at the boundary of Layers 2 and 3. It resolves Layer 3 addresses (IP) to Layer 2 addresses (MAC). Questions may list it at either layer.

Loading diagram...
OSI Model — Data Encapsulation
Test Your Knowledge

At which OSI layer does a router operate?

A
B
C
D
Test Your Knowledge

What is the correct order of data encapsulation from top to bottom?

A
B
C
D
Test Your Knowledge

Which PDU (Protocol Data Unit) is associated with the Transport layer (Layer 4)?

A
B
C
D
Test Your Knowledge

DNS operates at which layer of the OSI model?

A
B
C
D