ποΈ Quick Recall: OSI Model Layers

From top to bottom:
7οΈβ£ Application
6οΈβ£ Presentation
5οΈβ£ Session
4οΈβ£ Transport
3οΈβ£ Network
2οΈβ£ Data Link
1οΈβ£ Physical
π§ Mnemonic:
All People Seem To Need Data Processing
π Layer 7: Application Layer
Provides network services directly to the user.
π This is the layer where users interact with the network.
π Web access
π§ Email services
π File transfer
π§βπ» Remote login
HTTP / HTTPS
FTP
SMTP
DNS
Opening a website using a browser like Chrome.
π Application layer provides network services to end users.
π¨ Layer 6: Presentation Layer
Ensures that data sent by the sender is understood by the receiver.
π Acts as a translator π£οΈ.
π Data translation (format conversion)
π Encryption
π Decryption
π¦ Data compression
HTTPS encrypting data
ZIP file compression
π Presentation layer handles data formatting, encryption, and compression.
πͺ’ Layer 5: Session Layer
Manages sessions (connections) between two devices.
π Controls start, maintain, and end of communication.
Session establishment
Session maintenance
Session termination
Synchronization (checkpoints)
Zoom meeting session:
Join meeting
Stay connected
Leave meeting
π Session layer establishes, manages, and terminates sessions.
π Layer 4: Transport Layer
Ensures end-to-end delivery of data reliably and efficiently.
π One of the most important layers.
βοΈ Segmentation & reassembly
β Error control
π¦ Flow control
π’ Port addressing
TCP (Reliable)
UDP (Fast)
Courier service delivering parcels safely to the correct address.
π Transport layer ensures reliable end-to-end data delivery.
π Layer 3: Network Layer
Handles routing and logical addressing.
π Decides best path for data to travel.
IP addressing
Packet routing
Path selection
Packet forwarding
IP
ICMP
Routing protocols (RIP, OSPF)
Google Maps choosing the best route.
π Network layer determines the best path for data delivery.
π Layer 2: Data Link Layer
Provides node-to-node delivery within the same network.
π Ensures data reaches the correct physical device.
Framing
MAC addressing
Error detection
Flow control
Access control (MAC)
Switch
Bridge
Delivering a parcel to the correct house on a street.
π Data Link layer ensures error-free transmission between adjacent nodes.
β‘ Layer 1: Physical Layer
Handles actual physical transmission of bits (0s and 1s).
π Lowest layer of OSI model.
Bit transmission
Voltage levels
Cable specifications
Data rates
Physical topology
Cables
Hub
Repeater
NIC (physical aspect)
Roads that allow vehicles to move.
π Physical layer transmits raw bits over a physical medium.
π Complete Summary Table
Layer | Name | Core Function |
|---|---|---|
7 | Application | User interaction |
6 | Presentation | Format & security |
5 | Session | Session control |
4 | Transport | Reliable delivery |
3 | Network | Routing |
2 | Data Link | MAC & framing |
1 | Physical | Bit transmission |
β One-Line Summary
πΉ Each OSI layer has a specific role, and together they enable smooth and reliable network communication.