OSI Model
The OSI Model (Open Systems Interconnection Model) is a 7-layer networking framework that explains how data moves from one device to another over a network.
It is not a physical system—it's a conceptual model used to understand and troubleshoot networking.
OSI Model (7 Layers)
7️⃣ Application Layer
π Closest to the user
- Handles user-facing network services
-
Examples:
- Web browsers
- Email clients
-
Protocols:
- HTTP, HTTPS, FTP, SMTP
π‘ Example: Opening a website like Google
6️⃣ Presentation Layer
π Translates data format
- Data conversion (encoding/decoding)
- Encryption & Decryption
- Compression
π‘ Example: HTTPS encryption (SSL/TLS)
5️⃣ Session Layer
π Manages communication sessions
- Starts, maintains, ends sessions
- Keeps connection alive between systems
π‘ Example:
- Login session in apps
- Video call connection
4️⃣ Transport Layer
π End-to-end delivery of data
- Splits data into segments
- Ensures reliability (error recovery, retransmission)
- Flow control
Protocols:
- TCP (reliable)
- UDP (fast, no guarantee)
π‘ Example:
- TCP → browsing websites
- UDP → gaming, live streaming
3️⃣ Network Layer
π Routing between networks
- Finds best path for data
- Uses IP addressing
Protocol:
- IP (Internet Protocol)
π‘ Example: Data traveling across countries via routers
2️⃣ Data Link Layer
π Communication inside same network
- MAC addressing
- Error detection
- Frame delivery
π‘ Example:
- Laptop → WiFi router communication
1️⃣ Physical Layer
π Hardware level transmission
- Sends raw bits (0s and 1s)
- Cables, fiber, wireless signals
π‘ Example:
- Ethernet cables
- Wi-Fi signals
Comments
Post a Comment