The TCP/IP Model
The simpler, 4-layer model that the real internet actually runs on.
Why TCP/IP Exists Alongside OSI
While OSI is a 7-layer THEORETICAL reference model, TCP/IP is a 4-layer PRACTICAL model that describes how the actual internet works. It was developed by the US Department of Defense before OSI was finalized, and became the de facto standard because it was simpler and already working in practice.
The 4 Layers of TCP/IP
Application Layer (combines OSI's Application, Presentation, and Session layers โ handles HTTP, FTP, email, DNS), Transport Layer (same role as OSI's Transport โ TCP and UDP live here), Internet Layer (matches OSI's Network layer โ handles IP addressing and routing), Network Access/Link Layer (combines OSI's Data Link and Physical layers โ handles the actual hardware transmission).
Key Protocols at Each Layer
Application: HTTP/HTTPS (web browsing), FTP (file transfer), SMTP (email), DNS (domain name lookup). Transport: TCP (reliable) and UDP (fast, no guarantee). Internet: IP (addressing), ICMP (used by tools like 'ping'). Network Access: Ethernet, Wi-Fi standards, and hardware-level protocols.
Why the Simpler Model Won in Practice
TCP/IP's 4 layers map more directly onto real protocols that engineers actually implement and troubleshoot day to day โ there was no need for separate Session and Presentation layers as distinct protocols in real internet architecture, since applications tend to handle those responsibilities themselves.
How TCP/IP is Named
The model gets its name from its two most important protocols: TCP (Transmission Control Protocol, at the Transport layer) and IP (Internet Protocol, at the Internet layer) โ together, these two protocols form the backbone of how virtually all internet communication actually happens.
๐ Real-World Use
Every single time your device connects to a Wi-Fi network and loads a webpage, it's using the TCP/IP model in action โ IP handles addressing your device and routing packets, while TCP (or UDP for things like video calls) handles the actual reliable delivery of the data.
๐ก Pro Tip
In interviews, if asked 'why do we have both OSI and TCP/IP', the strongest answer is: OSI is used as a universal teaching/reference framework for UNDERSTANDING networking concepts, while TCP/IP is the model that's actually IMPLEMENTED in real-world internet infrastructure.
๐งช Quick Self-Test
Check what you just learned โ no pressure, just practice.
1. How many layers does the TCP/IP model have?
2. Which TCP/IP layer combines OSI's Application, Presentation, and Session layers?