The OSI 7 Layer Reference Model
Lesson
The Open Standards Interconnection model (OSI) is a network architecture reference model developed by the International Organization for Standardization in the 1980s. It is a conceptual model rather than a real-life implementation designed as a reference for developing network architectures and protocols.
The model is published by the International Telecommunication Union as ITU recommendation X.200 and by the International Organisation for Standardization as ISO/IEC 7498.
Having a standardised, multi-layer model has a number of benefits:
-
Modularisation and abstraction – different components can handle different layers of the stack. If you’re a web developer, you just need to worry about the application layer, not the full stack.
-
Standard interfaces – interaction between layers is well defined so that you can design your product to run on top of a lower layer protocol regardless of who developed that.
-
Interoperability – protocols at each layer are specified such that different vendor equipment should be able to talk to each other at the same layer.
OSI Layers
- Physical
- Data-link
- Network
- Transport
- Session
- Presentation
- Application
7. Application Layer
The application layer provides a communication interface to an application on a device.
6. Presentation Layer
The presentation layer negotiates to ensure that data is presented to the application layer in the correct format.
5. Session Layer
The session layer starts, stops and maintains connections, dialogues or sessions between devices.
4. Transport Layer
The transport layer handles the transfer of data between a source and a destination. This could include flow control, segmentation/desegmentation and error control.
3. Network Layer
The network layer defines logical addresses and the routing between them.
2. Data-Link
The data link layer prepares data for transmission across a physical media, including hardware addressing.
1. Physical
The physical layer determines the physical properties of the media used for data transmission.
Relationship between OSI and TCP/IP
We can loosely equate the two models as follows: TCP/IP Application Layer Includes the OSI Application, Presentation and Session layers TCP/IP Transport Layer Roughly equates to the OSI Transport Layer TCP/IP Internet Layer Roughly Equates to the OSI Network Layer TCP/IP Link Layer Includes the OSI Data Link and Physical layers.
Although TCP/IP is the model most people use, engineers will still refer to layers by their OSI layer number. For example IP and routers as layer 3, a network switch as a layer 2 device or TCP as a layer 4 protocol.
Questions
Test your knowledge with these questions.
References
Learn more about this topic by checking out these references.
Other Lessons
Learn more by checking out these related lessons
Courses
This lesson is part of the following courses.