What Is a Network Topology?
When you build a network, you do not just throw cables randomly between computers and hope for the best. The way devices are connected — the layout or arrangement of the network — has a huge impact on how well it works, how much it costs, how easy it is to fix problems, and what happens when something breaks.
A network topology is the arrangement of devices (nodes) and connections (links) in a network. It describes how computers, printers, servers, and other devices are physically wired together or logically organised to communicate.
Think of it like planning a road network for a new town. You could have all roads leading to a single central roundabout (star). You could have one long main road with side streets branching off it (bus). Or you could connect every house directly to every other house with its own road (mesh). Each design has trade-offs in cost, reliability, and efficiency — and the same is true for computer networks.
Physical vs Logical Topology
There are actually two ways to think about topology:
- Physical topology: The actual, real-world layout of cables, devices, and connections. If you looked at the network from above, this is the pattern you would see. It describes where the cables run and how the hardware is physically arranged.
- Logical topology: The way data actually flows through the network, regardless of the physical layout. Two networks can look different physically but behave the same way logically. For example, a network might be physically wired as a star (all cables go to a central switch) but logically function as a bus (data is broadcast to all devices).
For GCSE Computer Science, you will mostly focus on physical topologies, but understanding the distinction shows deeper knowledge.
In this topic you will learn:
- The three main network topologies: Star, Bus, and Mesh
- The advantages and disadvantages of each topology
- How to compare topologies and choose the right one for a given scenario
- Real-world examples of where each topology is used
- Key vocabulary and exam techniques for topology questions
The Three Network Topologies
Each topology has a distinctive shape and set of characteristics. Let us examine all three in detail, with diagrams showing how devices are connected.
Star Topology
In a star topology, every device on the network is connected to a central device — usually a switch or hub. All communication between devices passes through this central point. No device is directly connected to any other device; they all go through the middle.
Think of it like a wheel: the central switch is the hub of the wheel, and each device is at the end of a spoke. Every message from one computer to another must travel along the spoke to the central switch, which then forwards it along the correct spoke to the destination.
[PC 1] [PC 2]
\ /
\ /
\ /
[PC 5]---[SWITCH]---[PC 3]
/ \
/ \
/ \
[Printer] [PC 4]
Every device connects directly to
the central switch. All traffic
passes through the switch.
How Star Topology Works
When PC 1 wants to send data to PC 3, the data travels from PC 1 along its cable to the central switch. The switch reads the destination address (MAC address) and forwards the data along the correct cable to PC 3. No other device sees this data (if using a switch rather than a hub). Each device has its own dedicated cable to the centre.
Advantages of Star Topology
- If one cable fails, only that device is affected: Because each device has its own separate cable to the switch, a cable break only disconnects one device. The rest of the network continues working normally. This makes the network more reliable overall.
- Easy to add new devices: To add a new computer, you simply run a new cable from it to the central switch (assuming the switch has a free port). You do not need to disrupt or reconfigure the existing network.
- Easy to find and fix faults: If a device cannot connect, the problem is either with that device, its cable, or the switch port. This is much simpler to diagnose than in a bus topology where the fault could be anywhere along a shared cable.
- Good performance: When using a switch, each connection gets dedicated bandwidth. There are no data collisions between devices because each device has its own link to the switch.
- Better security: Data sent between two devices passes through the switch and is directed only to the intended recipient. Other devices do not see the data (unlike bus topology where all data is visible to all devices).
Disadvantages of Star Topology
- If the central switch fails, the entire network goes down: The switch is a single point of failure. Every device depends on it. If it breaks, no device can communicate with any other device until the switch is repaired or replaced.
- More expensive than bus topology: Each device needs its own cable running all the way to the central switch. This means much more cabling is required, especially in large networks. The switch itself is also an additional cost.
- The central switch is a single point of failure: This is the biggest weakness. The entire network’s reliability depends on one device. Organisations often mitigate this by having a backup switch ready.
- Cable length limitations: Each device must be within cabling distance of the central switch. For very spread-out buildings, this can be a constraint.
Real-World Examples
Star topology is the most common topology used in modern networks. Your school network, office networks, and home Wi-Fi networks all typically use a star topology. The Wi-Fi router or network switch in the centre connects all devices. It is the default choice for most LANs today because switches are reliable and affordable, and the easy fault-finding and scalability outweigh the extra cabling cost.
Bus Topology
In a bus topology, all devices are connected to a single main cable called the backbone (or trunk). Each device connects to the backbone via a short drop cable or T-connector. At each end of the backbone, there is a terminator — a special component that absorbs signals to prevent them from bouncing back along the cable and causing interference.
Think of it like a main road with houses along it. The backbone cable is the road, and each device is a house connected to the road by a driveway (drop cable). Data travels along the road in both directions, and every house can see the traffic going past.
[TERM]=====[PC 1]=====[PC 2]=====[PC 3]=====[PC 4]=====[TERM]
| | | |
(drop) (drop) (drop) (drop)
cable cable cable cable
All devices share one backbone cable.
Terminators at each end absorb signals.
Data is broadcast to ALL devices.
How Bus Topology Works
When a device wants to send data, it broadcasts the data onto the backbone cable. The data signal travels in both directions along the backbone. Every device on the network receives the data, but only the device with the matching destination address actually processes it — all other devices ignore it. The terminators at each end of the backbone absorb the signal so it does not bounce back and cause interference (known as signal reflection).
Because all devices share the same cable, only one device can transmit at a time. If two devices try to send data simultaneously, a collision occurs — the data is corrupted and both devices must wait and retransmit. The more devices on the network, the more collisions happen, and the slower the network becomes.
Advantages of Bus Topology
- Cheap to install: Only one main cable (the backbone) is needed, plus short drop cables for each device. This uses far less cable than a star topology, making it the cheapest option for small networks.
- Easy to set up for small networks: For a small number of devices in a line (such as a row of computers in a classroom), a bus topology is quick and simple to install. No central switch is required.
- Simple design: The layout is straightforward — one cable with devices attached along it. There is no complex central device to configure.
Disadvantages of Bus Topology
- If the backbone cable fails, the entire network goes down: The backbone is a single point of failure. If the main cable is damaged or broken at any point, the network is split in two and no device on one side can communicate with devices on the other side. Depending on the break location, the whole network may fail.
- Performance degrades with more devices: Because all devices share the same cable, the more devices you add, the more data collisions occur. This makes the network progressively slower as it grows. Bus topology does not scale well.
- Difficult to find faults: If the network goes down, the fault could be anywhere along the backbone cable, at any T-connector, or at either terminator. Tracing the exact location of the problem is time-consuming and difficult.
- Security risk: All data is broadcast to every device on the network. Any device can potentially “see” all the data passing along the backbone. This makes it easier for unauthorised users to intercept data.
- Limited cable length and number of devices: The backbone cable has a maximum length. If it is too long, the signal weakens (attenuates) and data is lost. Repeaters can extend the range, but add cost and complexity.
- Difficult to add devices: Adding a new device may require temporarily taking the network offline to splice in a new connection point.
Real-World Examples
Bus topology was common in early computer networks in the 1980s and 1990s, particularly using 10BASE2 (thin Ethernet) coaxial cable. It was popular because it was cheap and simple. However, it has been largely replaced by star topology in modern networks because of its poor scalability, difficult fault-finding, and the single point of failure in the backbone cable. You might still find bus topology in very small, temporary, or legacy networks.
Mesh Topology
In a mesh topology, devices are connected to multiple other devices rather than to a single central point or a shared cable. There are two types:
- Full mesh: Every device is directly connected to every other device. If there are 5 devices, each one has a direct connection to the other 4. This provides maximum redundancy but requires an enormous number of connections.
- Partial mesh: Most devices are connected to most (but not all) other devices. Some devices have more connections than others. This is a practical compromise that still provides good redundancy without the extreme cost of a full mesh.
[PC 1] ----------- [PC 2]
/ | \ / |
/ | \ / |
/ | \ / |
/ | \ / |
/ | \ / |
/ | \ / |
[PC 4] ----------- [PC 3]
\ | / \ |
\ | / \ |
---- | ---- ---- |
| |
Every device is directly connected
to every other device. Multiple
paths exist for every communication.
[PC 1] ----------- [PC 2]
| / |
| / |
| / |
| / |
[PC 4] / [PC 3]
\ /
\ /
[PC 5]
Most devices are connected to several
others, but NOT every device connects
to every other device directly.
How Mesh Topology Works
When a device wants to send data, there are multiple possible paths for that data to travel. If the direct link between two devices is broken, the data can be rerouted through other devices to reach its destination. Each device can act as a relay, forwarding data on behalf of others. This makes mesh networks extremely resilient — they can survive multiple link failures and continue operating.
In a full mesh with n devices, the number of connections needed is n(n-1)/2. For example, 10 devices would need 10 × 9 / 2 = 45 connections. For 100 devices, that would be 4,950 connections. This is why full mesh is only practical for small numbers of critical devices.
Advantages of Mesh Topology
- Very reliable — no single point of failure: Because there are multiple paths between devices, the failure of one cable or one device does not bring down the network. Data simply takes an alternative route. This is the most fault-tolerant topology.
- Data can take alternative routes: If the most direct path is busy or broken, data can be rerouted through other connections. This means the network can handle failures gracefully and balance traffic loads.
- Good performance under load: With many connections available, network traffic can be distributed across multiple paths, reducing congestion and improving speed even during peak usage.
- Easy to identify and isolate faults: Because each link is independent, a broken connection can be identified and repaired without affecting the rest of the network.
- Robust and self-healing: Mesh networks can automatically detect failed links and recalculate routes, making them ideal for critical systems where downtime is unacceptable.
Disadvantages of Mesh Topology
- Very expensive: The sheer number of cables (or wireless links) and network interfaces required makes mesh topology far more expensive than star or bus. Each device needs multiple network ports, and the cabling costs grow rapidly as devices are added.
- Lots of cabling required: In a full mesh, the number of connections grows dramatically with each new device. A network of 20 devices would need 190 individual connections. This makes installation complex and costly.
- Complex to set up and manage: Configuring routing across dozens or hundreds of links requires sophisticated software and expertise. Managing, monitoring, and troubleshooting all these connections is far more complex than managing a single switch (star) or backbone cable (bus).
- Impractical for large numbers of devices: Full mesh becomes unrealistic beyond a small number of devices due to the exponential growth in connections. This is why partial mesh is used in practice for larger networks.
Real-World Examples
Mesh topology is used in situations where reliability is absolutely critical and cost is secondary:
- The internet: The backbone of the internet uses a partial mesh topology. Core routers are connected to multiple other routers, so if one link fails, data can be rerouted through alternative paths. This is why the internet is so resilient.
- Military networks: Military communication networks use mesh topology because they must continue functioning even if parts of the network are destroyed in conflict.
- Critical infrastructure: Power grid control systems, air traffic control, hospital networks, and financial trading systems often use mesh topology to ensure continuous operation.
- Wireless mesh networks: Some modern Wi-Fi systems (like home mesh Wi-Fi) use wireless mesh topology. Multiple access points connect to each other wirelessly, providing broader coverage and automatic failover if one access point stops working.
Comparing the Three Topologies
In your GCSE exam, you may be asked to compare topologies or choose the best topology for a given scenario. This table summarises the key differences between star, bus, and mesh:
Topology Comparison Table
| Feature | Star | Bus | Mesh |
|---|---|---|---|
| Layout | All devices connect to a central switch/hub | All devices connect to a single backbone cable | Every device connects to multiple other devices |
| Central device | Yes — a switch or hub | No — just a shared cable | No — decentralised |
| Cost | Moderate — needs switch and more cables than bus | Low — least cabling needed | High — most cabling and network interfaces needed |
| Cabling | One cable per device (to switch) | One backbone cable plus short drop cables | Many cables — grows rapidly with devices |
| Reliability | Good — one cable failure affects one device only | Poor — backbone failure takes down the whole network | Excellent — multiple paths; no single point of failure |
| Single point of failure | Yes — the central switch | Yes — the backbone cable | No — multiple redundant paths |
| Performance | Good — dedicated links via switch | Poor with many devices — collisions slow traffic | Very good — traffic can be distributed across paths |
| Scalability | Easy to add devices (plug in to switch) | Difficult to add devices; network may need downtime | Difficult — each new device needs many connections |
| Fault finding | Easy — isolate the device and its cable | Difficult — fault could be anywhere along the backbone | Moderate — each link is independent but there are many |
| Security | Good — data directed only to intended device (with switch) | Poor — all data visible to all devices on the backbone | Good — data can take private, direct paths |
| Modern usage | Very common — used in most LANs today | Rare — mostly legacy networks | Internet backbone, military, critical infrastructure |
When to Use Each Topology
Choosing the right topology depends on the specific needs of the network. Here are common scenarios and which topology best fits each:
| Scenario | Best Topology | Why |
|---|---|---|
| A school wants to connect 200 computers across 10 classrooms | Star | Easy to manage, easy to add/remove devices, good performance, easy fault-finding. A switch in each classroom connected to a central switch makes management straightforward. |
| A small temporary office with 5 computers needs a quick, cheap network | Bus | Cheapest option using minimal cabling. With only 5 devices, collision issues are minimal. Simple and quick to set up for temporary use. |
| A military command centre must have a network that survives cable damage | Mesh | No single point of failure. If cables are damaged, data reroutes through alternative paths. Maximum reliability is worth the extra cost. |
| A home network with a router, laptop, phone, smart TV, and printer | Star | All devices connect to the central router (either by Ethernet or Wi-Fi). Star is the standard for home networks. |
| An internet service provider connecting major cities | Mesh (partial) | Needs high reliability and multiple paths for data. If one link between cities fails, traffic can reroute through other connections. |
| A small office with a tight budget and 8 computers in a row | Star (or Bus if budget is critical) | Star is preferred for reliability and performance, but bus could work if cost is the top priority and the network is very small. |
Key Points to Remember
- Star is the most commonly used topology in modern LANs. Its main weakness is the central switch being a single point of failure.
- Bus is the cheapest but least reliable. Its backbone cable is a single point of failure, and performance degrades with more devices. It is largely obsolete.
- Mesh is the most reliable but most expensive. It has no single point of failure. It is used where reliability is critical (internet, military, hospitals).
- The number of connections in a full mesh is calculated as n(n-1)/2 where n is the number of devices.
- Terminators are required at each end of a bus topology to prevent signal reflection.
Test Your Knowledge
Try these interactive exercises to check your understanding of network topologies. Read each question carefully and select the correct answer.
Exercise 1: Topology Identifier
Read the network description below and identify whether it describes a Star, Bus, or Mesh topology.
Exercise 2: Advantage/Disadvantage Sorter
Read the fact below and decide which topology it describes: Star, Bus, or Mesh.
Exercise 3: Mesh Connection Calculator
In a full mesh topology, the number of connections is n(n-1)/2. Calculate how many connections are needed for the given number of devices.
Practice Questions
Click on each question to reveal the answer. Try to answer in your head or on paper first before checking!
Answer: A network topology is the arrangement of devices (nodes) and connections (links) in a network. It describes how computers and other devices are connected together and how data flows between them. The physical topology refers to the actual layout of cables and hardware, while the logical topology describes how data flows through the network regardless of the physical layout. The three main topologies for GCSE are star, bus, and mesh.
Answer: In a star topology, all devices are connected to a central switch or hub. Each device has its own dedicated cable running to the centre. All communication passes through the central device.
Advantages: (1) If one cable fails, only that one device is affected — the rest of the network continues to work normally. (2) It is easy to add new devices — you simply plug a new cable into a spare port on the switch without disrupting the existing network.
Disadvantages: (1) If the central switch fails, the entire network goes down because all devices depend on it — it is a single point of failure. (2) It requires more cabling than a bus topology because every device needs its own cable to the switch, making it more expensive.
Answer: Bus topology is rarely used in modern networks for several reasons: (1) The backbone cable is a single point of failure — if it breaks anywhere, the entire network goes down. (2) Performance degrades badly as more devices are added because all devices share the same cable, leading to data collisions. Modern networks typically have many devices, so this is a serious problem. (3) Fault-finding is difficult because the problem could be anywhere along the backbone cable. (4) It is a security risk because all data is broadcast to all devices. (5) Modern switches are affordable and reliable, making star topology a much better choice for the same or slightly higher cost.
Answer: In a full mesh topology, every device is directly connected to every other device on the network. This provides maximum redundancy because there is always a direct path between any two devices. However, the number of connections required grows rapidly — calculated as n(n-1)/2. In a partial mesh topology, most devices are connected to several other devices, but not every device connects to every other. This provides good redundancy and alternative routing while being more practical and less expensive than a full mesh. The internet backbone is an example of a partial mesh — core routers have connections to multiple other routers, but not to every single router on the internet.
Answer: A mesh topology would be the most suitable for a hospital’s critical life-support monitoring systems. This is because: (1) Mesh has no single point of failure — if one cable or device fails, data can take an alternative route to reach its destination. For life-support systems, any network downtime could endanger patients, so maximum reliability is essential. (2) Multiple paths mean that even if several connections fail simultaneously, the network can continue to function. (3) The network can self-heal by automatically rerouting data around failed links. Although mesh topology is more expensive and complex to manage than star, the cost is justified because the consequences of network failure in a hospital could be life-threatening. A partial mesh would be a practical choice, providing strong redundancy without the extreme cost of a full mesh.
Answer: The formula for connections in a full mesh is n(n-1)/2 where n is the number of devices.
n = 12
Connections = 12 × (12 - 1) / 2 = 12 × 11 / 2 = 132 / 2 = 66 connections.
This demonstrates why full mesh is impractical for large networks — just 12 devices require 66 separate connections, each needing its own cable and network interface.
Answer: Terminators are placed at each end of the backbone cable in a bus topology. Their role is to absorb the data signal when it reaches the end of the cable, preventing it from bouncing back along the backbone. This bouncing is called signal reflection. If a terminator is missing or faulty, signals will reflect back along the cable and interfere with other data transmissions, causing data corruption and collisions. This can make the entire network non-functional even though all the cables and devices are working correctly. Terminators are therefore essential components of a bus topology.
Answer:
(a) Cost — Star is better: Star topology requires only one cable per device (from the device to the central switch) and one central switch. Mesh topology requires many more cables — in a full mesh, n(n-1)/2 connections are needed, which is far more than n cables. Each device in a mesh also needs multiple network interfaces. The hardware and installation costs for mesh are significantly higher.
(b) Reliability — Mesh is better: Mesh topology has no single point of failure because there are multiple paths between devices. If one link fails, data can reroute through alternative connections. In star topology, the central switch is a single point of failure — if it fails, every device on the network loses connectivity. Although a single cable failure in star only affects one device (which is good), the switch failure risk makes it less reliable overall than mesh.
(c) Ease of management — Star is better: Star topology is straightforward to manage because all connections go through one central switch. Adding devices, removing devices, and diagnosing faults are all simple operations. Mesh topology is much more complex to manage because there are many connections to configure, monitor, and maintain. Routing must be carefully planned, and troubleshooting requires understanding the entire web of connections.
Key Vocabulary
This table summarises the essential terms for this topic. Use it for revision and to check your understanding.
| Term | Definition |
|---|---|
| Network topology | The arrangement of devices and connections in a network — how nodes and links are organised |
| Physical topology | The actual physical layout of cables, devices, and connections in a network |
| Logical topology | The way data flows through a network, regardless of the physical cable layout |
| Star topology | A topology where all devices connect to a central switch or hub via individual cables |
| Bus topology | A topology where all devices connect to a single shared backbone cable with terminators at each end |
| Mesh topology | A topology where devices are connected to multiple other devices, providing redundant paths |
| Full mesh | A mesh where every device is directly connected to every other device |
| Partial mesh | A mesh where most devices are connected to several (but not all) other devices |
| Switch | A central device in a star topology that receives data and forwards it only to the intended destination device using MAC addresses |
| Hub | An older central device that broadcasts all received data to every connected device (less efficient than a switch) |
| Backbone cable | The single main cable in a bus topology to which all devices are connected |
| Terminator | A component placed at each end of a bus topology backbone to absorb signals and prevent signal reflection |
| Drop cable | A short cable that connects a device to the backbone cable in a bus topology |
| T-connector | A connector used to attach a device to the backbone cable in a bus topology |
| Single point of failure | A component whose failure causes the entire network to stop working (e.g. the switch in star, the backbone in bus) |
| Collision | When two devices transmit data at the same time on a shared medium, causing the data to be corrupted |
| Redundancy | Having backup connections or paths so that the network can continue operating if a component fails |
| Node | Any device connected to a network (computer, printer, server, etc.) |
How to Succeed in the Exam
Video Resources
This Craig 'n' Dave video covers the key concepts from this topic.
Past Paper Questions
Practise these exam-style questions. Click each question to reveal the mark scheme.
A school is setting up a new computer room. Explain why star topology would be a better choice than bus topology. 4 marks
Mark scheme:
- In star topology, if one cable fails only that computer is affected (1 mark)
- In bus topology, if the backbone fails the whole network fails (1 mark)
- Star topology has better performance/no data collisions (1 mark)
- Star topology is easier to add new computers (1 mark)
- Star topology is easier to troubleshoot/identify faults (1 mark)
Topologies All Around You
Now that you understand the three main network topologies, take a moment to think about where you encounter them in your daily life:
- Your home Wi-Fi (Star): Your router sits at the centre. Your phone, laptop, tablet, smart TV, and games console all connect to it. If the router fails, none of your devices can access the internet. This is star topology in action — the router is the central switch, and it is the single point of failure.
- Your school network (Star): The computers in your classroom are connected by Ethernet cables to a switch. Multiple classroom switches connect to a main server room switch. This hierarchical star topology allows hundreds of computers to share printers, files, and internet access efficiently.
- The internet (Mesh): When you load a website, your data may travel through dozens of routers, each connected to multiple others. If one route is congested or broken, your data automatically takes an alternative path. This partial mesh topology is why the internet is so resilient — even major cable cuts rarely take the internet down completely.
- Home mesh Wi-Fi systems (Mesh): If your family uses a mesh Wi-Fi system (like Google Nest WiFi or similar), you have multiple access points around the house, each connected wirelessly to the others. If one access point fails, the others maintain coverage. This is wireless mesh topology in your own home.
Understanding topologies is not just about passing an exam. It explains why your home internet goes down when the router fails (star’s weakness), why the internet as a whole almost never goes completely offline (mesh’s strength), and why old-fashioned networks with a single backbone cable were so unreliable (bus’s weakness). These design patterns appear everywhere in engineering — from road networks to electrical grids to supply chains.
Challenge yourself: Next time your internet is slow or a device cannot connect, think about the topology of your network. Where is the single point of failure? What path is the data taking? Could a different topology solve the problem? Thinking like a network engineer will deepen your understanding far beyond what the exam requires.