Skip to main content

Understanding the OSI Model: The 7 Layers of Network Communication Explained

Introduction:

The OSI Model (Open Systems Interconnection Model) is a fundamental framework that helps us understand how data travels across a network — from one device to another. It divides network communication into seven distinct layers, each with specific functions and responsibilities. Whether you're studying for the CCNA, starting your networking career, or simply trying to understand how data moves through a network, learning the OSI model is essential.


1) OSI Layer?

• OSI model called as Open Systems Interconnections models.

• OSI provides a standard for different computer systems to be able to communicate with each other.

• Network functions are divided into 7 Layers.


2) List of the OSI Layer?

🔹 Layer 7 >> Application Layer

🔹 Layer 6 >> Presentation Layer

🔹 Layer 5 >> Session Layer

🔹 Layer 4 >> Transport Layer

🔹 Layer 3 >> Network Layer

🔹 Layer 2 >> Data Link Layer

🔹 Layer 1 >> Physical Layer


3) Function of each Layer?

VII) Application Layer - The application layer is used by end-user software such as web browsers and email clients. It allows software send and receive the information and present meaningful data to user.

A few examples of application layer protocols are the Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Post Office Protocol (POP), Simple Mail Transfer Protocol (SMTP), and Domain Name System (DNS)

VI) Presentation Layer - The presentation layer's job is to translate between application and network formats (encode, encrypt, and compress).

Example: sender has transferred the data as encryption format and receiver will receive the data as decryption format.

V) Session Layer - Session layers controls dialogues (session) between communicating hosts.

It establishes, manages, and terminates connections between the local application. (Example: web browser) and the remote application (example: YouTube).

Example: YouTube's servers are being used by countless people at every moment and there must be a way to manage all these sessions. That's the purpose of session layer of the OSI model.

IV) Transport Layer - The Transport layer provides host-to-host, end-to-end or process-to-process communication for applications.

It Breaks large piece of data into smaller segments which can be more easily sent over the network and are less likely to cause transmission problems if errors occur.

Example:

➤ if you're watching the video on online and this data was not segmented means if any error occurred in the video data, you wouldn't be able to continue to watch the video.

➤ If the Video data is segmented into many small units and if any error occurred in one unit means the video might skip for a second and then you can be able to watch continuously.

iii) Network Layer - Network Layer provides connectivity between end hosts on different networks. It provides logical addressing (IP Addresses) to route packets to a destination node.

Example - Routers are working in Layer 3

ii) Data Link Layer - Data Link Layer provides node-to-node connectivity and data transfer. Switches operate in Layer 2.

Example: direct connections between PC to Switch or switch to router or router to router.

i) Physical Layer - The physical layer is responsible for the physical cable or wireless connection between network nodes.

Digital bits are converted into electrical for wired connections or radio for wireless connections.


Conclusion:

The OSI model provides a clear structure for understanding how networks operate — from the physical transmission of bits to the presentation of data to users. Each layer plays a critical role in ensuring communication is efficient, secure, and reliable.

By mastering these seven layers, network engineers can troubleshoot issues faster, design efficient networks, and understand data flow from end to end.

> Remember: OSI may be theoretical, but its principles are the foundation of every modern networking device and protocol used today.

Comments

Popular posts from this blog

Basic Network Fundamental - Network Switch Working principle, Half Duplex & Full Duplex, Difference between Switch vs Router

1 ) How Network Switch Work • When a device send frame to another device via switch, switch will receive the frame and check the source mac address availability in MAC Address table. • If it’s not available, then it will add the source MAC address into switch MAC address table. • Then switch check the destination device MAC address in the MAC address table, if its not available then the switch will flood the frame into all interfaces except source device connected interface. It’s called unknown unicast frame. • Once Frame reach the destination device, then destination device will reply to the switch. • Then switch will add the destination device MAC address into switch MAC Address table. • Then switch will forward the reply frame into source device interface, it’s called known unicast frame. 2) Different between Switch and Router • Switches keep a MAC address table with their known destination MAC addresses and routers keep a routing table with their known destination networks. •...

Basic Network Fundamental - VLAN, Broadcast Domain, Benefits of using the VLAN, Inter Vlan Routing Detail

1) What is the VLAN? • VLAN is partitioned and isolated broadcast domain into separate LAN network at Layer 2 (Data Link Layer). • The switch will consider each VLAN as a separate LAN and it will not forward traffic between VLAN’s. 2) What is the Broadcast Domain? • LAN is a group of devices (PCs, Servers, routers, switches, etc.) in a single location (home, office, etc.) • A LAN is a single broadcast domain, including all devices in that broadcast domain. 3) What is the benefit to using the VLAN? • When it comes to Performance - lots of unnecessary broadcast traffic can reduce network performance. • Whether it’s a broadcast from one end host or a switch that doesn’t know how to reach the destination MAC address, so it floods the frame, we should minimize unnecessary traffic in our network. • When it comes to Security – Even within the same office, you want to limit who has access to what. You can apply security policies on a router/firewall. • Because this is one LAN, PCs can reach ea...

Basic Network Fundamental - Multilayer or Layer 3 Switch and Usage of Layer 3 switch instead of Router, Switch Virtual Interfaces

1) What is the Multilayer or Layer 3 switch? • A multilayer switch is capable of both Switching and Routing. It is Layer 3 aware. • A regular layer 2 switch is not layer 3 aware, it doesn’t think at all about IP addresses, it only cares about Layer 2 information like MAC addresses. • You can assign IP addresses to its interfaces, like a router. And you can configure routed ports which function like an interface on a router. • You can create virtual interfaces for the each VLAN and assign IP addresses to those interfaces. 2) Why we use Multilayer or Layer 3 switch instead of router? • It can be used for inter-VLAN routing. • Inter-VLAN routing, it is using one connection for each VLAN between the router and switch. • But if you have many VLANs you probably won’t’ have enough interfaces on your router. • The router on a stick, which uses a single trunk connection which carries traffic from all VLANs between the switch and router for inter-VLAN routing. • This is efficient in terms of the...