OSI and TCP/IP Models

Key Takeaways

  • The OSI model has seven layers used as a shared vocabulary for functions and troubleshooting boundaries.
  • The TCP/IP model collapses real Internet communication into four layers: network access, internet, transport, and application.
  • Encapsulation adds a header at each layer going down the stack; decapsulation strips them going up at the receiver.
  • Layered troubleshooting isolates whether a fault is physical, local-link, addressing, transport, name-resolution, or application related.
Last updated: June 2026

Why Models Matter

Models are not cables or commands; they are organized descriptions of what must happen for communication to work. The CCST Networking exam expects you to recognize both the seven-layer Open Systems Interconnection (OSI) reference model and the four-layer TCP/IP model, and to use them to localize faults. Both break a complicated event, like loading a secure web page, into smaller functions you can test independently.

The Seven OSI Layers

Memorize the layers in order, top to bottom or bottom to top, along with the keyword each one owns.

#OSI layerOwnsTCP/IP equivalent
7ApplicationUser-facing services (HTTP, DNS, SSH)Application
6PresentationFormatting, encryption, encodingApplication
5SessionConversation setup/teardownApplication
4TransportTCP/UDP, ports, reliabilityTransport
3NetworkIP addressing, routingInternet
2Data LinkFrames, MAC, switching, VLANsNetwork access
1PhysicalCable, fiber, radio, voltage, linkNetwork access

A common mnemonic bottom-up is "Please Do Not Throw Sausage Pizza Away." Layer 1 (Physical) covers connectors, pinouts, light, voltage, and link presence, so an unplugged cable, broken fiber, or weak signal starts here. Layer 2 (Data Link) handles local delivery with Ethernet/Wi-Fi frames and MAC addresses. Layer 3 (Network) handles logical addressing and routing: IPv4, IPv6, masks, prefixes, and default gateways. Layer 4 (Transport) provides process-to-process delivery using TCP or UDP port numbers; TCP adds connection setup, sequencing, acknowledgments, and retransmission, while UDP stays lightweight.

Layers 5 through 7 are often discussed together at entry level. Layer 7 (Application) is where DNS, DHCP, HTTP/HTTPS, SMTP, IMAP, SSH, and SNMP operate; Layer 6 (Presentation) handles encryption and data representation; Layer 5 (Session) manages conversations.

The TCP/IP Model and Encapsulation

The TCP/IP model matches how real protocol suites are grouped. Network access combines OSI Layers 1-2 (Ethernet, Wi-Fi). Internet maps to IP addressing and routing. Transport maps to TCP and UDP. Application holds everything users touch.

Encapsulation adds layer-specific headers as data moves down the stack before transmission, and the protocol data unit (PDU) name changes at each step:

  • Application produces data.
  • Transport adds a TCP/UDP header to make a segment (or datagram for UDP).
  • Network adds an IP header to make a packet.
  • Data Link adds the frame header/trailer to make a frame.
  • Physical transmits bits as electrical, optical, or radio signals.

At the receiver, decapsulation strips each header in reverse so the application gets usable data.

Layered Troubleshooting in Practice

The layers turn vague tickets into an ordered checklist. If a desktop has no link light, testing DNS first wastes time, because Layer 1 is already suspect. If link is good and the host has a valid IP but cannot leave its subnet, focus on Layer 3 (gateway, routing). If a ping to an IP address succeeds but the same site fails by name, DNS at Layer 7 is the likely culprit. If DNS resolves but only one application fails, suspect port filtering, server availability, certificate trust, or the app itself.

Common trap: the exam loves the ping-by-IP-works-but-name-fails scenario; the answer is name resolution, not the cable. For CCST work, memorize each layer's purpose, learn the four-layer grouping, and practice mapping symptoms to layers. The point is never reciting a model in isolation; it is using the model to say where traffic is failing and what evidence supports your next move.

Mapping Tools and Symptoms to Layers

The real value of the models on the job is that each common tool and symptom lines up with a layer, so you can move methodically instead of randomly. A blank link light, a port stuck at 10 Mbps half-duplex, or a snapped fiber strand are Layer 1 problems. A switch port in the wrong VLAN, a MAC-address table that never learns the host, or a Wi-Fi client that cannot associate are Layer 2 problems. A wrong subnet mask, a missing or incorrect default gateway, or an unreachable remote network are Layer 3 problems. A blocked port, a refused connection, or a half-open TCP session are Layer 4 problems.

A failed name lookup, an expired certificate, or a server returning an error page are upper-layer (5-7) problems.

Two habits make this disciplined. Work bottom-up when the symptom is total loss of connectivity: confirm link and physical first, then addressing, then routing, then the application, because a low-layer fault makes every higher test meaningless. Work top-down when one specific application fails while others work: the lower layers are clearly fine, so start near the application. A technician who can say "ping to the gateway succeeds, ping to the remote IP succeeds, but name resolution fails, so this is a Layer 7 DNS issue" has produced exactly the kind of evidence the next support tier needs.

Finally, remember that the OSI model is a reference model and the TCP/IP model is the one the Internet actually implements; encapsulation and decapsulation happen the same way in both. Knowing the PDU name at each layer, segment, packet, frame, bits, lets you read a packet capture and instantly say which layer's header you are inspecting, which is the bridge into the next section.

Test Your Knowledge

Which OSI layer is most directly associated with IP addressing and routing?

A
B
C
D
Test Your Knowledge

In the four-layer TCP/IP model, which layer contains TCP and UDP?

A
B
C
D
Test Your Knowledge

A workstation can ping 8.8.8.8 but cannot browse to a website by name. Which area should be checked early?

A
B
C
D