The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes network communication into seven distinct layers. Each layer has specific functions and communicates with adjacent layers to enable reliable data transmission.
Each layer has specific responsibilities and communicates with adjacent layers.
Provides a common framework for understanding network communication.
Allows independent development and modification of each layer.
↑ Highest layer (closest to user) ↓ Lowest layer (closest to hardware)
As data travels down from Application to Physical layer, each layer adds its own header (and sometimes trailer) — this is called encapsulation. On the receiving side, each layer strips its header — this is decapsulation.
| OSI Layer | TCP/IP Layer | Protocols |
|---|---|---|
| Application (7) | Application | HTTP, FTP, SMTP, DNS |
| Presentation (6) | Application | SSL/TLS, JPEG, MPEG |
| Session (5) | Application | NetBIOS, RPC |
| Transport (4) | Transport | TCP, UDP |
| Network (3) | Internet | IP, ICMP, ARP |
| Data Link (2) | Network Access | Ethernet, WiFi |
| Physical (1) | Network Access | Cables, Wireless |