Beginner Topic 4 of 50 Computer Networks
OSI Model
Seven-layer conceptual framework for network functions.
How it works
The OSI model describes networking as seven layers: physical, data link, network, transport, session, presentation and application. Each layer provides services to the one above and uses the one below, and data is encapsulated with a header at each layer on the way down and decapsulated on the way up. It is a reference model for understanding and teaching, rather than the exact structure of real protocol stacks.
Step-by-step walkthrough
- Sending data starts at the top at the application.
- Each layer adds its own header as the data moves down.
- Transport adds ports, Network adds IP addresses.
- Data link adds MAC addresses and the physical layer sends bits.
- The receiver strips headers on the way back up.
Where it is used
Engineers use layer numbers when troubleshooting, such as a layer 2 switch, a layer 3 router or a layer 7 load balancer. It helps isolate problems, from cables up to application behavior.
Common pitfall
The internet actually follows the simpler TCP/IP model, and the session and presentation layers do not map neatly to real protocols. Treating the model as strict leads to arguments about where a protocol belongs. Use it as a guide for reasoning and fault isolation, not as a specification.
Where it fits in the course
OSI Model is topic 4 of 50 in Computer Networks, rated Beginner. It follows LAN, WAN and MAN. The next topic is TCP/IP Model.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Computer Networks quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Computer Networks quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is OSI Model?
Where do people use OSI Model?
What is the most common mistake with OSI Model?
What should I learn before this topic?
How can I practice it?
Is OSI Model hard to learn?
How long does it take to learn OSI Model?
Which topics are related to OSI Model?
What should I study after OSI Model?
Related topics
- LAN, WAN and MAN (Computer Networks)
- TCP/IP Model (Computer Networks)
- Network Topologies (Computer Networks)
- IP Addresses (Computer Networks)
- Client-Server Model (Distributed Systems & Cloud)
- Relational Model (Databases)
- Waterfall Model (Software Engineering)