The OSI 7 Layer Reference Model

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

  1. Physical
  2. Data-link
  3. Network
  4. Transport
  5. Session
  6. Presentation
  7. 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

Question 1

Define the layers of the OSI networking model.

Question 2

State 3 benefits of using a standardised, multi-layer network model.

Question 3

Which number refers to the network layer?

  1. 5

  2. 4

  3. 2

  4. 3

Question 4

Which layer would specify details for the air (RF) interface of a wireless data transmission method?

  1. Transport

  2. Session

  3. Application

  4. Physical

References

X.200 : Information technology - Open Systems Interconnection - Basic Reference Model: The basic model

International Telecommunication Union

Prerequisite Skills

lesson

Summary of the TCP/IP Model

Introduction The TCP/IP suite of protocols is what most modern computer networks, including the Internet, are built upon. It can be viewed…

Follow On Cyber Learning

lesson

Ethernet at the Physical Layer

Ethernet sits at the link layer in TCP/IP but what does it define about the OSI physical layer?

lesson

Network Sockets and Ports

Network sockets are software structures that represent the endpoints of a network connection. A pair of sockets fully specify a network connection, and these connections enable communication in both directions. There are three main types of network socket: datagram, stream and raw.

lesson

What is a LAN?

Learn about devices found on local-area networks and how they are connected.

Related Training Courses

course

Computer Networking Foundations

Understand how modern computer networks work.