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

Popular posts from this blog

Switches & Routers

On-Premises to Cloud

Plan and implement Network Segments