Seven Layers
Lesson 2 of 32 in Coddy's The OSI Model course.
The OSI model names seven layers. From the top (closest to you) to the bottom (closest to the wire):
- 7. Application: the protocols programs speak (HTTP, DNS)
- 6. Presentation: formats and encryption
- 5. Session: opening and closing conversations
- 4. Transport: ports, reliability (TCP, UDP)
- 3. Network: IP addresses and routing
- 2. Data Link: MAC addresses, one hop at a time
- 1. Physical: actual bits on copper, fiber or radio
Learn the order cold. Every conversation about networking assumes it.
Challenge
BeginnerPrint the seven layer names, top of the stack first (layer 7 down to layer 1), one per line, capitalized exactly as in the theory.
Expected output:
Application
Presentation
Session
Transport
Network
Data Link
PhysicalTry it yourself
Terminal
All lessons in The OSI Model
Practice on your own: Terminal playground