← All posts
7 min read

LAN, WAN, and the Internet: Networks at Different Scales

#technology#computer-science#networking#internet
📑 On this page

A phone can send a video to a nearby television through the home network even when the internet provider is offline. An office can connect buildings across cities through a private wide-area service without making every internal device public.

These examples involve networks at different scopes.

A LAN connects devices within a limited local environment. A WAN connects networks across larger distances. The internet is a global federation of independent networks using shared protocols.

The boundaries describe administrative and geographic scale, not one mandatory cable type.

Local area networks

A local area network, or LAN, commonly covers:

  • Home
  • Office floor
  • School building
  • Data-center room
  • Small campus area

The organization or resident usually controls the local equipment and policies.

LAN technologies include Ethernet and Wi-Fi. Devices may communicate at high speed with relatively low latency because the path is short and locally managed.

A LAN can contain several logical subnets and security segments; "local" does not mean flat or simple.

Wireless LAN

Wi-Fi creates a wireless local area network, often called a WLAN.

An access point bridges wireless devices into the wider local network. A home router commonly combines:

  • Wi-Fi access point
  • Ethernet switch
  • IP router
  • Firewall
  • DHCP service
  • Sometimes modem or fiber-terminal functions

Because these roles live in one box, everyday language often calls the whole device "the Wi-Fi."

Separating the roles helps troubleshooting.

Wide area networks

A wide area network, or WAN, connects sites over larger geographic distances.

Examples include:

  • Company branches linked across cities
  • Bank networks
  • Mobile carrier infrastructure
  • Internet-provider backbone

Organizations may build WAN connectivity using leased circuits, provider-managed services, encrypted tunnels, or internet links.

The underlying path can cross fiber, microwave, submarine cables, or satellite.

WAN links usually cost more and have greater latency than a local Ethernet link because distance and provider infrastructure increase.

The internet is not one network

The internet consists of many independently operated networks:

  • Internet service providers
  • Cloud providers
  • Universities
  • Governments
  • Companies
  • Content networks
  • Mobile carriers

Each large network can be represented as an autonomous system with its own routing policy.

These networks exchange reachability information and traffic. No single company owns the complete internet.

Standards bodies, registries, operators, and governments influence parts of the ecosystem, but control remains distributed.

Internet providers

An internet service provider gives customers a path into its network and onward to others.

The provider:

  • Operates access equipment
  • Assigns or delegates addressing
  • Routes customer traffic
  • Connects to other networks
  • Maintains capacity and policy

A provider may purchase transit, paying another network to carry traffic broadly. Networks may also peer, exchanging traffic directly under negotiated terms.

Direct interconnection can reduce cost and latency.

Private and public networks

A private network restricts access and may use address ranges not routed globally on the public internet.

A public internet service accepts traffic through globally reachable addresses and defined ports.

Private does not automatically mean secure. Access controls, encryption, updates, and monitoring still matter.

Organizations use virtual private networks to extend controlled network access across an untrusted internet path.

The encrypted tunnel creates a logical connection; the packets still travel through provider infrastructure.

A concrete example: opening a local media server

Suppose a home computer hosts films for a smart television.

  1. Both join the home LAN.
  2. The television discovers the media service.
  3. Traffic moves through the local switch or access point.
  4. The router does not need to forward it to the provider.

If the provider connection fails, local playback can continue.

Now suppose you access the media library while traveling. The traffic must cross:

  • Remote local network
  • Remote provider
  • Internet networks
  • Home provider
  • Home router and firewall
  • Home LAN

The service also needs secure remote exposure or a VPN.

The application is the same; the network scope changes the path and risks.

Intranets and extranets

An intranet uses familiar internet technologies inside an organization.

It may host internal websites, directories, tools, and documentation unavailable to the public.

An extranet selectively gives outside partners or customers access to parts of an organization's systems.

The terms describe audience and access boundaries, not a special replacement for IP or web protocols.

Campus and metropolitan networks

Not every network fits neatly into home-LAN versus global-WAN.

A campus network can connect many buildings under one organization. A metropolitan network spans a city or region.

These labels help describe scale, ownership, and design goals, but the same technologies can appear at several scales.

Fiber Ethernet can serve a room, campus, or provider backbone with different equipment and operational practices.

The internet edge and core

The edge contains end-user devices and access networks. The core contains high-capacity routers and links moving traffic among networks.

Cloud data centers and content-delivery systems blur the simple picture by placing services closer to users at many edge locations.

The end-to-end path can change over time as routing policy and failures change.

Applications should not assume packets always cross one fixed sequence of routers.

Resilience through interconnection

Networks can connect through multiple links and providers.

If one path fails, routing may select another. Redundancy improves availability but requires:

  • Independent physical paths
  • Sufficient spare capacity
  • Correct routing
  • Tested failover

Two links that share the same underground conduit can fail together.

Logical diagrams should be checked against physical dependencies.

Common misunderstandings

"The internet is a giant central server"

It is a federation of interconnected networks and endpoints.

"LAN always means one building"

It generally means a locally controlled network scope, which can include a campus or multiple logical segments.

"Private IP addresses make a service safe"

They reduce direct global routing but do not stop attacks from inside, through VPNs, or through misconfigured gateways.

"A VPN avoids the internet"

Most VPNs carry encrypted traffic through the internet or another underlying network.

Knowledge check

1. What commonly distinguishes a LAN from a WAN?

A LAN covers a limited, locally managed environment; a WAN connects networks over broader distances, often through provider infrastructure.

2. Who owns the internet?

No single entity. It is composed of independently operated networks that interconnect using shared standards and agreements.

3. What is peering?

It is an arrangement in which networks exchange traffic directly, often to reduce cost or improve performance.

4. Why can two supposedly redundant links fail together?

They may share physical cables, conduits, power, equipment, or provider infrastructure.

The one idea to remember

LAN and WAN describe network scope; the internet is the interconnected collection of many such independently managed networks.

Your device does not connect to one internet machine. It joins a chain of local, provider, transit, and destination networks.

Next, we will examine the packets that carry data across those shared links.