Categories
IT Security Outsourced IT

OSI Model

What is an OSI Model?

The Open Systems Interconnection (OSI) Model is a conceptual model created by the International Organization for Standardization (ISO) which enables diverse communication systems to communicate using standard protocols. In short, the OSI Model provides a standard for different computer systems to be able to communicate with each other. The OSI Model can be seen as a universal language for computer networking, based on the concept of splitting up a communication system into seven abstract layers in a “top down” manner, with each layer stacked upon the last. Each layer of the OSI Model handles a specific job and communicates with the layers above and below itself. Understanding the basics of the OSI model helps you to grasp how networks and network protocols function, as well as how to figure out which protocols and devices can interact with each other. Features of the OSI Model include:

  • Ease of communication over wide networks
  • Easy to understand the relationships between software and hardware
  • Easier troubleshooting as each layer has its own functionality
  • Ease of understanding new technology, generation by generation

The seven layers of the OSI Model in “top down” fashion from the layer used by the end-user are1:

7- Application Layer. The application layer is used by end-user software such as web browsers and email clients. It provides protocols that allow software to send and receive information and present meaningful data to users. Examples of application layer protocols are the Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), Post Office Protocol (POP), Simple Mail Transfer Protocol (SMTP), and Domain Name System (DNS).

6- Presentation Layer. The presentation layer prepares data for the application layer. It defines how two devices should encode, encrypt, and compress data so it is received correctly on the other end. The presentation layer takes any data transmitted by the application layer and prepares it for transmission over the session layer.

5- Session Layer. The session layer creates communication channels, called sessions, between devices. It is responsible for opening sessions, ensuring they remain open and functional while data is being transferred, and closing them when the communication ends. The session layer can also set checkpoints during a data transfer; if the session is interrupted, devices can resume data transfer from the last checkpoint.

4- Transport Layer. The transport layer takes data transferred in the session layer and breaks it into “segments” on the transmitting end. It is responsible for reassembling the segments on the receiving end, turning it back into data that can be used by the session layer. The transport layer carries out flow control, sending data at a rate that matches the connection speed of the receiving device, and error control, checking if data was received incorrectly and if not, requesting it again.

3- Network Layer. The network layer has two main functions. One function is breaking up segments into network packets and reassembling the packets on the receiving end. The other function is routing packets by discovering the best path across a physical network. The network layer uses network addresses (typically Internet Protocol addresses) to route packets to a destination node.

2- Data Link Layer. The data link layer establishes and terminates a connection between two physically connected nodes on a network. It breaks up packets into frames and sends them from source to destination. This layer is composed of two parts, the Logical Link Control (LLC), which identifies network protocols, performs error checking and synchronizes frames, and Media Access Control (MAC) which uses MAC addresses to connect devices and define permissions to transmit and receive data.

1- Physical Layer. The physical layer is responsible for the physical cable or wireless connection between network nodes. It defines the connector, the electrical cable or wireless technology connecting the devices and is responsible for transmission of the raw data, which is simply a series of 0s and 1s, while taking care of bit rate control.

1 Imperva, 2023, “OSI Model”