Layer 3: Network Layer - buaamer81/IT130-Networking-Wiki GitHub Wiki

Layer 3: Network Layer (OSI Model)


๐Ÿ“˜ Overview

The Network Layer is Layer 3 of the OSI Model.
It handles the logical addressing and routing of data between devices across multiple networks โ€” even across the globe.

Think of it as:
โ€œHow does data travel from Seattle to New York or from your laptop to Google servers?โ€


๐Ÿ”ง Key Responsibilities

  • Logical Addressing using IP Address
  • Routing data between networks
  • Path selection (best route)
  • Packet forwarding
  • Fragmentation of large packets
  • Error reporting using ICMP

๐Ÿ“ฆ Data Unit: Packet

Layer 3 works with Packets โ€” containers that include:

  • Source IP Address
  • Destination IP Address
  • Data payload from higher layers

๐Ÿ›  Devices Operating at Layer 3

Device Function
Router Directs packets between networks
Layer 3 Switch Combines switch speed with routing capability
Firewalls Often inspect Layer 3 & above

๐Ÿ” Protocols at Layer 3

Protocol Purpose
IP Logical addressing (IPv4/IPv6)
ICMP Diagnostics (Ping, Traceroute)
ARP Resolves IP to MAC addresses
RIP, OSPF, BGP Routing protocols

๐Ÿงช Troubleshooting at Layer 3

  • Use ping to test reachability
  • Use tracert (Windows) or traceroute (Linux/Mac) to trace packet paths
  • Check for IP conflicts
  • Review router configurations
  • Check subnetting issues

๐Ÿง  Real-Life Scenario

When you visit www.google.com:

  • Layer 3 breaks your data into packets.
  • Each packet finds its own path across the internet.
  • Routers read the destination IP address and forward it along the best route.

๐Ÿ“Š Visual Aids


๐Ÿ” Related Pages


Return to: OSI Model Overview