Module 1.2 40 minBeginner

The OSI and TCP/IP models

Two reference models describe the layered structure of networks. OSI has seven academic layers; TCP/IP has four practical ones. This chapter explains both, maps them to each other, and shows where every networking topic lives in the stack.

Sign up to read this chapter

What you'll learn

  • List the seven OSI layers in order, top down and bottom up.
  • Map each OSI layer to its equivalent TCP/IP layer.
  • Place common protocols (HTTP, TCP, IP, Ethernet, Wi-Fi) on the correct layer.

The seven OSI layers

Memorize the order. The two classic mnemonics are 'All People Seem To Need Data Processing' (top down) and 'Please Do Not Throw Sausage Pizza Away' (bottom up). You don't need to learn every protocol name in the table yet; they are examples, and the important ones get their own chapters. For now, learn the seven layers and what each one does.

#LayerJobExamples
7ApplicationUser-facing protocolsHTTP, DNS, SSH, SMTP
6PresentationEncoding, encryption, compressionTLS, JPEG, ASCII
5SessionOpen/close conversationsNetBIOS, RPC
4TransportEnd-to-end delivery, portsTCP, UDP
3NetworkLogical addressing, routingIPv4, IPv6, ICMP
2Data LinkFrame on local segment, MACEthernet, 802.11, ARP
1PhysicalBits on the wireCabling, fiber, radio

Why TCP/IP collapses some of those layers

Real-world networks ran on TCP/IP long before OSI was finalized, and TCP/IP combines several OSI layers because no protocol on the Internet actually uses them separately. The four-layer TCP/IP model is what working engineers reach for in conversation.

TCP/IP layerEquivalent OSI layersExamples
Application5–7HTTP, DNS, FTP, SSH
Transport4TCP, UDP
Internet3IPv4, IPv6, ICMP
Network access1–2Ethernet, 802.11, PPP

9 more sections in this chapter, plus a 4-question quiz and a hands-on lab.

Account required

Create a free account to read Chapter 1.2 — The OSI and TCP/IP models

You can see the title, summary, and learning objectives. To read the chapter and build the labs, create a free account — Module 1 is fully readable on the free plan.

  • Read every chapter in Module 1 — How Networks Work
  • Save labs of up to 5 devices
  • Save up to 3 topologies
  • See the full course syllabus + chapter titles

Free account · no card required · compare plans any time

Build it step by step