The Open Systems Interconnection (OSI) model is a conceptual framework that helps us
understand how networks function. It divides network communication into 7 distinct layers, each with
specific responsibilities.
Think of it like a team where each member has a special job to help send your message across the internet!
Application
Presentation
Session
Transport
Network
Data Link
Physical
Compare Models:
The 7 Layers of the OSI Model
Click on each layer to learn more about its function and see examples!
7. Application Layer
The Application layer is the one closest to the end user. It provides network services directly to
applications.
Functions:
Identifies communication partners
Determines resource availability
Synchronizes communication
Protocols:
HTTP/HTTPS (web browsing)
SMTP/POP3/IMAP (email)
FTP (file transfer)
DNS (domain name service)
6. Presentation Layer
The Presentation layer prepares data for the application layer. It's like a translator and formatter.
Functions:
Data translation
Encryption/Decryption
Compression/Decompression
Examples:
JPEG, GIF, PNG (image formats)
MIDI, MPEG, QuickTime (multimedia formats)
SSL/TLS (encryption)
5. Session Layer
The Session layer establishes, manages, and terminates connections between applications.
Functions:
Session establishment, maintenance, and termination
Synchronization
Dialog control (who can transmit and when)
Examples:
NetBIOS
RPC (Remote Procedure Call)
SQL
4. Transport Layer
The Transport layer provides reliable data transfer services to the upper layers.
Functions:
End-to-end connection
Reliability and flow control
Error detection and correction
Protocols:
TCP (Transmission Control Protocol)
UDP (User Datagram Protocol)
Analogy:
Like a delivery truck with error-checking - ensures packages arrive complete and in order!
3. Network Layer
The Network layer provides routing and switching technologies, creating logical paths for transmitting
data.
Functions:
Routing
Logical addressing (IP)
Path determination
Protocols:
IP (Internet Protocol)
ICMP (Internet Control Message Protocol)
OSPF, BGP (routing protocols)
Analogy:
Like a postal service sorting facility - determines the best path for your data to travel!
2. Data Link Layer
The Data Link layer provides node-to-node data transfer between two directly connected nodes.
Functions:
Physical addressing (MAC)
Error detection and correction
Flow control
Examples:
Ethernet
Wi-Fi (802.11)
PPP (Point-to-Point Protocol)
Analogy:
Like a traffic light system - controls the flow of data and ensures it moves without collisions!
1. Physical Layer
The Physical layer transmits raw bit streams over a physical medium.
Functions:
Bit transmission
Physical medium specifications
Voltage levels, data rates, maximum transmission distances
Examples:
Cables (Ethernet, fiber optic)
Wireless signals
Hubs, repeaters
Analogy:
Like roads and highways - provides the actual path for data to travel on!
Real-World Examples
How an Email Travels Through the OSI Layers
Step 1 of 7
Application
Presentation
Session
Transport
Network
Data Link
Physical
✉️
Email Journey
Step 1: Application Layer (Layer 7)
You compose an email in your email client (like Gmail or Outlook). The Application layer handles the
interface between your email application and the network.
Step 2: Presentation Layer (Layer 6)
Your email is formatted and may be encrypted. If you attached images or files, they're compressed. The
Presentation layer ensures your email is in a format that can be understood by the recipient's system.
Step 3: Session Layer (Layer 5)
A connection is established with the email server. The Session layer manages this connection and
ensures it remains open until the email transmission is complete.
Step 4: Transport Layer (Layer 4)
Your email is divided into smaller packets for efficient transmission. The Transport layer (using TCP)
ensures all packets will arrive correctly and in the right order.
Step 5: Network Layer (Layer 3)
Each packet receives IP addressing information to find its way to the recipient's email server. The
Network layer determines the best path for each packet to travel.
Step 6: Data Link Layer (Layer 2)
The packets are prepared for transmission over the physical network. MAC addresses are added to direct
the packets to the next physical device (like your router).
Step 7: Physical Layer (Layer 1)
The packets are converted to electrical signals (for wired connections) or radio waves (for wireless).
These signals travel through cables, Wi-Fi, and other physical media to reach the recipient's email
server.
Troubleshooting Scenarios
What happens when different layers have problems? Explore these scenarios!
Scenario 1: No Internet Connection
Symptom: You can't connect to any websites or online services.
Possible Layer Problem: Layer 1 (Physical) or Layer 2 (Data Link)
What's happening?
If Layer 1 (Physical) is the problem, there might be a broken cable, unplugged connection, or
hardware failure. If Layer 2 (Data Link) is the problem, your device might not be able to
communicate with your router.
How to fix it:
Check if cables are properly connected
Restart your router and modem
Check if Wi-Fi is turned on
Look for physical damage to network equipment
❌
Physical Layer Problem
Scenario 2: Can't Access Specific Website
Symptom: You can browse most websites, but one specific site won't load.
Possible Layer Problem: Layer 3 (Network) or Layer 7 (Application)
What's happening?
If Layer 3 (Network) is the problem, there might be routing issues to that specific website. If
Layer 7 (Application) is the problem, the website's server might be down or there could be DNS
issues.
How to fix it:
Try accessing the website using its IP address instead of domain name
Clear your browser cache and cookies
Try a different browser
Check if the website is down for everyone using a service like "Down for Everyone or Just Me"
🌐
☁️
❌
🖥️
Network Layer Problem
Scenario 3: Slow or Choppy Video Call
Symptom: Your video call keeps freezing or the quality is poor.
Possible Layer Problem: Layer 4 (Transport)
What's happening?
Layer 4 (Transport) manages the flow of data and ensures reliability. Issues here can cause delays,
packet loss, or out-of-order delivery, resulting in poor video quality.
How to fix it:
Close other applications that might be using bandwidth
Move closer to your Wi-Fi router
Use a wired connection instead of Wi-Fi if possible
Reduce video quality settings in your call application
Restart your router to potentially get a better connection path
🎥
📦
📦
📦
❌
🎥
Transport Layer Problem
Layer Detective Game
Welcome, Network Detective!
Your mission: Diagnose network problems by identifying which OSI layer is causing the issue.
Earn badges for correct diagnoses and become a Network Troubleshooting Expert!
Score: 0
Case 1 of 5
Case 1: Network Problem
A student is trying to connect to the school Wi-Fi network but can't get online. Their laptop shows
it's connected to the network, but web pages won't load. Other students are using the same network
without issues.
Which OSI layer is most likely causing this problem?
Game Complete!
Your final score: 0 out of 5
Badges Earned:
Test Your Knowledge
OSI Model Quiz
Let's see how well you understand the OSI model! Answer these questions to test your knowledge.
Question 1 of 7
Score: 0
Quiz Complete!
Your score: 0 out of 7
SUBSCRIBE TO CATCH UP ON YOUR SCHLEEP
Be the first to know about new collections and exclusive offers.
Le choix d'une sélection entraîne l'actualisation de la page entière.