What is the OSI model? | Neos Networks

What is the OSI model?

Discover how the model structures network communications into seven layers, how they work, and why it matters for networking.

Neos Networks | 18/12/2024
Showing the 7 layers of the OSI model stacked from top to bottom: Application, Presentation, Session, Transport, Network, Data Link and Physical layers

Get ultrafast, low latency Optical Wavelengths

 

What is the OSI model?

The Open Systems Interconnection (OSI) model describes how computer systems communicate across networks. Published by the International Organization for Standardization (ISO) in 1984, it divides communications into seven layers, providing a common basis for developing networking standards.

It’s a reference model, a conceptual framework that outlines the structure and relationship between a network’s components without prescribing specific implementation methods. It provides a universal language for network operators, developers, and students to understand, design and implement complex networks.

The 7 layers of the OSI model

The OSI model organises network communications into a stack of seven layers:

  1. The Physical Layer
  2. The Data Link Layer
  3. The Network Layer
  4. The Transport Layer
  5. The Session Layer
  6. The Presentation Layer
  7. The Application Layer

Each layer performs a specific function and interacts with the layers above and below, ensuring efficient data transmission. Typically, the layers are listed from top to bottom (7 to 1) to reflect the data flow during communication, starting from the user’s application at the Application Layer and moving down to the Physical Layer.

7 layers of the OSI model

Showing the 7 layers of the OSI model stacked from top to bottom: Application, Presentation, Session, Transport, Network, Data Link and Physical layers

 

Here’s a breakdown of the seven layers and their roles in a network.

7 layers explained

# Layer Function
7 Application Layer Interacts directly with end users through applications like email clients and browsers. It includes protocols like SMTP for email, HTTP for web browsing and FTP for file transfers.
6 Presentation Layer Translates data between the Application Layer and the lower layers. This includes data formatting, encryption and compression.
5 Session Layer Starts, maintains and ends connections between devices. It also coordinates data exchange and synchronisation.
4 Transport Layer Uses transport protocols like TCP and UDP to transfer data between end systems. It divides data from the Session Layer into segments, ensuring flow control and error correction.
3 Network Layer Handles the routing of data across multiple networks, determining the optimal path for transmission. Protocols like the Internet Protocol (IP) break data into packets and use IP addresses to deliver them to their destination.
2 Data Link Layer Manages communication between physically connected nodes on a network. It packages data from the Network Layer into frames and ensures reliable transfer between devices over the physical medium.
1 Physical Layer Transmits and receives raw data (ones and zeros) as electrical signals, light pulses or radio waves over physical media. It includes hardware like cables, fibre optic equipment and wireless transmitters or antennas.

 

How does the OSI model work?

When data is transmitted over a network, it moves sequentially through the seven layers, from the Application Layer at the top to the Physical Layer at the bottom.

For example, here’s what happens when you send an email:

  1. You write a message in an email app like Gmail or Outlook and click “send”. The email client uses a protocol like SMTP to process your message (Application Layer).
  2. The email client formats your message for transmission, including encryption if enabled (Presentation Layer).
  3. A session is established between your device and the email server to manage the ongoing data exchange (Session Layer).
  4. The email data is divided into smaller segments for transmission, and protocols like TCP and UDP ensure they’re delivered reliably (Transport Layer).
  5. The email segments are assigned source and destination IP addresses to be routed across the network (Network Layer).
  6. The IP packets are encapsulated into frames to be transmitted over the local network (Data Link Layer).
  7. The frames are converted into electrical, optical, or wireless signals and transmitted through a physical medium like a network cable or Wi-Fi (Physical Layer).

At the receiving end, the process is reversed: the data travels up from the Physical Layer to the Application Layer, reconstructing the email for its recipient.

OSI model vs TCP/IP model

Another significant networking framework is the Transmission Control Protocol/Internet Protocol model (TCP/IP), also known as the Internet Protocol Suite. Unlike the OSI model, which is primarily theoretical, TCP/IP is a practical framework designed specifically for implementing internet communications.

Initially developed for the US military’s ARPANET, the forerunner of the internet, the TCP/IP model consists of just four layers:

  1. The Application Layer combines the functions of OSI’s Application, Presentation and Session layers, managing high-level protocols and user interactions.
  2. The Transport Layer uses protocols like TCP and UDP to ensure data transfer between end systems, like OSI’s Transport Layer.
  3. The Internet Layer manages addressing and routing using the Internet Protocol, like OSI’s Network Layer.
  4. The Link Layer handles data transmission over physical media, like cables and Wi-Fi, combining the functions of OSI’s Physical and Data Link layers.

OSI model vs TCP/IP model: comparing layers

Showing the 7 layers of the OSI model (Application, Presentation, Session, Transport, Network, Data Link and Physical) and how they correspond to the 4 layers of the TCP/IP model (Application, Transport, Internet and Link)

 

Here’s a summary of the main differences between the two:

Feature OSI model TCP/IP model
Layers Seven: Application, Presentation, Session, Transport, Network, Data Link and Physical Four: Application, Transport, Internet and Link
Development Developed by the International Organization for Standardization (ISO) Originally developed by the US Department of Defence (ARPANET) and maintained today by the Internet Engineering Task Force (IETF)
Use A reference model used to standardise general network communications A practical model used to implement internet communications

 

In short, the OSI model is a comprehensive theoretical framework that standardises network communications without relying on specific protocols. In contrast, TCP/IP is a simpler, practical model that defines and supports the implementation of internet protocols.

While the TCP/IP model is more widely used in practice because it underpins the internet, the OSI model remains significant.

Why is the OSI model important?

Although theoretical, the OSI model provides a detailed understanding of fundamental network architecture, making it valuable for several reasons:

  • Standardisation and interoperability: The model provides a universal framework, promoting the development of interoperable protocols and devices.
  • Troubleshooting and security: The multi-layered structure allows administrators to identify and fix technical or security failures in their specific layers without disrupting the others.
  • Education and design: It’s a foundational model for IT professionals and students to share knowledge about network architecture and adapt networks for the future.

OSI model disadvantages

Despite its value, the OSI model has its limitations. First, real-world networking technologies don’t always fit neatly into its framework, and the functions of its layers can sometimes overlap in practice.

In addition, its comprehensive nature can make it overly complex for practical use. The simpler, more practical TCP/IP model has largely supplanted the OSI model, especially for internet communications.

However, the OSI model remains a fundamental theoretical framework. Whether you're a network professional, student, or tech enthusiast, it provides valuable insight into the complex world of computer networking.

Making connectivity work

At Neos Networks, we use the OSI model to visualise complex networks and make connectivity work for businesses across the UK.

For example, optical wavelengths operate in the Physical Layer (layer 1), enabling high-bandwidth data transmission across fibre optic networks. In contrast, Ethernet primarily functions at the Data Link Layer (layer 2) but also defines standards for some layer 1 components, like cables and connectors.

If you’re looking to supercharge your business with high capacity connectivity for the future, get in touch. We’ll be happy to make connectivity work for you.

Get ultrafast, low latency Optical Wavelengths

OSI model FAQs

  • How is the OSI model used in real-world networking?

    The OSI model is a guide for designing, implementing, and troubleshooting network protocols and architectures. Although the TCP/IP model is more widely used in practice due to its crucial role in the internet, the OSI model helps us visualise and understand complex networking processes.

  • What role do protocols play in the OSI model?

    Protocols establish the rules and standards for communication within each layer of the OSI model. But the model isn’t tied to any specific protocol. Each layer can use various protocols, which can evolve independently without disrupting the model’s overall structure.

  • What is data encapsulation in the OSI model?

    Encapsulation is the process of adding extra information (headers and trailers) to data as it moves from layer to layer of the OSI model. This ensures that each layer can correctly interpret and transmit the data across the network. At the receiving end, this is reversed: each layer removes its header or trailer as the data moves to the top Application Layer – a process called decapsulation.

  • Can layers in the OSI model interact out of sequence?

    No, each layer only communicates with the layers directly above and below it. This structure ensures data is processed systematically and flows efficiently from the source to the destination.

Get high-bandwidth business Ethernet

You might also like

  • Article

What is a network-to-network interface (NNI)?

  • Ethernet
  • Article

What is data centre interconnect (DCI)?

  • Ethernet
  • Page

What are Optical Wavelengths?

We can connect you anywhere in the UK

Discover our network reach

Check your connectivity