Loading…
Loading…
Charting your lesson…
Opening your lesson…
The TCP/IP Model
Lesson 2 of 3
6 steps•about 12 min•11 flashcards
Step 1/ 61 min
The internet doesn't actually run on OSI — it runs on TCP/IP, a leaner, practical model that predates OSI and became the real-world standard. Knowing how its layers map to OSI and which protocols live where is core networking knowledge.
Core idea: the TCP/IP model is the 4-layer (sometimes 5) architecture the internet is built on: Application, Transport, Internet, Network Access (Link). It's protocol-driven and practical — built around the actual TCP and IP protocols — rather than a purely conceptual reference like OSI.
Step 2/ 61 min
| TCP/IP layer | OSI layer(s) | Key protocols |
|---|---|---|
| Application | 7 App + 6 Presentation + 5 Session | HTTP, DNS, SMTP, FTP |
| Transport | 4 Transport | TCP, UDP |
| Internet | 3 Network | IP, ICMP, ARP |
| Network Access | 2 Data Link + 1 Physical | Ethernet, Wi-Fi |
The Transport and Internet layers map one-to-one with OSI; the difference is at the top (TCP/IP merges three into one Application layer) and bottom (merges two into Network Access).
TCP/IP has an "hourglass" shape: many protocols at the top (apps) and bottom (link technologies), all funnelling through the narrow waist of IP at the Internet layer. This is the key design insight — "IP over everything, everything over IP": any application runs over any physical medium because they all agree on IP. TCP/IP beat OSI in practice because it was implemented and running (in Unix/ARPANET) while OSI was still being standardised — working code over committee design.
Step 3/ 61 min
Classify common protocols by TCP/IP layer:
HTTP, DNS, SMTP, DHCP → Application.TCP, UDP → Transport (TCP for reliable web/email, UDP for DNS queries/streaming).IP, ICMP (ping), ARP → Internet.Ethernet, Wi-Fi (802.11) → Network Access.DNS is an application-layer protocol even though it supports other applications, and it typically runs over UDP at the transport layer — a favourite "which layer?" trap. Correctly slotting each protocol is the standard exam exercise.Step 4/ 61 min
Common asks: "TCP/IP vs OSI model" (4 vs 7 layers; which merge), "which TCP/IP layer does IP/TCP/HTTP belong to", "why did TCP/IP become the standard", and "what is the Internet layer's job" (routing via IP). The one-to-one mapping of Transport and Internet layers is worth stating explicitly.
Step 5/ 61 min
Assuming TCP/IP and OSI layers correspond one-to-one across the board. Only the Transport and Internet layers map cleanly. TCP/IP's single Application layer covers OSI's Application, Presentation and Session; its Network Access layer covers OSI's Data Link and Physical. Forcing a 1:1 mapping misplaces protocols like TLS (OSI Presentation, but TCP/IP Application).
Step 6/ 6· Worked examples2 min
Problem
Map each of these real protocols/actions to its TCP/IP model layer, and state how the 4-layer TCP/IP model corresponds to the 7-layer OSI model: (a) HTTP and DNS, (b) TCP and UDP, (c) IP and ICMP, (d) Ethernet and Wi-Fi.
Try it on paper first.
Recall
Keep this
The TCP/IP model is the practical counterpart to OSI and a common interview compare-and-contrast: "difference between OSI and TCP/IP" is asked frequently. TCP/IP is what the real internet runs on, so know its layers and how they map to OSI.
| TCP/IP layer | Maps to OSI | Protocols |
|---|---|---|
| Application | App + Presentation + Session | HTTP, FTP, DNS, SMTP |
| Transport | Transport | TCP, UDP |
| Internet | Network | IP, ICMP, ARP |
| Network Access (Link) | Data Link + Physical | Ethernet, Wi-Fi |
"OSI vs TCP/IP", "how many layers in TCP/IP?", "which OSI layers does the TCP/IP application layer cover?", "which model does the internet use?", and mapping a protocol to its TCP/IP layer.
TCP/IP has 4 layers: Application (=OSI app+presentation+session), Transport (TCP/UDP), Internet (IP/ICMP/ARP = OSI network), Network Access (=data link+physical). It's protocol-first and practical — what the internet runs on — versus OSI's 7-layer theoretical reference model.
You've read 0 of 6 steps
Now lock it in — questions straight after reading are what make it stick.