In this figure, the related layers of the two models have the same color. As you can see, the three layers of application, presentation, and session in the OSI model are grouped into only one layer (the application layer) in the TCP/IP model.
The internet layer in the TCP/IP model is equivalent to the network layer in the OSI model. Finally, the Link layer in the TCP/IP model also performs the functions of the two layers of data-link and physical in the OSI model.
In TCP/IP model:
- Application Layer: Consists of network applications and processes.
- Transport Layer: Provides end-to-end delivery and corresponds to the OSI Transport Layer. TCP and UDP are the main protocols of this layer.
- Internet Layer: Defines the IP datagram and routing.
- Link Layer: Contains routines for accessing physical networks.