logo

How these models interact with networks

Both the OSI model and the TCP/IP model describe the communication process between devices over a network. When devices (such as computers, servers, or routers) communicate with each other, they exchange data in a structured manner through a set of protocols that are defined in each layer of the models.

Here’s a simplified breakdown of how the layers in both models interact with the network:


1. Network Communication Flow

  • Data generation and packaging:
    At the top layer (Application), the data is generated by user applications, such as web browsers or email clients. This data is then passed down through the layers in both models.
  • Protocol handling:
    At each layer, specific protocols (like TCP for reliable communication or IP for addressing and routing) take care of tasks relevant to that layer. The data is then encapsulated with additional control information (e.g., header data) as it moves down through the layers.
  • Transmission over the network:
    The data is then transmitted over the physical network (such as Ethernet or Wi-Fi) through the lowest layers (Network Access or Link layer). The physical hardware like network cables or wireless signals carry the data between devices.
  • Receiving and decoding:
    On the receiving device, the data moves up through the layers of the OSI or TCP/IP model, where each layer extracts the relevant information (like reassembling the packets in TCP or routing data in IP). Eventually, the original data is delivered to the receiving application.

Diagram of OSI and TCP/IP Models Interaction with Networks

Below is a simple diagram of how both models interact with networks:

  +--------------------+       +------------------------+
| Application Layer | | Application Layer |
| (User applications) | <---->| (User applications) |
+--------------------+ +------------------------+
| |
v v
+--------------------+ +------------------------+
| Presentation Layer | | |
| (Data formatting) | | |
+--------------------+ | |
| |
v v
+--------------------+ +------------------------+
| Session Layer | | |
| (Session control) | | |
+--------------------+ | |
| |
v v
+--------------------+ +------------------------+
| Transport Layer | | Transport Layer |
| (Reliability) | <---->| (Reliability) |
+--------------------+ +------------------------+
| |
v v
+--------------------+ +------------------------+
| Network Layer | | Internet Layer |
| (Routing, Address) | <---->| (Routing, IP Address) |
+--------------------+ +------------------------+
| |
v v
+--------------------+ +------------------------+
| Data Link Layer | | Network Access Layer |
| (Error detection) | <---->| (Physical transmission)|
+--------------------+ +------------------------+
| |
v v
+--------------------+ +------------------------+
| Physical Layer | | |
| (Transmission) | <---->| (Transmission) |
+--------------------+ +------------------------+
| |
v v
Data transferred over cables, Wi-Fi, etc. (Physical Layer)

Explanation of the Diagram:

  • Application Layer:
    The data generated by the application (like an email or webpage request) starts here. The application layer is responsible for high-level protocols such as HTTP, FTP, SMTP, etc.
  • Session & Presentation Layers (OSI only):
    These layers are responsible for managing communication sessions and data formatting. The OSI model uses these to organize and structure the data being sent, but the TCP/IP model merges these responsibilities into the Application Layer.
  • Transport Layer:
    This layer is responsible for ensuring the data is delivered reliably (via TCP) or quickly (via UDP). It provides mechanisms for error correction and flow control.
  • Network Layer:
    The network layer routes data through the network using logical addresses (like IP addresses) and determines the best path for data delivery.
  • Data Link Layer & Physical Layer:
    These layers deal with how data is physically transmitted across the network. The Data Link Layer ensures error detection and control, while the Physical Layer involves actual transmission over cables, Wi-Fi, or other physical media.

logo

বিসিএস, ব্যাংক, শিক্ষক নিয়োগ, পিএসসি ও অন্যান্য চাকরির পরীক্ষার জন্য একটি সহায়ক প্লাটফর্ম।

Contact Us

Email: contact@openexamschool.com


© 2025 Open Exam School. All rights reserved. Developed By Nuton.