← Back to Lessons

Network Reference Models

Network reference models are theoretical frameworks that are used to describe and understand how communication networks work and how the various components that comprise them are organized. These models establish a conceptual structure that helps network professionals and designers to better understand communication processes and to develop standards and protocols in a consistent manner. Two of the best known reference models are the OSI (Open Systems Interconnection) Model and the TCP/IP (Transmission Control Protocol/Internet Protocol) Model:

OOSI Model (Open Systems Interconnection):

The OSI Model was developed by the International Organization for Standardization (ISO) in the 1980s and consists of seven layers, each with a specific set of functions. These layers, from the lowest to the highest, are as follows:

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

The Open Systems Interconnection (OSI) Model is a conceptual framework used to understand how computer networks work and how devices communicate in a network. This model divides communication into seven layers, each of which performs specific functions. Let's look at how each layer works:

Layer 7: Application Layer

  • This is the layer where applications and end users interact. It provides network services to applications, such as file transfer, email and web browsing.
  • Example: A web browser such as Chrome or Firefox.

Layer 6: Presentation Layer.

  • This layer is responsible for data representation and encryption. It converts data into a format that can be understood by the application layer.
  • Example: Data compression when sending a ZIP file.

Layer 5: Session Layer.

  • The session layer establishes, maintains and terminates session connections between two devices. It manages dialogs and controls communication.
  • Example: Initiating an online chat session.

Layer 4: Transport Layer.

  • The transport layer handles end-to-end data transfer and ensures that data is delivered reliably and in order. It controls segmentation, flow control and error recovery.
  • Example: TCP (Transmission Control Protocol) ensures reliable data delivery.

Layer 3: Network Layer.

  • The network layer is responsible for the direction and routing of data through the network. It defines how data is transmitted between networks and how the most efficient route is determined.
  • Example: The IP (Internet Protocol) protocol that assigns IP addresses to devices and routes data packets across the Internet.
  • This layer handles communication between devices on the same local network (LAN) and is responsible for error detection and correction. It organizes data into frames.
  • Example: The Ethernet standard that controls communication in a wired network.

Layer 1: Physical Layer

  • The physical layer refers to the physical transmission and reception of data via media such as cables or electromagnetic waves. It defines the electrical, mechanical and functional specifications of network devices.
  • Example: Ethernet cables, electrical signals in a coaxial cable or radio signals in a wireless network.

📖 In summary, the OSI Model divides the communication process into seven layers, each with specific functions. As data is transmitted from the application layer at a source device to the physical layer and then received at a destination device, each layer adds its own set of functions and headers to enable communication between devices on a network. This structure makes it easier to understand and troubleshoot computer networks.

Each layer communicates with adjacent layers through well-defined interfaces and provides services to higher layers. The OSI Model is a widely accepted theoretical reference that helps to understand how network protocols work and how they are organized in a protocol stack.

TCP/IP Model (Transmission Control Protocol/Internet Protocol):

The TCP/IP Model is a practical reference model that is based on the design of the Internet and is used to describe how devices communicate on the Internet. Although less detailed than the OSI Model, it consists of four main layers:

  • Network Access Layer
  • Internet Layer
  • Transport Layer
  • Application Layer

📖 The TCP/IP Model is widely used in network configuration and administration, as it conforms more directly to the Internet architecture and is simpler to implement and understand.

The TCP/IP (Transmission Control Protocol/Internet Protocol) Model is a conceptual model that describes how Internet networks work and is divided into four main layers. Here I explain each layer of the TCP/IP Model along with simple examples:

  • This layer is responsible for the transmission of data on the physical network and the interconnection of devices within a local area network (LAN).
  • Example: Ethernet and Wi-Fi are common network access layer protocols. When you send an email from your computer to another computer on the same Wi-Fi network, this layer handles the transmission of data between the two machines.

2. Internet Layer (Internet Layer):

  • The Internet layer is responsible for routing data between different networks and globally. It uses IP addresses to identify devices and routers on the network.
  • Example: When you enter a URL in your browser, such as www.example.com, the Internet layer resolves the IP address associated with that domain name and routes requests through the global network to the correct web server.

3. Transport Layer:

  • This layer is responsible for end-to-end communication, ensuring that data is transmitted reliably and in order.
  • Example: Transmission Control Protocol (TCP) is a transport layer protocol used for reliable data transfer. When you download a large file from a web server, TCP ensures that all packets are received correctly and in the correct order.

4. Application Layer:

  • The application layer is where applications and services interact directly with data. This is where the protocols and applications used by end users are located.
  • Example: Hypertext Transfer Protocol (HTTP) is an application layer protocol used to access web pages. When you browse a website, your browser uses HTTP to request and receive pages and resources from the web server.

It is important to note that the TCP/IP Model is a practical model that adapts to the Internet architecture and focuses on the functionality of the layers without strictly dividing it into seven layers like the OSI Model. In practice, these four layers are sufficient to understand how Internet networks work and how devices and applications communicate over it. Each layer plays an important role in transferring data across the overall network.

💡 The importance of these models lies in the fact that they provide a common language and organizational structure for network communication. They help network engineers and IT professionals better understand how protocols and devices interact in a network, troubleshoot network problems, and design efficient and secure networks.