- 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
| Type | Full form | Typical area |
|---|---|---|
| PAN | Personal Area Network | A person's own devices, a few metres |
| LAN | Local Area Network | One building or campus |
| MAN | Metropolitan Area Network | A city |
| WAN | Wide Area Network | Countries and continents; the Internet is the largest example |
Topologies
| Topology | Layout | Key point |
|---|---|---|
| Bus | All devices on one shared cable | Cheap, but a break in the main cable can stop the network |
| Star | Every device connects to a central hub or switch | Easy to add devices; failure of the centre stops all, failure of one cable affects only one device |
| Ring | Devices form a closed loop | Data travels in a circle; a break can disrupt it unless there are two rings |
| Mesh | Devices connect to many others | Very reliable but needs many links |
| Tree | Star networks linked in a hierarchy | Scalable, 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.
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. A network covering one office building is a:
- PAN
- LAN
- MAN
- WAN
Show answer
Answer: B. One building or campus is a Local Area Network.
-
2. How many links are needed for a full mesh of 10 devices?
- 90
- 100
- 20
- 45
Show answer
Answer: D. 10 x 9 / 2 = 45.
-
3. In a full mesh of 6 devices, how many connections does each device need?
- 5
- 6
- 15
- 30
Show answer
Answer: A. Each device links to every other device, so it needs n - 1 = 5 connections.
-
4. In a star topology, failure of what stops the whole network?
- One device's cable
- Any one end device
- The central hub or switch
- 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. Which topology links star networks in a hierarchy and depends on its root?
- Bus
- Tree
- Ring
- 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.