The OSI Model is a logical and conceptual model that defines network communication used by systems open to interconnection and communication with other systems. The Open System Interconnection (OSI Model) also defines a logical network and effectively describes computer packet transfer by using various layers of protocols.
Here are some important characteristics of the OSI model:
Here are essential landmarks from the history of OSI model:
OSI model is a layered server architecture system in which each layer is defined according to a specific function to perform. All these seven layers work collaboratively to transmit the data from one layer to another.
Upper and Lower layers further divide network architecture into seven different layers as below
Let’s Study each layer in detail:
The physical layer helps you to define the electrical and physical specifications of the data connection. This level establishes the relationship between a device and a physical transmission medium. The physical layer is not concerned with protocols or other such higher-layer items. One example of a technology that operates at the physical layer in telecommunications is PRI (Primary Rate Interface). To learn more about PRI and how it works, you can visit this informative article.
Examples of hardware in the physical layer are network adapters, ethernet, repeaters, networking hubs, etc.
Data link layer corrects errors which can occur at the physical layer. The layer allows you to define the protocol to establish and terminates a connection between two connected network devices.
It is IP address understandable layer, which helps you to define logical addressing so that any endpoint should be identified.
The layer also helps you implement routing of packets through a network. It helps you to define the best path, which allows you to take data from the source to the destination.
The data link layer is subdivided into two types of sublayers:
The transport layer builds on the network layer to provide data transport from a process on a source machine to a process on a destination machine. It is hosted using single or multiple networks, and also maintains the quality of service functions.
It determines how much data should be sent where and at what rate. This layer builds on the message which are received from the application layer. It helps ensure that data units are delivered error-free and in sequence.
Transport layer helps you to control the reliability of a link through flow control, error control, and segmentation or desegmentation.
The transport layer also offers an acknowledgment of the successful data transmission and sends the next data in case no errors occurred. TCP is the best-known example of the transport layer.
The network layer provides the functional and procedural means of transferring variable length data sequences from one node to another connected in “different networks”.
Message delivery at the network layer does not give any guaranteed to be reliable network layer protocol.
Layer-management protocols that belong to the network layer are:
Session Layer controls the dialogues between computers. It helps you to establish starting and terminating the connections between the local and remote application.
This layer request for a logical connection which should be established on end user’s requirement. This layer handles all the important log-on or password validation.
Session layer offers services like dialog discipline, which can be duplex or half-duplex. It is mostly implemented in application environments that use remote procedure calls.
Presentation layer allows you to define the form in which the data is to exchange between the two communicating entities. It also helps you to handles data compression and data encryption.
This layer transforms data into the form which is accepted by the application. It also formats and encrypts data which should be sent across all the networks. This layer is also known as a syntax layer.
Application layer interacts with an application program, which is the highest level of OSI model. The application layer is the OSI layer, which is closest to the end-user. It means OSI application layer allows users to interact with other software application.
Application layer interacts with software applications to implement a communicating component. The interpretation of data by the application program is always outside the scope of the OSI model.
Example of the application layer is an application such as file transfer, email, remote login, etc.
Information sent from a one computer application to another needs to pass through each of the OSI layers.
This is explained in the below-given example:
Layer | Name | Protocols |
---|---|---|
Layer 7 | Application | SMTP, HTTP, FTP, POP3, SNMP |
Layer 6 | Presentation | MPEG, ASCH, SSL, TLS |
Layer 5 | Session | NetBIOS, SAP |
Layer 4 | Transport | TCP, UDP |
Layer 3 | Network | IPV5, IPV6, ICMP, IPSEC, ARP, MPLS. |
Layer 2 | Data Link | RAPA, PPP, Frame Relay, ATM, Fiber Cable, etc. |
Layer 1 | Physical | RS232, 100BaseTX, ISDN, 11. |
Here, are some important differences between the OSI & TCP/IP model:
OSI Model | TCP/IP model |
---|---|
OSI model provides a clear distinction between interfaces, services, and protocols. | TCP/IP doesn’t offer any clear distinguishing points between services, interfaces, and protocols. |
OSI uses the network layer to define routing standards and protocols. | TCP/IP uses only the Internet layer. |
OSI model use two separate layers physical and data link to define the functionality of the bottom layers | TCP/IP uses only one layer (link). |
OSI model, the transport layer is only connection-oriented. | A layer of the TCP/IP model is both connection-oriented and connectionless. |
In OSI model, data link layer and physical are separate layers. | In TCP data link layer and physical layer are combined as a single host-to-network layer. |
The minimum size of the OSI header is 5 bytes. | Minimum header size is 20 bytes. |
Here, are major benefits/pros of using the OSI model :
Here are some cons/ drawbacks of using OSI Model:
Layer | Name | Function | Protocols |
---|---|---|---|
Layer 7 | Application | To allow access to network resources. | SMTP, HTTP, FTP, POP3, SNMP |
Layer 6 | Presentation | To translate, encrypt and compress data. | MPEG, ASCH, SSL, TLS |
Layer 5 | Session | To establish, manage, and terminate the session | NetBIOS, SAP |
Layer 4 | Transport | The transport layer builds on the network layer to provide data transport from a process on a source machine to a process on a destination machine. | TCP, UDP |
Layer 3 | Network | To provide internetworking. To move packets from source to destination | IPV5, IPV6, ICMP, IPSEC, ARP, MPLS. |
Layer 2 | Data Link | To organize bits into frames. To provide hop-to-hop delivery | RAPA, PPP, Frame Relay, ATM, Fiber Cable, etc. |
Layer 1 | Physical | To transmit bits over a medium. To provide mechanical and electrical specifications | RS232, 100BaseTX, ISDN, 11. |
You Might Like: