The Open Systems Interconnection (OSI) model describes how information moves from one device to another. This model was developed by International Organization for Standardization (ISO) in 1984. This is the first network communication model that was adopted by all major telecommunication and network companies.
This model is made of seven layers and is like a universal language for IT networking. Each layer of this model is responsible for performing a particular function. All layers of this model are self-contained and can perform their functions independently.
While the modern internet is built on the TCP/IP model and not on OSI, the latter is still widely used as it helps in isolating networking issues.
THE OSI MODEL LAYERS
Starting from the top layer and going towards the bottom, here are the seven layers of the OSI model:
1. Application layer
2. Presentation layer
3. Session layer
4. Transport layer
5. Network layer
6. Data link layer
7. Physical layer
Let’s take a closer look at each of these layers.
1. Application Layer
This is the layer where humans interact with computers. It consists of end-user software such as browsers, messengers, and email client applications. This layer communicates with the presentation layer to receive information from it so it can be given to the end user. It allows users to access and manage information on a remote computer.
2. Presentation Layer
Also known as the translation layer, its job is to extract data from the application layer and make it ready to be sent on the network. This layer defines the data type and format and how it should be transferred on the network. It checks how data compression, encoding, and encrypting should be done. It also maintains the right syntax of data as it gets ready to be transferred.
3. Session Layer
The job of this layer is to create a communication channel between devices. These communication channels are called sessions, hence the name of this layer. It is responsible for opening sessions and ensuring they remain open for the required duration. When the job is done, it terminates the session. It also adds synchronization points or check points in the communication. If the connection is lost in between, these check points are used to re-synchronize the communication to avoid data loss.
4. Transport Layer
The job of this layer is to provide reliable information delivery. The data in this layer is arranged in segments. It is the responsibility of this layer to ensure that the complete message is delivered end to end. If the message is delivered completely, the transport layer will provide acknowledgment. And if some segments are corrupted or missing, it will re-transmit the data. It handles flow control, managing the speed of data transfer. It also handles error control, making sure all segments of the message are delivered correctly.
5. Network Layer
The network layer breaks up segments from the transport layer and arranges them into network packets. On the receiver’s end, it reassembles network packets and creates segments. It is alsoresponsible for finding the best path on the physical layer where these packets can move. This layer also performs logical addressing functions, which means it identifies the sender’s and receiver’s IP addresses so the packets can go to the right address.
6. Data Link Layer
This layer is responsible for establishing and terminating connections between two physical nodes of a network. It takes data packets from the network layer and breaks them into frames. These frames are transferred from one node to another by the data link layer. It finds the machine address for the logical address assigned by the network layer and sends the frames to the right destination.
7. Physical Layer
The physical layer works with the physical connections between network nodes. These connections could be through physical cables or wireless technology. This layer is responsible for the actual transmission of raw data, which are data bits in the form of 0 and 1. It handles bit rate control and bit synchronization. This means this layer works on how many bits are sent per second and how they are synchronized.
ADVANTAGES AND DISADVANTAGES OF THE OSI MODEL
The OSI model is a theoretical model for understanding the various components of data communications. However, today, most data communications use the TCP/IP model, which includes the same functions but does not outline the various communication layers as clearly as OSI. There are a few reasons why the OSI model is primarily a theoretical (rather than a practical) model today:
- OSI is a general model and helps in the development of other network models.
- All layers are independent of each other, so changes in one layer will not affect the others.
- Since the protocols and services in one layer are independent of other layers, they can easily be changed without having to make changes in the entire model. This gives it a lot of flexibility.
- OSI works for both connectionless and connection-oriented services.
While OSI is a very popular model, it has several disadvantages. Here are some of them:
- It’s a theoretical model and has a restricted practical implementation.
- Some layers such as the session layer and presentation layer don’t have much functionality when implemented practically.
- It’s a complex model, and the implementation could be slow and costly.
INTERACTION BETWEEN DIFFERENT LAYERS
Every layer of the OSI model communicates with the layers above and below it. When the sender’s system accepts data from the user and a layer breaks it into smaller chunks, the same layer on the receiver’s system reassembles the chunks into bigger pieces so they can be understood by the end user.
The Open Systems Interconnection (OSI) model is a reference model consisting of seven layers, each performing specific functions, that describe how information flows from software on one device to software in another. While the modern internet primarily uses the TCP/IP model, the OSI model is still widely used as a conceptual model for understanding the flow of data communications.