Packet.School
HomeLevelsSandboxPricingAbout
XP1,240
L1 · Basic Concepts
Level 1
5 lessons
  • 01What is a Network?
  • 02IP Address
  • 03MAC Address
  • 04LAN, WAN and Internet
  • 05Level 1 Quiz
Levels/L1 · Basic Concepts/Lesson 04
Lesson · 04

LAN, WAN and Internet

Networks are classified by their physical scope — from a single room to an entire planet. The same packets travel the same protocols; only how far they travel changes.

Duration
6min
Level
L1
Type
Lesson
Progress
4/ 5

01Three scopes, one logic

Each scope is not a different technology — it is the same IP model applied to a different geographic boundary. Smallest to largest:

LAN
Local Area Network

Devices connected within a single physical location — a room, a house, a floor, or a campus building. Usually clustered around a single switch or Wi-Fi router.

Typical examples
Home Wi-Fi Office network School lab Café hotspot
Characteristics
  • High speed — 1–10 Gbps
  • Low latency — < 1 ms
  • Limited area — < 1 km
  • Single administrative domain
WAN
Wide Area Network

A network that connects multiple geographically separate LANs. A company's offices in two different cities can communicate over a private WAN — via leased lines, VPN tunnels, or MPLS.

Typical examples
Multi-city offices National ATM network University branch campuses
Characteristics
  • Medium speed — 10 Mbps–1 Gbps
  • Higher latency — 10–80 ms
  • Wide geographic area
  • Depends on a service provider
Internet
Network of Networks

The global public network where millions of autonomous networks interconnect via shared protocols — primarily IP. No single entity owns it; thousands of ISPs announce their address blocks via BGP and peer with each other.

Typical examples
Every website you visit Streaming services Mobile data Email
Characteristics
  • Variable speed — depends on ISP
  • Variable latency — 20–300 ms
  • Global scope
  • No owner — belongs to everyone
Keep in mind
"LAN", "WAN" and "Internet" are not device types — they define the scope of a packet's journey. The same computer can simultaneously be part of a LAN, a WAN (via VPN), and the Internet.

02How a packet travels across scopes

LANs sit inside WANs, WANs sit inside the Internet. A single packet can cross all three in one trip.

Figure 1 · Nested scopes
INTERNET · GLOBAL WAN · ENTERPRISE LAN · LONDON LAN · NEW YORK VPN / MPLS ↺ FALLBACK ROUTE: PUBLIC INTERNET

When a user in London sends a file to the New York server, the packet first crosses the LAN to the local switch, then reaches the edge router (gateway). The router forwards it onto the WAN link — a leased line or VPN tunnel. If the WAN link is down, the same packet exits via 0.0.0.0/0 onto the Internet and attempts to reach its destination via public routes.

03Side-by-side comparison

LANWANInternet
ScopeRoom / buildingCity / countryGlobal
Speed1–10 Gbps10 Mbps–1 GbpsVariable
Latency< 1 ms10–80 ms20–300 ms
OwnerYouCompany / ISPNobody
CostLow (own hardware)High (leased lines)Subscription
ProtocolEthernet / Wi-FiMPLS, VPNBGP / IP

04Summary

  • LAN = devices in one physical space, fast and cheap
  • WAN = multiple LANs bridged across geography, you lease the link
  • Internet = every WAN and LAN on Earth, stitched together by BGP and IP
  • A packet may cross all three scopes in a single round-trip
Previous
MAC Address
Next
Level 1 Quiz
On this page
  • Three scopes, one logic
  • How a packet travels across scopes
  • Side-by-side comparison
  • Summary
Packet.School

An open, interactive curriculum for computer networking.

v3.0 · MIT22 lessons live

Learn

  • Lessons
  • Sandbox
  • Levels
  • Pricing
  • About

Simulations

  • Packet Journey
  • DNS Lookup
  • DHCP Simulator
  • Subnet Calc
  • Network Builder
  • Terminal

Project

  • About
  • Changelog
  • GitHub
  • Contributing
  • Style guide

Newsletter

One short email when a new level ships. No tracking pixels.

© 2026 Packet.School — MIT licensed☕ Support with a coffeebuilt in the open · last updated 2026.05.14