The TCP/IP model: 4 layers compared with OSI
This lesson is open to everyone. The other lessons open with a package: sign in or sign up, then choose a package.
Key points
- TCP/IP is an open-standard protocol suite and the internet runs on it. Its standards are published by the IETF as RFC documents.
- The 4 layers of the TCP/IP model: Application, Transport, Internet, Network Access.
- OSI layers 5, 6 and 7 are a single Application layer in TCP/IP.
- OSI layers 1 and 2 are the Network Access (Link) layer in TCP/IP.
- OSI is a reference model: for explaining and troubleshooting. TCP/IP is a protocol model: the protocols that actually run.
Why are there two models?
In the 1970s and 80s two approaches developed in parallel. OSI (the ISO model) became a theoretical reference model that puts each function into its own layer. TCP/IP came out of the US ARPANET project and, as a working protocol model, became the foundation of the internet.
The Cisco curriculum (Cisco Networking Academy) teaches both: OSI is convenient for talking and troubleshooting, while TCP/IP shows the protocols that actually run on the network.
The 4 layers
| TCP/IP layer | What it does | OSI equivalent |
|---|---|---|
| Application | Serves the user's program: web, email, DNS | 7, 6, 5 |
| Transport | Communication between applications, ports, reliability | 4 |
| Internet | Choosing the best path, IP addresses, routing | 3 |
| Network Access | Access to the physical medium: frames, MAC, cable, Wi-Fi | 2, 1 |
Note: some books show TCP/IP as 5 layers, with Network Access split into Data Link and Physical. Cisco materials use the 4-layer form. Both say the same thing.
What does open standard mean?
TCP/IP does not belong to any company. Its protocols are developed by the IETF (Internet Engineering Task Force) and published as RFC (Request for Comments) documents: for example, IPv4 is described in RFC 791 and TCP in RFC 9293. That is why a Cisco router, a Linux server and an Android phone speak the same language.
Ethernet and Wi-Fi are IEEE standards (802.3 and 802.11). They work at the Network Access layer.
Which one do we use in troubleshooting?
Engineers usually talk in OSI numbers: "a Layer 2 problem", "a Layer 3 switch". But grouping protocols by TCP/IP is more convenient. In the next lesson we will look at which protocols work at each layer.
Check yourself
5 questions · answers are shown instantly · 3 correct answers complete the lesson
1How many layers does the TCP/IP model have (according to Cisco materials)?
2Which TCP/IP layer do the OSI Session, Presentation and Application layers map to?
3Which OSI layer does the TCP/IP Internet layer map to?
4Which organization publishes the TCP/IP standards as RFCs?
5What is the main difference between OSI and TCP/IP?
Comments
Sign in to comment.