ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Computer Networks
    CC-313
    Progress0 / 24 topics
    Topics
    1. Introduction and Protocols Architecture2. Basic Concepts of Networking3. Network Topologies4. Layered Architecture5. Physical Layer Functionality6. Data Link Layer Functionality7. Multiple Access Techniques8. Circuit Switching and Packet Switching9. LAN Technologies10. Wireless Networks11. MAC Addressing12. Networking Devices13. Network Layer Protocols14. IPv4 and IPv615. IP Addressing16. Sub Netting17. CIDR18. Routing Protocols19. Transport Layer Protocols20. Ports and Sockets21. Connection Establishment22. Flow and Congestion Control23. Application Layer Protocols24. Latest Trends in Computer Networks
    CC-313›Layered Architecture
    Computer NetworksTopic 4 of 24

    Layered Architecture

    5 minread
    819words
    Beginnerlevel

    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 load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time5 min
      Word count819
      Code examples0
      DifficultyBeginner