Network infrastructure interconnects computers and enables applications to talk to one another. However, the process of converting the data used by high-level applications into electrical signals traveling through a wire can be a complex process.
The Open Systems Interconnection (OSI) and the TCP/IP models are two networking models designed to help simplify this complexity. Each breaks down the network protocol stack into multiple layers with distinct purposes.
The OSI model is a conceptual model that represents the network protocol stack. Its seven layers are more focused on the various functions that are performed to make network communications work than the actual technology.
Each layer in the OSI model fulfills an important role, and information is exchanged between the layers in the form of protocol data units (PDUs), which differ based on the layer. The seven layers of the OSI model can be referred to by name or number and, from the top down, include:
#7. Application: Connects directly to end-user applications, providing various services (browsing, email, etc.).
#6. Presentation: Translates data between the formats used by an application when transmitting data over the network. It also manages encryption and data compression.
#5. Session: Responsible for session management, synchronization, and organizing traffic.
#4. Transport: Responsible for ensuring that data is completely and reliably transferred between networks.
#3. Network: Routes, forwards, and addresses packets between networks.
#2. Data Link: Manages the transfer of data between devices on the network and corrects errors from the physical layer.
#1. Physical: Includes the physical components connecting devices (cables, routers, etc.).
The OSI model has several advantages, including:
The TCP/IP model is a network model that is based on the structure of the network protocol stack. Each of the four layers in the TCP/IP model is visible within a TCP/IP network packet.
These four layers include:
The TCP/IP model also has advantages over similar models, including:
The OSI and TCP/IP models are both designed to provide a structure for thinking about and discussing network traffic. However, the two models have a few significant differences, including:
The TCP/IP and OSI models both serve the purpose of providing a conceptual framework for modeling and thinking about network protocols. However, the two models have significant differences. The right choice depends on an organization’s intended use case. The OSI model is more widely used and is helpful for planning due to its distinct, independent layers. In contrast, the TCP/IP model provides a direct mapping to certain network protocols designed to achieve a particular purpose.
The OSI and TCP/IP models provide a model for network protocols as well as a way to describe and classify different network security solutions. Cyberattacks are performed at different layers of these models, and understanding the models can help protect against these attacks.
Check Point’s Quantum next-generation firewall (NGFW) provides protection across all layers of the OSI and TCP/IP models. For more information about its capabilities, sign up for a free demo.