What is OSI Model In Computer Network | 7 Layer OSI Model Explain
How is data transferred from one computer to another in a computer network? For this we use two networking models, the first OSI Model and the second TCP/IP Model.
We talked about the TCP/IP Model in our previous article. In today's article, we are going to talk about the OSI Model.
So without wasting any time let us know what is OSI Model? How many layers are there in the OSI Model? And how does it work?
What is the OSI Model?
Summary
- OSI stands for “Open System Interconnection” and this model was named by “ISO”.
- This is a reference model which consists of 7 layers.
- It was developed by ISO in the year 1984.
- It is a 7-layer architecture.
- It runs without the use of protocols.
- By the OSI Model, the functions performed during data transmission between computers and devices in the network have been defined in 7-layer. Therefore it is also called “7-layer architecture model”.
- OSI is a standard model that is used as a reference model by various manufacturers of network devices while making their products so that networking devices of two different companies can communicate with each other.
- This model is not used in real life, it is used only as a reference. In real life, TCP/IP Model is used instead of OSI Model.
7 Layers of OSI Model -
1) Physical Layer
Functions of the Physical Layer
- The physical layer represents and transmits data in the form of bits.
- The physical layer determines the signals that transmit data.
- It completes the work of network topology.
- The physical layer provides synchronization of bits.
- The Physical Layer tells how many bits of data will be transferred in 1 second.
- It describes how two or more devices will connect to each other.
- This states whether the concession will be wired or wireless.
- This layer defines how data is transferred between two devices in the network.
2) Data link layer
Functions of Data Link Layer
- The data link layer encodes and decodes data packets received from the network layer and these data packets are called frames.
- The data link layer connects the header and trailer to these frames.
- The function of this layer is to control flow. In this, a fixed data rate is maintained from both the receiver and sender sides. So that the data does not get corrupted.
- This layer also works to control errors. In this, CRC (cyclic redundancy check) is added to the trailer of the frame so that there is no error in the data.
- This layer also performs the function of access control. It determines which device is given access when two or more devices are connected over a communication channel.
3) Network layer
Network layer functions
- Its function is to provide IP addresses to the devices.
- The network layer adds the source and destination IP addresses to the header of data packets. Which is used to uniquely identify network devices on the Internet.
- It works to send data packets from source to destination.
- It determines the best and appropriate path by switching and routing.
4) Transport layer
Functions of Transport Layer
- Transport Layer performs both flow control and error control functions.
- Its function is to transmit data from a source device to a destination device.
- It facilitates communication between two devices.
- It provides the facility of point-to-point connection.
- It also works to control the connection.
5) Session layer
Functions of Session Layer
- The function of the Session Layer is to establish, maintain, and terminate the session between two devices.
- It also acts as a dialog controller. It creates a dialog between two processes.
- It also works for synchronization. That is, whenever there is an error in transmission, it repeats the transmission.
6) Presentation layer
Functions of Presentation layer
- Encryption and decryption are done to keep the data secure in the Presentation Layer.
- In this layer, compression is also done to reduce the size of the data.
- Along with compression, it also does the work of translation.
7) Application layer
Functions of Application Layer
- Through the application layer, the user can remotely access files from the computer.
- Through this, emails can be forwarded and stored.
- Additionally, the directory can also be accessed from the database.
Features of OSI Model
- The OSI model is a general-purpose networking model that serves as a reference model and has no practical use.
- Problems occurring in one layer do not affect the other layers.
- It is a flexible model that provides both connection-oriented and connectionless services.
- It is used as a standard model.
- Through this, the communication between two devices in the network can be easily understood.
- It has 7 layers and each layer has its own function.
Advantages of OSI Model
- The OSI model is a generic model that is used as a reference as a standard model.
- This is a flexible model because we can use any protocol in it.
- It can be easily administered and maintained.
- This is a secure networking model.
Disadvantages of the OSI model
- The OSI model does not define any specific protocol.
- It is difficult to implement new protocols in this.
- This is a complex model whose initial implementation is very slow and expensive.
- In this, all the layers are internally dependent on each other.
- OSI model is a reference model which is not actually used.
What is the difference between the OSI Model and the TCP/IP Model?
OSI Model |
TCP/IP Model |
The full form of OSI is “Open Systems Interconnection”. |
The full form of TCP/IP is Transmission Control Protocol/Internet
Protocol. |
The size of the OSI header is 5 bytes. |
The size of the TCP/IP header is 20 bytes. |
There are 7 layers in the OSI Model. |
TCP/IP has 4 layers. |
The OSI Model follows the vertical approach. |
The TCP/IP Model follows the horizontal approach. |
The OSI model is developed by ISO. |
The TCP model is developed by ARPANET. |
In the OSI model, the transport layer is only connection-oriented. |
In the TCP/IP model, the transport layer is both connection-oriented
and connectionless. |
In the OSI model, the data link layer and the physical layer are two
separate layers. |
In the TCP/IP model, both the physical layer and the data link layer
are combined as the network layer. |
Both the session layer and the presentation layer are part of the
OSI model. |
There is no Session layer and presentation layer in the TCP/IP model. |
In the OSI model, the transport layer provides guarantees for the
delivery of packets. |
The transport layer in the TCP/IP model does not provide guarantees
for the delivery of packets. |
The protocols in the OSI model can be easily changed as technology
changes. |
In the TCP/IP model, the protocol cannot be changed easily. |
There is little use of the OSI model. |
The TCP/IP model is widely used. |
FAQs – Frequently Asked Questions
What is the full form of the OSI Model?
The full form of the OSI Model is the “Open System Interconnection Model”.
What are Computer Network Models?
A systematic approach was required so that two or more users could easily share data among themselves in a computer network. This approach is implemented using models in computer networks and is known as the computer network model. Computer network models are responsible for establishing the connection between the sender and the receiver and transmitting the data smoothly.