OSI Model
Published in
2 min readJul 8, 2021
Open Systems Interconnection Model : The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network. It was the first standard model for network communications.
There are total 7 layers in the OSI Model and are divided into two parts according to their responsibilities :
- Responsibility of The Host : Application Layer, Presentation Layer, Session Layer, Transport Layer
- Responsibility of the Network : Network Layer, Data Link Layer, Physical Layer.
Application Layer :
- Provide services to user
- Network transparency, Resource allocation
- Mail Service : (SMTP, POP3)
- File transfer, access, and management
Presentation Layer :
- Code Conversion
- Encryption / Decryption
- Compression
- Translation
Session Layer
- Authentication
- Authorization
- Session Restoration (using Session Beans : Saves the values of particular session)
- Synchronization (Audio, Video in Webinar) : Adds some checkpoints when transmitting the data in a sequence.
- Dialog control : Allows the communication between two processes
Transport Layer
- End to end delivery of data (Port to Port Delivery)
- In-order Transport of data (without any loss)
- Error Control
- Congestion Control
- Flow control
- Multiplexing / Demultiplexing
- Segmentation and reassembly : Divides the message into multiple segments, and each segment is assigned with a sequence number that uniquely identifies each segment
Network Layer
- Host to Host Delivery
- Routing
- Moving packets from source to destination
- Adding the source and destination address to the header of the frame.
Data Link Layer
- Hop to Hop Delivery (Node to Node)
- Framing, Add a header to the frame that contains a destination address
- Flow control for every single node : 1. Stop and Wait 2. Go-Back N 3. Selective Repeat
- Providing a reliable and efficient communication between two or more devices.
- Error Control
- Access Control : 1. CSMA 2. ALOHA
- Unique identification of each device that resides on a local network.
Physical Layer
- Provides functionality to Data Link Layer
- Provides a physical medium through which bits are transmitted
- Establish, maintain and deactivate the physical connection.