• Advanced
  • About 12 min
  • 5 practice questions

Network types and topologies

Compare PAN, LAN, MAN and WAN, and describe bus, star, ring, mesh and tree topologies with their strengths and weaknesses.

If something looks wrong, please tell us.

A network joins computers so they can share data and resources. Networks are classified by size and by the layout (topology) of their connections, and both are common exam topics.

By size

Network types
TypeFull formTypical area
PANPersonal Area NetworkA person's own devices, a few metres
LANLocal Area NetworkOne building or campus
MANMetropolitan Area NetworkA city
WANWide Area NetworkCountries and continents; the Internet is the largest example

Topologies

Topologies
TopologyLayoutKey point
BusAll devices on one shared cableCheap, but a break in the main cable can stop the network
StarEvery device connects to a central hub or switchEasy to add devices; failure of the centre stops all, failure of one cable affects only one device
RingDevices form a closed loopData travels in a circle; a break can disrupt it unless there are two rings
MeshDevices connect to many othersVery reliable but needs many links
TreeStar networks linked in a hierarchyScalable, depends on the root

Worked example 1: number of links in a full mesh

A full mesh of n devices needs n(n - 1) / 2 links. For 6 devices: 6 x 5 / 2 = 15 links. Each device then needs n - 1 = 5 connections. For 10 devices: 10 x 9 / 2 = 45 links, which shows why mesh gets expensive.

Worked example 2: star versus bus

A school lab of 30 PCs wants one faulty cable not to disturb the others. In a star topology each PC has its own cable to the switch, so one broken cable affects only that PC. On a bus, a break in the shared cable can affect many. A star is the better choice, with the switch as its single point of failure.

Full mesh links = n(n - 1) / 2. Star fails at the centre; bus fails at the shared cable.

— Formula

Key takeaways

  • PAN, LAN, MAN, WAN in increasing size.
  • Star has a central device; bus has a shared cable.
  • Links in a full mesh = n(n - 1) / 2.

Check your understanding

  1. 1. A network covering one office building is a:

    1. PAN
    2. LAN
    3. MAN
    4. WAN
    Show answer

    Answer: B. One building or campus is a Local Area Network.

  2. 2. How many links are needed for a full mesh of 10 devices?

    1. 90
    2. 100
    3. 20
    4. 45
    Show answer

    Answer: D. 10 x 9 / 2 = 45.

  3. 3. In a full mesh of 6 devices, how many connections does each device need?

    1. 5
    2. 6
    3. 15
    4. 30
    Show answer

    Answer: A. Each device links to every other device, so it needs n - 1 = 5 connections.

  4. 4. In a star topology, failure of what stops the whole network?

    1. One device's cable
    2. Any one end device
    3. The central hub or switch
    4. The cable of the last device added
    Show answer

    Answer: C. Every device connects through the centre, so the centre is the single point of failure; one cable affects only its own device.

  5. 5. Which topology links star networks in a hierarchy and depends on its root?

    1. Bus
    2. Tree
    3. Ring
    4. Mesh
    Show answer

    Answer: B. A tree joins star networks in levels; a failure at the root affects everything below it.

Sign in to keep track of the lessons you finish.

Next lesson → Network devices and their layers

Privacy · Terms · Refunds · Delivery