Skip to content
We areTOP 1%

What are the layers of the TCP/IP model, and how does it differ from the OSI model?

EasyConceptOSI & TCP/IP Models
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

The TCP/IP model is the four-layer model the internet is actually built on: Application, Transport, Internet and Network Access (also called Link). It merges the top three OSI layers into a single Application layer and the bottom two into Network Access.

OSI layersTCP/IP layerProtocols
Application, Presentation, SessionApplicationHTTP, DNS, SMTP, TLS
TransportTransportTCP, UDP
NetworkInternetIP, ICMP
Data Link, PhysicalNetwork AccessEthernet, Wi-Fi
  • OSI was designed as a general reference before its protocols existed and is mainly used for teaching and troubleshooting. TCP/IP grew out of protocols that already worked, so it describes real implementations.
  • In TCP/IP, jobs such as encryption and session handling are left to applications and libraries, for example TLS.
  • Many textbooks use a five-layer hybrid model that keeps Physical and Data Link separate.

Example: When you load a web page, HTTP runs in the TCP/IP Application layer, TCP in Transport, IP in Internet and Wi-Fi in Network Access. Describing the same request in OSI terms simply splits the top and bottom layers more finely.

More in OSI & TCP/IP Models

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account