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
    CSI-417
    Progress0 / 18 topics
    Topics
    1. Analogue and Digital Transmission2. Noise3. Media4. Encoding5. Asynchronous and Synchronous Transmission6. Protocol Design Issues7. Network System Architectures (OSI, TCP/IP)8. Error Control9. Flow Control10. Data Link Protocols (HDLC, PPP)11. Local Area Networks and MAC Layer Protocols (Ethernet, Token Ring)12. Multiplexing13. Switched and IP Networks14. Inter-networking15. Routing16. Bridging17. Transport Layer Protocols (TCP/IP, UDP)18. Network Security Issues
    CSI-417›Network System Architectures (OSI, TCP/IP)
    Computer NetworksTopic 7 of 18

    Network System Architectures (OSI, TCP/IP)

    7 minread
    1,146words
    Intermediatelevel

    Network System Architectures: OSI and TCP/IP Models

    In computer networking, the architecture of a network system refers to the structured framework that defines how communication occurs between different devices over a network. Two major network models used to understand network architecture are the OSI model (Open Systems Interconnection model) and the TCP/IP model (Transmission Control Protocol/Internet Protocol model). These models provide a conceptual framework for understanding how different layers of a network function and interact.


    1. OSI Model (Open Systems Interconnection Model)

    The OSI model is a theoretical framework that divides the process of network communication into seven layers. It was developed by the International Organization for Standardization (ISO) to guide product developers and network administrators. The OSI model breaks down the tasks of communication into manageable components, with each layer having a specific function in the overall process of communication.

    The Seven Layers of the OSI Model

    1. Physical Layer (Layer 1)

      • Purpose: Defines the physical medium used for data transmission (e.g., cables, switches, routers).
      • Functions:
        • Deals with hardware elements such as cables, network interface cards, and signal transmission.
        • Defines electrical, mechanical, and procedural aspects of physical connections.
      • Examples: Ethernet cables, fiber optics, wireless signals.
    2. Data Link Layer (Layer 2)

      • Purpose: Ensures reliable transmission of data over the physical medium, handles error detection, and provides frame synchronization.
      • Functions:
        • Frames the data into packets (frames) and provides error detection/correction.
        • Controls how devices on the same local network communicate.
      • Examples: Ethernet (MAC), Wi-Fi, PPP (Point-to-Point Protocol).
    3. Network Layer (Layer 3)

      • Purpose: Responsible for routing data packets between devices across different networks.
      • Functions:
        • Logical addressing (IP addresses), packet routing, and forwarding between networks.
        • Manages congestion control and packet fragmentation.
      • Examples: IP (Internet Protocol), Routers, ICMP (Internet Control Message Protocol).
    4. Transport Layer (Layer 4)

      • Purpose: Provides end-to-end communication and reliability by managing data flow, error correction, and data segmentation.
      • Functions:
        • Ensures data is transferred reliably between source and destination.
        • Segments large data into smaller packets for transmission.
        • Provides flow control, error correction, and data acknowledgment.
      • Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
    5. Session Layer (Layer 5)

      • Purpose: Manages sessions or connections between applications on different devices.
      • Functions:
        • Establishes, maintains, and terminates communication sessions between applications.
        • Ensures that data is properly synchronized and organized.
      • Examples: NetBIOS, RPC (Remote Procedure Call).
    6. Presentation Layer (Layer 6)

      • Purpose: Ensures that data is presented in a format that is understandable by both sender and receiver applications.
      • Functions:
        • Data translation, encryption, and compression.
        • Ensures data is properly formatted (e.g., converting from ASCII to EBCDIC).
      • Examples: JPEG, MPEG, SSL/TLS (for encryption).
    7. Application Layer (Layer 7)

      • Purpose: Provides the interface and services directly to the user and manages network services.
      • Functions:
        • Directly interacts with software applications to provide network services (e.g., file transfer, email).
        • Defines protocols for end-user applications like web browsing, email, and file transfer.
      • 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 and widely used model in real-world networks, such as the Internet. It was developed by the U.S. Department of Defense for the ARPANET (precursor to the modern Internet). Unlike the OSI model, the TCP/IP model is based on a more streamlined and flexible approach with fewer layers.

    The Four Layers of the TCP/IP Model

    1. Link Layer (Network Interface Layer)

      • Purpose: Corresponds to both the OSI's Physical Layer and Data Link Layer.
      • Functions:
        • Responsible for the actual transmission of data over the network hardware (physical medium).
        • Defines the protocols for communication between devices on the same local network.
      • Examples: Ethernet, Wi-Fi, PPP.
    2. Internet Layer

      • Purpose: Corresponds to the Network Layer in the OSI model.
      • Functions:
        • Responsible for logical addressing, routing, and packet forwarding across different networks.
        • Provides the foundational protocols for inter-network communication.
      • Examples: IP (Internet Protocol), ICMP (Internet Control Message Protocol), ARP (Address Resolution Protocol).
    3. Transport Layer

      • Purpose: Corresponds to the Transport Layer in the OSI model.
      • Functions:
        • Ensures reliable end-to-end communication between applications.
        • Manages segmentation, flow control, error correction, and retransmission of data.
      • Examples: TCP (Transmission Control Protocol), UDP (User Datagram Protocol).
    4. Application Layer

      • Purpose: Corresponds to the Session, Presentation, and Application Layers of the OSI model.
      • Functions:
        • Provides high-level network services directly to user applications.
        • Defines communication protocols for data exchange between software applications over the network.
      • Examples: HTTP, FTP, SMTP, DNS, Telnet.

    Comparison Between OSI and TCP/IP Models

    Aspect OSI Model TCP/IP Model
    Number of Layers 7 layers (Physical, Data Link, Network, Transport, Session, Presentation, Application) 4 layers (Link, Internet, Transport, Application)
    Layer Focus Focuses on defining a universal standard for network communications Focuses on practical implementation and interoperability
    Development Origin Developed by ISO for a universal standard Developed by the U.S. Department of Defense (DARPA)
    Application Layer Role Application Layer exists as a separate layer Application Layer encompasses the roles of OSI's Application, Presentation, and Session layers
    Protocol Examples HTTP, FTP, SMTP, TCP, IP, Ethernet, etc. HTTP, FTP, SMTP, TCP, IP, Ethernet, ARP, etc.
    Flexibility Highly detailed and comprehensive, but less practical in real-world implementations More flexible and practical, designed to handle real-world network implementations (especially the Internet)
    Usage Mainly used as a conceptual model and guide for protocol development Widely used in practice for the design of real-world networks, including the Internet

    Key Differences Between OSI and TCP/IP Models

    • Number of Layers: The OSI model has 7 layers, whereas the TCP/IP model has only 4 layers. The TCP/IP model combines some of the OSI layers (e.g., the Application layer includes the roles of the OSI's Session, Presentation, and Application layers).

    • Purpose and Practicality: The OSI model is more of a theoretical framework, whereas the TCP/IP model was specifically designed for practical implementation and was the basis for the development of the Internet.

    • Layer Functions: The OSI model defines very specific functions for each layer, making it highly structured. In contrast, the TCP/IP model is more streamlined, and some layers have more generalized functions.

    • Adoption: While OSI is used more as a reference model for understanding network communications, the TCP/IP model is used widely in real-world applications, particularly in the Internet protocol suite.


    Conclusion

    Both the OSI model and the TCP/IP model are valuable frameworks for understanding network communication. The OSI model is a comprehensive, conceptual model that helps to break down the network communication process into seven layers, making it a useful educational tool. On the other hand, the TCP/IP model is more practical and is the basis for the Internet and most modern networking technologies. Understanding both models is essential for network engineers, administrators, and anyone working in the field of computer networking.

    Previous topic 6
    Protocol Design Issues
    Next topic 8
    Error Control

    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 time7 min
      Word count1,146
      Code examples0
      DifficultyIntermediate