Skip to content
  • Layer 3 — Network · Computer Networks

Layer 3 — Network

LearnViaNotes @learnvianotes· 2 min read

Where packets are stamped with IP addresses and routed across network borders.

PDU: Packet

Focus: Inter-Network Routing

Hardware: Routers / Layer 3 Switches

Core Purpose & Function

The Network Layer is where the boundaries of local networks (LANs) are crossed. While Layer 2 can only talk to immediate neighbors on the same cable or switch, Layer 3 is what allows packets to travel across routers, ISPs, and undersea cables to reach a server on the other side of the globe.

Key Responsibilities

  • Logical Addressing: Wrapping segments in IP packets, stamping them with source and destination IP addresses.

  • Routing & Path Selection: Routers calculate the optimal path through the global mesh using routing tables and algorithms (e.g. OSPF, BGP, RIP).

  • Packet Fragmentation: Splitting large packets into smaller fragments if they exceed the MTU of a router interface, and setting flags to enable reassembly.

  • Congestion Avoidance: Dropping or throttling packets when router queues fill up.

Common Protocols at Layer 3

ProtocolFull NamePurpose
IPv4Internet Protocol version 432-bit logical addressing system (most common)
IPv6Internet Protocol version 6128-bit next-generation addressing system
ICMPInternet Control Message ProtocolSends diagnostic messages and error reports (used by ping)
IPSecInternet Protocol SecurityProvides authentication and encryption for Layer 3 packets (VPN tunnels)

Analogy: The Postal Routing Center

Path Selection Performance

Free for students and teachers

Write notes like this one

Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.

Something wrong with this note? Open it to report