Skip to main content

Compare OSI and TCP/IP models

Short answer

OSI is a seven-layer protocol-independent reference model from ISO; TCP/IP is a four-layer practical model from the US DoD built around Internet protocols. OSI separates session/presentation and data link/physical layers, while TCP/IP merges them. TCP/IP is the actual Internet standard; OSI is mainly for teaching and reference.

Differentiate between the OSI and TCP/IP reference models.

The OSI model is a seven-layer, protocol-independent reference model from ISO, while the TCP/IP model is a four-layer (sometimes five-layer) practical model built around the protocols of the Internet.

 OSI                    TCP/IP
+--------------+
| Application  |
| Presentation |       +-------------+
| Session      |       | Application |
+--------------+       +-------------+
| Transport    |       | Transport   |
+--------------+       +-------------+
| Network      |       | Internet    |
+--------------+       +-------------+
| Data link    |       | Host-to-    |
| Physical     |       | network     |
+--------------+       +-------------+
PointOSI modelTCP/IP model
Layers74 (Application, Transport, Internet, Host-to-network)
Developed byISOUS DoD (ARPANET)
ApproachModel first, protocols laterProtocols first, model later
Session and presentationSeparate layersMerged into application layer
Data link and physicalSeparate layersMerged into host-to-network layer
Service, interface, protocolClearly separated conceptsNot clearly separated
Transport layerConnection-oriented only (reliable)Both: TCP (reliable, connection-oriented) and UDP (unreliable, connectionless)
Network layerBoth connection-oriented and connectionlessConnectionless only (IP)
Protocol fitProtocols are better hidden and easier to replaceNot generic; cannot describe non-TCP/IP stacks well
UseTeaching and referenceActual Internet standard

Similarities: both are layered, both have application, transport and network-type layers, and both use packet switching.

Main reason TCP/IP won: its protocols already worked and were free, while OSI was complex, late and badly timed.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Networks and Security chapter 1 questions →