What is OSI model (Open Systems Interconnection)?

The OSI (Open Systems Interconnection) Model is a conceptual framework used to understand and standardize how different network protocols interact during data communication. It consists of 7 layers, each with a specific function, enabling seamless communication between devices over a network.



OSI model (Open Systems Interconnection) is a foundational concept in computer networking. It's a conceptual framework, developed by the International Organization for Standardization (ISO), that describes how data travels across a network between two communicating devices.

 

Physical

ation ↑

Physical ↓

Data-Link ↑

Data-Link ↓

Network ↑

Network ↓

Transport ↑

Transport 

Session ↑

Session ↓

Presentation ↑

Presentation ↓

Application ↑

Application ↓

 

The 7 Layers of the OSI Model (From Top to Bottom)


1.    Application Layer (Layer 7):

o    Purpose: Interfaces directly with user applications and provides services like email, file transfer, and web browsing.

o    Examples: HTTP, FTP, SMTP, DNS.

o    Functions:

o    User interface for communication.

o    Provides network services to end-users.

 

2.    Presentation Layer (Layer 6):

o    Purpose: Ensures data is in a readable format for the application layer by handling translation, encryption, and compression.

o    Examples: SSL/TLS (encryption), JPEG, MP3.

o    Functions:

o    Data translation (e.g., ASCII to binary).

o    Encryption and decryption.

o    Data compression.

 

3.    Session Layer (Layer 5):

o    Purpose: Establishes, manages, and terminates communication sessions between devices.

o    Examples: NetBIOS, RPC.

o    Functions:

o    Session establishment, maintenance, and termination.

o    Synchronization and checkpointing.

 

4.    Transport Layer (Layer 4):

o    Purpose: Ensures reliable data delivery, error detection, and flow control between devices.

o    Examples: TCP (reliable), UDP (unreliable).

o    Functions:

o    End-to-end communication.

o    Segmentation and reassembly of data.

o    Error handling and flow control.

 

5.    Network Layer (Layer 3):

o    Purpose: Handles routing, addressing, and packet delivery across networks.

o    Examples: IP, ICMP, OSPF.

o    Functions:

o    Logical addressing (IP addresses).

o    Routing and forwarding data between networks.

 

6.    Data Link Layer (Layer 2):

o    Purpose: Ensures error-free transmission between devices on the same network (local communication).

o    Examples: Ethernet, Wi-Fi (802.11), ARP, PPP.

o    Functions:

o    Framing and addressing (MAC address).

o    Error detection and correction.

o    Flow control.

 

7.    Physical Layer (Layer 1):

o    Purpose: Deals with the physical transmission of data using hardware.

o    Examples: Ethernet cables, switches, radio frequencies.

o    Functions:

o    Transmitting raw bits (0s and 1s) over physical media.

o    Hardware specifications like voltage levels and pin configurations.

 

How the OSI Model Works (Example: Sending an Email)

1.     Application Layer: The user composes and sends an email using an email client (e.g., Gmail).

2.     Presentation Layer: The email content is encrypted for secure transmission.

3.     Session Layer: A session is established between the sender's and receiver's email servers.

4.     Transport Layer: The data is broken into smaller packets and error-checked.

5.     Network Layer: The packets are assigned IP addresses for routing to the recipient.

6.     Data Link Layer: Packets are converted into frames with MAC addresses for local delivery.

7.     Physical Layer: The frames are transmitted as electrical signals over cables or wireless media.

 

Benefits of the OSI Model

  • Standardization: Provides a universal set of standards for network communication.
  • Troubleshooting: Makes it easier to diagnose and fix network issues by isolating layers.
  • Interoperability: Ensures compatibility between different hardware and software.
  • Flexibility: Allows upgrades or modifications in one layer without affecting others.


The OSI Model is a foundational framework for understanding and designing modern networks!

 

 

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.