Networking Basics ยท 2
๐ The OSI Model
The 7-layer blueprint behind every message you sendโฑ ~2 min
โ๏ธIt's like sending a letter
When you mail a letter, it goes through steps: you write it โ fold and seal it โ put it in an envelope โ address it โ take it to the post office โ it travels through sorting centers โ it arrives at the destination โ the recipient opens and reads it. The OSI model describes the exact same kind of layered journey that happens when you send a message online โ just 1,000x faster.
The 7 Layers (top to bottom)
| Layer | Name | What It Does | Real Example |
|---|---|---|---|
| 7 | Application | What the user sees | Chrome, Gmail, WhatsApp |
| 6 | Presentation | Translates & encrypts data | TLS/SSL encryption, JPEG compression |
| 5 | Session | Manages open connections | Login sessions, video call state |
| 4 | Transport | Breaks data into segments, reliable delivery | TCP & UDP |
| 3 | Network | Finds the best route using IP addresses | Routers, IP packets |
| 2 | Data Link | Delivers within the same network using MAC | Switches, Ethernet frames |
| 1 | Physical | Actual bits: electricity, light, radio waves | Cables, WiFi, fiber |
Two Memory Tricks
- โขTop โ Bottom: All People Seem To Need Data Processing
- โขBottom โ Top: Please Do Not Throw Sausage Pizza Away
โ
FactCybersecurity attacks target specific OSI layers. SQL injection hits Layer 7 (Application). ARP spoofing hits Layer 2 (Data Link). A DDoS flood can hit Layer 3 or 4. Knowing the layers helps you pinpoint exactly where an attack is happening.
๐ SecurityThe OSI model is the universal language of network troubleshooting. When a network problem occurs, professionals work through the layers from bottom to top: 'Is the cable plugged in? (Layer 1) Is the MAC table correct? (Layer 2) Is the IP route right? (Layer 3).' This systematic approach isolates problems quickly and is a key skill tested in networking certifications like CompTIA Network+.
๐ง Quick Checkfirst try = +5 XP
A hacker sends millions of fake connection requests to crash a web server. Which OSI layer is the primary target?
๐ฎ Practice what you learned
โญ 0 XP๐ฅ 0 days