TCP/IP Model vs OSI Model
A comparative analysis between TCP/IP and OSI Model and how to choose.
Definition
Definition
Comparative Analysis
How to Choose
Key Difference Between TCP/IP and OSI Model
TCP/IP is a practical model that addresses specific communication challenges and relies on standardized protocols. In contrast, OSI serves as a comprehensive, protocol-independent framework designed to encompass various network communication methods.
Characteristics of TCP/IP model
- Application layer
- Transport layer
- Network access layer
- Network interface layer
- Hardware layer
This may look drastically different from the OSI model, primarily because some functions are encompassed in a single layer: the application layer. In TCP/IP, this provides users with the physical standards, transport functions, network interface, and internetworking functions that correspond with the first three layers of the OSI model. In other words, in the TCP/IP model, these services are all done in the application layer.
Here is a breakdown of what each layer in the TCP/IP model does:
- Application layer. The application layer is where data originates on the sender’s side. Applications are used to create the data. A web browser, for example, is used to generate the data that gets sent through the rest of the layers, assisted by the Domain Name System (DNS), which associates web domain names with their Internet Protocol (IP) addresses.
- Transport layer. In the transport layer, the data gets encoded so it can be transported through the internet using either the User Datagram Protocol (UDP) or TCP.
- Network access layer. In the network access layer, the data gets a header and a trailer, and these tell the data where to go. This information is then conveyed to the network interface layer.
- Network interface layer. At the network interface layer, the packet of data gets formatted and prepared to be transported and routed through the network.
- Hardware layer. On the hardware layer, the data is turned into something that can be sent to and read by a computer or other device. For example, the IEEE 802.3 protocol is used to convert data into what is used in an Ethernet connection.
Characteristics of the OSI model
The OSI model is another way of transmitting data over the internet. The biggest difference between the OSI and TCP/IP models is the OSI model has seven layers instead of five. Although both the TCP/IP and OSI models transport data, the ways they send it are slightly different, which is sometimes why TCP/IP is used instead of OSI.
However, in the TCP/IP vs. OSI discussion, there are more similarities between the OSI and TCP/IP models than differences. Both provide data communication services, enabling users to send and receive information from their IP address using the services made available by their internet service provider (ISP).
The OSI model has the following layers:
- Physical. This consists of a data connection between a device generating data and the network.
- Datalink. The datalink layer is the point-to-point connection that transmits the data to the network layer.
- Network. In the network layer, the data gets its address and routing instructions in preparation for its journey across the network.
- Transport. In the transport layer, the data hops between different points on the network on its way to its destination.
- Session. The session layer has a connection that manages the sessions happening between applications.
- Presentation. The presentation layer is where data gets encrypted and decrypted and converted into a form that is accessible by the application layer,
- Application. In the application layer, an application, such as an internet browser, gets the data and a user can then interact with it.
Global Threat Landscape Report 2H 2023
FortiGuard Labs Global Threat Landscape Report 2H 2023 shows Cybercriminals Exploiting New Industry Vulnerabilities 43% Faster than 1H 2023.