OSI Model: The Seven Network Layers
Why divide a network into layers?
The Open Systems Interconnection (OSI) reference model separates communication responsibilities into seven conceptual layers. A layer offers a service to the layer above it and uses services below it. For example, a file-transfer application needs data delivery but does not have to control electrical signals itself. OSI is a framework for reasoning, not a rule that every Internet implementation must contain seven separate software modules.
The seven layers, from bottom to top
Read the diagram from physical transmission at the bottom to application communication at the top.
7 Application6 Presentation5 Session4 Transport3 Network2 Data link1 Physical1 Physical: conveys bits as signals over a medium, such as copper or fiber. 2 Data link: organizes local link delivery into frames; Ethernet uses MAC addresses to identify link endpoints. 3 Network: provides delivery across networks; IP addressing and routing are familiar examples. 4 Transport: supports communication between application endpoints, with reliability and ordering depending on the protocol. 5 Session: coordinates dialogs and checkpoints between communicating systems. 6 Presentation: handles representation and transformation of data, such as encoding. 7 Application: offers communication services to applications, such as requesting a resource. These last three roles often overlap in real Internet software.
Services, interfaces and peer protocols
A service describes what a layer provides; an interface is how neighboring layers exchange requests and results. A protocol defines the rules followed by communicating peers, meaning corresponding entities at the same conceptual layer on different systems. Two peers appear to communicate horizontally, but their data actually moves down the sender stack, across links, and up the receiver stack. A router may process only the layers needed for forwarding, not the entire application exchange.
Troubleshoot a fictional office outage
A workstation cannot open an internal inventory application. First check the fictional evidence: a disconnected cable suggests layer 1; an incorrect local link configuration suggests layer 2; a missing route suggests layer 3. If a transport connection cannot be established, investigate the transport endpoints and path policy. If the application receives a request and returns an error, inspect the application and its dependencies. These are hypotheses, not verdicts: an application timeout can be caused by a broken cable, an unreachable network, filtering or a slow server. Change one thing at a time and verify the original symptom.
Practice and next step
On paper, classify a broken fiber, a missing IP route and a server rejecting a validly delivered request. Explain which evidence would distinguish the faults. Avoid assuming that a switch is exclusively layer 2 or that encryption always belongs to exactly layer 6. Next, compare OSI with the TCP/IP model.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
OSI Model: The Seven Network Layers — knowledge check
Apply layered networking concepts to offline scenarios.
A fiber link is physically disconnected. Which layer is the first diagnostic focus?
A router has no route toward a destination network. Which role is directly involved?
A layer provides a capability to the layer above it. What describes that capability?
A request arrives at a server, but the server rejects it because of its business rules. What is the most direct starting point?
Which statement about OSI is accurate?