7 Layer OSI
Open Systems Interconnection (OSI) model is a conceptual framework that divides network communications functions into seven layers
🧠Think of OSI as a layered cake of communication, from user-facing apps down to electrical signals.
1. Physical Layer (Layer 1)
This is the foundation. It deals with raw bits transmitted over cables, fiber optics, or wireless. Think: voltage levels, connectors, pinouts, and physical media.
> 🔑 Remember: It's about hardware and transmission. Cables, NICs, and hubs live here.
---
2. Data Link Layer (Layer 2)
This layer handles MAC addresses and frames. It ensures error detection and correction between directly connected devices.
> 🔑 Remember: MAC address = Layer 2. Switches operate here. It’s the “local delivery” layer.
---
3. Network Layer (Layer 3)
Responsible for routing and logical addressing. IP addresses are the star here. It decides the best path to send data across networks.
> 🔑 Remember: IP = Layer 3. Routers work here. It’s the “global delivery” layer.
---
4. Transport Layer (Layer 4)
Ensures reliable data transfer with error recovery and flow control. TCP and UDP are key protocols.
> 🔑 Remember: TCP/UDP = Layer 4. Ports (like 80, 443) are used here. It’s about end-to-end reliability.
---
5. Session Layer (Layer 5)
Manages sessions between applications—starting, maintaining, and ending them. Think of it as a conversation manager.
> 🔑 Remember: It keeps sessions alive. Used in things like remote procedure calls or SQL sessions.
---
6. Presentation Layer (Layer 6)
Translates data formats, handles encryption and compression. It ensures that data is readable by the receiving system.
> 🔑 Remember: Encryption happens here. SSL/TLS, JPEG, and MP3 are examples.
---
7. Application Layer (Layer 7)
Closest to the user. It provides services like email, file transfer, and web browsing.
> 🔑 Remember: User-facing protocols like HTTP, FTP, SMTP live here.
---
🧩 Mnemonic (Bottom-Up):
Please Do Not Throw Sausage Pizza Away
---
🎯 For Security+ Focus:
- Know that firewalls often operate at Layer 3 and 4.
- MAC spoofing targets Layer 2.
- IP spoofing targets Layer 3.
- SSL/TLS encryption is Layer 6.
- Web attacks (like XSS or SQLi) hit Layer 7.
Tidak ada komentar:
Posting Komentar