ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP2119Layered Architecture
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP2119

    Computer Networks

    Progress0 / 24 done
    Topics24
    1Introduction and Protocols Architecture2Basic Concepts of Networking3Network Topologies4Layered Architecture5Physical Layer Functionality6Data Link Layer Functionality7Multiple Access Techniques8Circuit Switching and Packet Switching9LAN Technologies10Wireless Networks11MAC Addressing12Networking Devices13Network Layer Protocols14IPv4 and IPv615IP Addressing16Sub Netting17CIDR18Routing Protocols19Transport Layer Protocols20Ports and Sockets21Connection Establishment22Flow and Congestion Control23Application Layer Protocols24Latest Trends in Computer Networks
    5 min read
    Topic 4 of 24
    Topic Study Note Illustration
    04

    Layered Architecture

    Layered architecture is a design framework used in networking to organize and manage the complex task of data communication between devices. It divides the network processes into...

    Layered Architecture in Networking

    Layered architecture is a design framework used in networking to organize and manage the complex task of data communication between devices. It divides the network processes into a series of layers, each with a specific function. By separating these functions, it simplifies troubleshooting, design, and understanding of network operations.

    The most widely recognized layered architecture models are the OSI (Open Systems Interconnection) model and the TCP/IP model. Let's explore these models:

    1. OSI Model (Open Systems Interconnection)

    The OSI model is a conceptual framework that standardizes the functions of a networking system into seven distinct layers. Each layer serves a specific role in the communication process.

    The Seven Layers of the OSI Model:

    1. Physical Layer (Layer 1):

      • Function: Deals with the physical connection between devices. It involves hardware components like cables, switches, and network interface cards.
      • Data Format: Bits (0s and 1s).
      • Examples: Ethernet cables, fiber optics, Wi-Fi signals.
    2. Data Link Layer (Layer 2):

      • Function: Provides error detection and correction to ensure that data is accurately transmitted over the physical layer. It also manages access to the physical medium.
      • Data Format: Frames.
      • Examples: MAC addresses, switches, bridges.
    3. Network Layer (Layer 3):

      • Function: Handles the routing of data between devices on different networks. It determines the best path for data to travel from source to destination.
      • Data Format: Packets.
      • Examples: IP addresses, routers.
    4. Transport Layer (Layer 4):

      • Function: Ensures reliable data transfer between devices, managing error detection, flow control, and data retransmission if necessary.
      • Data Format: Segments (TCP) or datagrams (UDP).
      • Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
    5. Session Layer (Layer 5):

      • Function: Manages and controls the connections (sessions) between devices. It establishes, maintains, and terminates communication sessions.
      • Data Format: Data.
      • Examples: Session management protocols, such as NetBIOS.
    6. Presentation Layer (Layer 6):

      • Function: Translates data between the application layer and the lower layers, ensuring that data is in a format that can be understood by the receiving device. It handles data encryption, compression, and translation.
      • Data Format: Data.
      • Examples: Encryption (e.g., SSL/TLS), data encoding formats (e.g., JPEG, ASCII).
    7. Application Layer (Layer 7):

      • Function: Provides network services directly to end-users and applications. It’s where users interact with network services, such as web browsers and email clients.
      • Data Format: Data.
      • Examples: HTTP (Hypertext Transfer Protocol), FTP (File Transfer Protocol), SMTP (Simple Mail Transfer Protocol).

    2. TCP/IP Model (Transmission Control Protocol/Internet Protocol)

    The TCP/IP model is a more practical framework that reflects the structure of the internet and other modern networks. It consists of four layers, each corresponding to one or more layers of the OSI model.

    The Four Layers of the TCP/IP Model:

    1. Network Interface Layer (Link Layer):

      • Function: Combines the functions of the OSI’s Physical and Data Link layers. It handles the physical transmission of data and the control of data flow within a network.
      • Examples: Ethernet, Wi-Fi, MAC addresses.
    2. Internet Layer:

      • Function: Corresponds to the OSI’s Network layer. It manages the addressing, packaging, and routing of data to ensure it reaches the correct destination across multiple networks.
      • Examples: IP (Internet Protocol), ICMP (Internet Control Message Protocol).
    3. Transport Layer:

      • Function: Similar to the OSI’s Transport layer, it ensures reliable data transmission between devices, providing error checking, data flow control, and retransmission.
      • Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
    4. Application Layer:

      • Function: Combines the functions of the OSI’s Application, Presentation, and Session layers. It provides protocols and services that directly interact with the user’s applications.
      • Examples: HTTP, FTP, SMTP, DNS (Domain Name System).

    How Layered Architecture Works

    When data is transmitted over a network, it travels down the layers on the sending side, starting from the Application layer and moving down to the Physical layer. At each layer, additional information (like headers) is added to the data to perform specific functions, a process known as encapsulation.

    The data then travels through the physical network (like cables or wireless signals) and reaches the receiving side, where it moves back up through the layers. At each layer on the receiving side, the corresponding information is removed, a process called decapsulation, until the data is presented to the receiving application.

    Benefits of Layered Architecture

    • Modularity: Each layer is independent, so changes in one layer (e.g., introducing a new protocol) don’t affect the others.
    • Troubleshooting: Network issues can be isolated and addressed at the specific layer where the problem occurs.
    • Interoperability: By following standardized layers and protocols, devices from different manufacturers can communicate effectively.
    • Flexibility: Layered architecture supports the integration of new technologies without disrupting the entire network structure.

    Summary

    Layered architecture in networking simplifies the complex process of communication by dividing it into manageable layers, each with a specific role. The OSI model is a theoretical framework with seven layers, while the TCP/IP model is more practical, with four layers. Both models help ensure that data is transmitted accurately and efficiently between devices, supporting the seamless communication we rely on in the digital age.

    ← Previous topic 3
    Network Topologies
    Next topic 5 →
    Physical Layer Functionality

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    5mremaining
    819words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Computer Networks