Computer Networks / Lecture / Lecture 2
Lecture · Computer Networks

Classification of Computer Networks: LAN, MAN, WAN, WLAN

Your earbuds are connected to your phone, the phone to your home Wi-Fi, the Wi-Fi through a provider to the city network, and the city to the whole world through cables on the ocean floor. All of this is a network, but its size, speed, price and owner are completely different. In this lesson, with a simulator and calculations, you will learn how to classify networks by coverage area and connection technology, and the structure and differences of LAN, WLAN, MAN and WAN.

:ik-kitob: Lecture 2 ⏱ 2 academic hours (80 minutes) 🚇 Packet simulators ⚡ From earbuds to the ocean
02

Lesson goals and plan

By the end of the lesson you will…

  • name the criteria for classifying networks (coverage area, connection technology, ownership, transmission method)
  • tell PAN, LAN, CAN, MAN and WAN apart by distance and purpose
  • compare the advantages and disadvantages of wired and wireless (WLAN) connection technologies
  • calculate the signal propagation delay for a given distance and explain why a WAN is “slower”
  • correctly calculate download time, taking the difference between bits and bytes into account
  • choose a suitable network type for a given situation and justify the choice

Plan (according to the syllabus)

  1. Principles of classifying computer networks by coverage area and connection technology
  2. The structure, areas of use, advantages and mutual differences of LAN, MAN, WAN and WLAN networks

When identifying a network type, the first question is: “How far apart are the devices and who does the network belong to?” The second: “Are they connected by cable or through the air?” These two questions give the answer in 90% of cases.

Why is the ping to a site in Tashkent a few milliseconds, but to a site in Europe tens of milliseconds?

Even if your provider says “100 Mbit/s”, distant servers answer “more slowly”. The point is not speed but distance: even at the speed of light a signal cannot cross thousands of kilometers instantly. This is also the deeper meaning of dividing networks by area into LAN, MAN and WAN. Today you will calculate this difference with your own hands.

Key terms

Before clicking the card, say the meaning of the term yourself.

Principles of classifying computer networks by coverage area and connection technology

Let us also classify transport: a scooter (one person, short distance), a city bus, an intercity bus, an airplane. All of them are “transport”, but their speed, price, capacity and owner differ. Networks are the same — first we choose the criterion, then we group by it.

Definition

Classifying networks means dividing them into groups by common features (criteria). The two most widely used criteria are coverage area (geographic size) and connection technology (wired or wireless transmission medium).

Table 2.1. Criteria for classifying networks
CriterionTypesCovered in depth in
Coverage areaPAN, LAN, CAN, MAN, WANthis lesson
Connection technology (medium)wired (copper cable, fiber), wireless (Wi-Fi, Bluetooth, 4G/5G, satellite)this lesson, Lecture 7
Ownership and useprivate (corporate), public (provider, Internet), virtual (VPN)this lesson, practical class 19
Topologystar, ring, bus, mesh, hybridLecture 3
Transmission methodbroadcast, point-to-pointLectures 3, 5
Management architectureclient–server, peer-to-peerLecture 10

By coverage area: the scale ruler

The type of network can be roughly bounded by distance. The limits are not strict (even one building can be 300 m), but the order of magnitude — 1 m, 100 m, 10 km, 1000 km — matters.

1 m 100 m 1–5 km 10–50 km 100–10 000+ km PANearbuds, watch LAN / WLANroom, building CANcampus, factory MANcity WANcountry, world ← small latency, high speed, cheap · · · large latency, expensive channels, many owners →
Fig. 2.1. Networks by coverage area: each step covers an area several times larger

Distance and latency: you cannot cheat the laws of physics

In optical fiber, light travels more slowly than in a vacuum — at roughly 200 000 km/s (about 2/3 of the speed of light). So every 200 km of distance adds at least 1 ms in one direction. This is the propagation delay — no “faster plan” can save you from it. Real cables do not run in straight lines and the routers on the way take time too, so the actual ping is larger than this.

:ik-tez: Latency calculator: how far does the packet travel?

Distance (along the optical cable):
One way (theoretical)
RTT — round trip (theoretical minimum)
Expected ping in practice (approximate)

Distances are approximate (in a straight line); “expected ping in practice” is an estimate for study purposes — the real value depends on the provider and the route.

By connection technology: wired and wireless

:ik-vilka: Wired networks

  • Medium: twisted pair (UTP), coaxial, optical fiber
  • Standard: Ethernet (IEEE 802.3)
  • + high and stable speed, low latency, resistant to noise, more secure (you have to physically plug into the cable)
  • − laying cable is expensive and difficult, no mobility

:ik-wifi: Wireless networks

  • Medium: radio waves (sometimes infrared light)
  • Standard: Wi-Fi (IEEE 802.11), Bluetooth, 4G/LTE, 5G, satellite communication
  • + mobility, quick installation, suitable where cable cannot be laid
  • − walls and obstacles weaken the signal, interference, speed is divided among users, risk of interception over the air (encryption is a must)
Practical rule

For stationary and “heavy” work (servers, a computer class, a gaming PC, an IP phone) — cable. For devices on the move (phone, laptop, tablet) — Wi-Fi. Most modern networks are exactly this kind of mixed one: the Wi-Fi access points themselves are also connected to a switch by cable.

The structure, areas of use, advantages and mutual differences of LAN, MAN, WAN and WLAN networks

Now let us look “inside” the four main types: what devices each is made of, where it is used, and what it is good or bad at. Switch between them by clicking the tabs.

Structure: computers, printers and servers connect with UTP cable to one or several switches; the switches are usually arranged in a star topology. The way out of the network is through a router. The standard is Ethernet (100 Mbit/s – 10 Gbit/s).

Use: an office, a computer class, a dean’s office, an Internet café, a bank branch, a small firm.

Advantages: high speed, very small latency (<1 ms), few errors, fully under the organization’s control, cheap.

Disadvantages: small area; no mobility because of the cable; if one switch fails, everything connected to it goes down.

Structure: devices connect over radio to an access point (AP); the AP itself is connected to a LAN by cable. The network name is the SSID, protection is WPA2/WPA3 encryption. The standard is IEEE 802.11 (Wi-Fi).

Use: home, café, university lecture halls and dormitories, airport, hotel, warehouse (scanning terminals).

Advantages: mobility, no need to lay cable, easy to connect a new user.

Disadvantages: walls and distance weaken the signal, neighboring networks interfere, the channel speed is divided among everyone connected, and a weak password is dangerous.

Structure: optical rings laid across the city and powerful switches/routers; it joins LANs in different districts. Often owned by a provider or the city administration. Technologies: Metro Ethernet, optical rings, sometimes radio-relay links.

Use: a provider’s city network, joining bank branches within a city, city video-surveillance systems, a network of city hospitals.

Advantages: high speed over a large area, ties LANs into a single system.

Disadvantages: expensive to build, permits are needed (the cable passes under streets), harder to manage.

Structure: backbone channels joining networks across cities, countries and continents (land and undersea optical cables, satellites, mobile networks) and a large number of routers. The channels are usually leased from telecom operators.

Use: the Internet; a bank’s branches across the republic; a unified network of government agencies; international companies.

Advantages: unlimited area, the ability to connect any point.

Disadvantages: large latency, expensive channels, many owners (no single organization controls it fully), encryption and VPN are needed for security.

Table 2.2. Comparison of LAN, WLAN, MAN and WAN
FeatureLANWLANMANWAN
Arearoom – buildingroom – building (radio coverage)city (tens of km)country, world
Transmission mediumUTP, fiberradio (2.4 / 5 / 6 GHz)mostly fiberfiber, satellite, mobile
Typical speed1 Gbit/s and higherhundreds of Mbit/s (shared)Gbit/s rangevery varied
Latency< 1 ms1–10 msa few mstens to hundreds of ms
Ownerone organizationone organization / homeprovider, citymany operators
Costcheapcheapexpensivemost expensive (leased)
Examplecomputer classdormitory Wi-Ficity providerInternet

Wi-Fi generations: how WLAN got faster

Table 2.3. IEEE 802.11 standards (maximum speeds are theoretical, the channel is shared)
StandardCommercial nameYearFrequencyMax. speed (approx.)
802.11b—19992.4 GHz11 Mbit/s
802.11a / g—1999 / 20035 / 2.4 GHz54 Mbit/s
802.11nWi-Fi 420092.4 and 5 GHzup to 600 Mbit/s
802.11acWi-Fi 520135 GHzseveral Gbit/s
802.11axWi-Fi 6 / 6E2019–20202.4, 5 (and 6) GHzup to ~9.6 Gbit/s
802.11beWi-Fi 720242.4, 5 and 6 GHzup to ~46 Gbit/s
2.4 or 5 GHz?

2.4 GHz reaches farther and passes through walls better, but it is slower and crowded (microwave ovens, Bluetooth, neighbors). 5 GHz is faster and “cleaner”, but its coverage is smaller. That is why modern routers broadcast both.

Simulator: which network is this?

Read each situation and choose the network type. An explanation appears after your answer. The goal is at least 10 out of 12.

:ik-pazl: Identify the network type

Bandwidth: the bit and byte trap

Network speed is measured in bits (Mbit/s, Mb/s), while file size is measured in bytes (MB, GB). 1 byte = 8 bits. That is why on a “100 Mbit/s” plan the browser shows at best ~12.5 MB/s — your provider has not cheated you. Network calculations usually use decimal prefixes: 1 GB = 1000 MB, 1 Mbit = 1 000 000 bits.

Common mistakes

ErrorCorrect answer
“WLAN is the Internet”A WLAN is only a local wireless network. It reaches the Internet through a router and a provider (WAN).
“100 Mbit/s = 100 MB/s”Bits and bytes differ by a factor of 8: 100 Mbit/s ≈ 12.5 MB/s.
Deciding the network type only by the number of devicesThe main criteria are area and technology. A building with 500 computers is still a LAN, while connecting two cities with 2 computers is a WAN.
“A faster plan reduces ping”A plan increases bandwidth. The delay caused by distance is a physical limit.
“Wi-Fi speed is given in full to every user”The radio channel is shared — the speed is divided among the active devices.
Confusing MAN and WANA MAN is one city (tens of km). If it is between cities or countries, it is a WAN.

Reinforcement

// REMEMBER IN 1 MINUTE

  1. Main criteria: coverage area and connection technology (wired/wireless).
  2. PAN (meters) → LAN/WLAN (building) → CAN (campus) → MAN (city) → WAN (world).
  3. LAN — Ethernet, WLAN — Wi-Fi (802.11), the largest WAN is the Internet.
  4. In fiber ~200 000 km/s → every 200 km ≈ 1 ms in one direction.
  5. Speed is in bits, files are in bytes: time = MB × 8 / (Mbit/s).
  6. A larger area → larger latency, more expensive channels, more owners.
:ik-talaba:At the universityA lecture hall — WLAN, a computer class — LAN, between buildings — CAN, to the HEMIS server from home — WAN.
:ik-telefon:On your phoneBluetooth earbuds — PAN, home Wi-Fi — WLAN, mobile Internet (4G/5G) — the operator’s WAN network.
:ik-oyin:In an online gameCloseness to the server determines the ping — that is why players choose a “nearby server”.

Final test

Review questions

By what criteria are computer networks classified?

Coverage area, connection technology (transmission medium), ownership, topology, transmission method (broadcast/point-to-point), management architecture.

List the network types by coverage area, with their distances.

PAN (a few meters), LAN/WLAN (room–building), CAN (campus, a few km), MAN (city, tens of km), WAN (country, continents).

Explain the structure and advantages of a LAN.

Devices connect to switches with UTP cable, and the way out to an external network is through a router. Advantages: high speed, small latency, cheap, full control.

How does a WLAN differ from a LAN?

The transmission medium is radio (Wi-Fi). It gives mobility, but the speed is shared, it is sensitive to obstacles and interference, and encryption is needed.

Where is a MAN used?

A provider’s city network, a city video-surveillance system, joining the bank branches or hospitals of one city.

What are the main features and disadvantages of a WAN?

A large area, backbone channels (fiber, satellite, mobile), many operators. Disadvantages: large latency, expensive leased channels, no full control, security problems.

Compare wired and wireless networks.

Wired: fast, stable, more secure, but immobile and expensive to install. Wireless: mobile, quick to install, but the speed is shared, the signal weakens and there is a risk of interception.

Why is the latency in a WAN much larger than in a LAN?

The signal propagation speed is limited (~200 000 km/s in fiber); the distance is large, and there are many routers and queues on the way.

Why does a file not download faster than 12.5 MB/s on a 100 Mbit/s plan?

Speed is measured in bits and files in bytes: 100 / 8 = 12.5 MB/s is the theoretical maximum.

Independent work

The independent study topic in the course syllabus: “Short-Range Communication Technologies in Wireless, Mobile and IoT Networks” (6 hours). In connection with it, you will carry out a practical analysis of the classification.

  1. Which network types (PAN, LAN, WLAN, CAN, MAN, WAN) occur at your assigned site? For each, write an example and the technology.
  2. Describe at least two short-range wireless technologies at the site (Bluetooth, Wi-Fi, NFC, Zigbee, etc.): range, speed, use.
  3. Estimate the distance from the site to the farthest server or branch and calculate the theoretical RTT; measure the real value with ping and compare.
  4. Write a table comparing wired and wireless solutions, and your recommendation.
Assessment criteria (individual assignment)
CriterionPoints
The network types are correctly identified and justified with examples2
The short-range wireless technologies are correctly described1
The RTT calculation and the ping measurement are compared1
The wired/wireless comparison table and the recommendation are logical1

Summary

CriteriaArea, technology, ownership, topology, transmission method, architecture.
ScalePAN → LAN/WLAN → CAN → MAN → WAN.
LANEthernet, switches, fast and cheap, owned by one organization.
WLANWi-Fi (802.11), mobile, but the channel is shared and sensitive to obstacles.
MANOptical rings across a city, provider and city systems.
WANBackbone channels, many operators, large latency; the largest is the Internet.
Physics~200 km ≈ 1 ms (one way) — distance cannot be beaten with a plan.
Bit ≠ byteTime = MB × 8 / (Mbit/s).

Your lesson results

Your results are saved in this browser. Read all the sections and complete the exercises and assignments.

My personal notes