L

Network Layer Detailed Notes

Overview of the Network Layer

  • The network layer is responsible for delivering data packets across network boundaries and ensuring they arrive from the source to the destination.

Goals of the Network Layer

  • Understand key principles of network layer services, focusing on the data plane.
    • Network layer service models
    • Forwarding vs. routing
    • Router operation
    • Addressing schemes
    • Generalized forwarding concepts
    • Internet architecture
    • Instantiation and implementation (e.g., IP protocol, NAT, middleboxes)

Architectures and Functions

  • Data Plane vs. Control Plane
    • Data Plane
    • Local, per-router function that determines how incoming datagrams are forwarded to output ports.
    • Control Plane
    • Network-wide logic that determines how datagrams are routed among routers from source to destination.

Router Components

  • Router Architecture:
    • Comprises input ports, switching fabric, and output ports.
    • Input ports handle bit reception at the physical layer, link layer protocol operations, and forwarding decisions.
  • Switch Fabric:
    • A mechanism that connects input ports to output ports at high speeds.

Functions of the Network Layer

  • Forwarding:
    • Moves packets from input ports to the appropriate output ports.
    • Analogy: like taking a trip where forwarding is akin to reaching an interchange.
  • Routing:
    • The process of determining how packets travel from their source to destination.
    • Implemented through routing algorithms.

Network Layer Services

  • Types of services available for individual and groups of datagrams:
    • For Individual Datagrams:
    • Guaranteed delivery
    • Guaranteed delivery with a delay of less than 40 msec
    • For a Flow of Datagrams:
    • In-order delivery
    • Guaranteed minimum bandwidth
    • Restrictions on inter-packet spacing

Best-Effort Service Model

  • Internet service model: operates on a best-effort basis without guarantees.
    • No assurance regarding successful datagram delivery, timing, order of delivery, or available bandwidth.
  • Reflections on Best-Effort Service:
    • Simplicity has facilitated widespread deployment.
    • Adequate bandwidth enables good performance for real-time applications like voice/video.
    • Cloud services and distributed architectures allow service availability from multiple locations.

Quality of Service (QoS) Guarantees

  • Various service models as defined by standards like Intserv (RFC 1633) and Diffserv (RFC 2475) provide different levels of QoS.
    • Differentiates between guaranteed minimum bandwidth, loss, order, and timing.

Summary

  • The network layer operates as a critical component managing the flow of data across networks, optimizing performance through effective routing and handling of packets. Understanding the architecture and functions is key to mastering networking concepts in modern applications.