A-Level Computer Science / Unit 2: Networks, Connectivity and the Internet

2.1.2 Network Topologies and Packet Paths

🔒 Lesson slides are available to signed-in users. Sign in

2.1.2 Network Topologies and Packet Paths

Devices can be joined in different arrangements. These arrangements matter because they affect how data moves, which connections could fail, and how difficult it is to extend a network. This study page develops the ideas introduced in the lesson slides, using explanations and diagrams made for this page.

After studying, you should be able to

  • recognise bus, star, mesh and hybrid arrangements;
  • describe how data gets from one host to another in each arrangement;
  • predict the effect of a broken connection or failed network device;
  • compare realistic advantages and disadvantages of the four topologies;
  • justify a recommendation using a requirement from a given situation.

1. What does a topology tell us?

Network topology: how the links and devices in a network are arranged.
Host: a device that sends data to, or receives data from, a network.
Link: a connection that carries data between devices.

Imagine that computer P needs to send a file to computer S. We must know which connections are available before we can describe the journey. The message might use a shared cable, pass through a central device, or travel along one of several possible paths.

Topology is not the same as network model

TermQuestion it answersIllustration
Topology How are the devices linked? Four PCs have separate cables to a switch: star.
Network model Who supplies and who requests resources? The PCs obtain files from a server: client-server.

A client-server network can use a star topology. Equally, computers sharing files peer-to-peer can be connected through a central switch. The two classifications describe different properties of a network.

Who is the message for?

The communication pattern is separate from the topology, too. The same physical network may support unicast (one chosen receiver), broadcast (all devices in a relevant network group) or multicast (a selected group of receivers). In the packet-journey examples below, we concentrate on unicast.

What examiners need to see

Name the parts the data passes through. Saying “it reaches the other computer” does not show understanding of the route. A useful star-topology explanation is sender → central switch → intended receiver.

2. Bus: one communication cable for the group

In a bus topology, devices share a single main link called the backbone.
Bus topology: four computers connected to a common backbone Devices P, Q, R and S each connect to the same horizontal cable. Data from P reaches the other connections on that cable. PQRS Shared backbone All four devices use the same transmission medium
Original diagram — one cable is used by every attached host.

Follow a transmission from P to S

  1. P sends data onto the common cable.
  2. The electrical signal travels along the backbone, reaching the connections for Q, R and S.
  3. The receiving network interfaces inspect the destination information.
  4. S processes the data intended for it; Q and R do not accept it as their own message.

What does this design mean in practice?

CharacteristicConsequence
One shared cableRelatively little wiring is needed, but only limited shared capacity is available.
Devices share the mediumSimultaneous transmissions may interfere with each other, creating collisions.
Backbone damageCommunication across the damaged section is interrupted; several hosts may lose access.
More attached devicesMore devices compete for the shared link, making performance less predictable.

Be precise about failure

One computer switching off does not necessarily disable the other computers. Damage to the shared backbone is much more serious, because it can affect communication for several devices at once.

3. Star: individual links meet at a centre

A star topology gives each end device its own connection to a central device, usually a switch.
Star topology with four hosts and a switch Hosts P, Q, R and S each have a distinct link to one central switch. PQRS Switch
Original diagram — every end device has a separate connection to the centre.

Follow the data from P to S

  1. P sends its data along the cable connecting P to the switch.
  2. The switch identifies which connection leads towards S.
  3. The switch sends the data out through that connection.
  4. S receives it; the traffic does not have to travel through Q or R.

On a typical switched Ethernet LAN, the switch uses the frame's destination MAC address to decide the output port. This is different from a router's job of forwarding packets between networks.

FeatureWhy it matters
Separate workstation linksIf P's own cable fails, the other connected hosts can normally still communicate.
Central switchA single failed switch can prevent the hosts in that star from communicating.
Adding another hostA new connection can be fitted when the switch has a spare port and enough capacity.
Equipment neededIndividual cables and a switch may cost more than a simple shared-bus installation.

Use the correct failure comparison

One outer cable fails: one attached host loses its connection.
The central switch fails: communication through that switch stops.

4. Mesh: there can be another way through

In a mesh topology, network devices have multiple links that can provide different paths.
Full mesh: every pair of devices has a direct connection.
Partial mesh: some direct connections are absent.
Three fully connected mesh nodes Nodes A, B and C form a triangle. If the direct A to C link breaks, A can still reach C through B. ABC Direct A–C link (shown dashed)
Original diagram — A could reach C directly, or through B.

Imagine the A–C link is broken

  1. The direct path from A to C is unavailable.
  2. Because A remains connected to B, and B to C, an alternative path exists.
  3. Communication may continue through A → B → C, provided the devices support forwarding along that route.

Mesh connections are useful for important network links where an interruption would be costly. They are less attractive when every ordinary desktop would need many connections: installing and maintaining so many links is expensive.

BenefitCost or limitation
Alternative paths may keep communication available after a link failure.Additional cables, ports or wireless links are needed.
Traffic can have more than one possible journey.The network can be harder to configure and troubleshoot.
Critical nodes can be connected more reliably.A full mesh becomes particularly difficult to expand as nodes are added.

Do not write “mesh cannot fail”

A mesh can still lose communication if enough links fail or an essential device stops working. Its advantage is the presence of alternative routes, not a guarantee that all failures are harmless.

5. Hybrid: different arrangements work together

A hybrid topology joins network sections that use different topologies into one larger system.
Hybrid network combining a star and a mesh Three office PCs connect to one switch in a star. The switch connects to a triangular group of mesh-connected network nodes. PC 1PC 2PC 3 Switch XYZ Star section Mesh section
Original example — a star connects to a mesh-connected group of network nodes.

Follow a message across both sections

  1. PC 1 sends data to its central switch.
  2. The data crosses the link joining the star section to the mesh section.
  3. Within the mesh section, it can follow an available path towards the intended node.

A hybrid design lets different parts of an organisation meet different needs. Ordinary office PCs might benefit from a straightforward star arrangement, while a small set of critical network devices uses multiple paths. The trade-off is a more complicated system to install and maintain.

Hybrid does not mean “wireless plus wired” alone

A network may use both cables and Wi-Fi, but to describe a hybrid topology you should identify the different connection arrangements that have been combined.

6. Compare before you recommend

Do not memorise a single “best” topology. Ask which design meets the stated requirements with acceptable cost and risk.

QuestionBusStarMeshHybrid
Basic links One common backbone Separate links to a centre Several possible paths Different patterns joined
Data journey Uses the shared cable Passes through the central device Direct or via other nodes Depends on each section
Failure concern Damaged common cable Failed central device Loss of enough paths Depends on which part fails
Adding devices More users compete for one link Simple if switch ports remain May require many more links New sections can be combined
Typical priority Limited equipment in a simple, older system Affordable local connections and easier expansion Keeping important paths available Different sections have different needs

Compare like with like

A useful comparison discusses the same feature in both topologies. For example: a star needs a central device that can fail; a mesh may retain another path when one link becomes unusable. This is more informative than saying one network is simply “good” and the other is “bad”.

7. Make an exam recommendation

Build a reason in three parts

Choose → describe the useful feature → explain how it meets the need.

Consider these newly created situations. The purpose is to practise using evidence from the scenario, not to memorise the wording.

A community print workshop: nine design stations need to be added one at a time. A broken workstation cable must not disconnect everyone.

Star is suitable. Every design station has its own link to a central switch, so damage to one station's cable should not prevent others from printing. New stations can be connected if spare ports are available.

A coastal warning service: three control nodes exchange urgent messages. One lost link must not stop the other nodes from communicating.

A full mesh among the three nodes provides a direct route between each pair. If one direct connection fails, messages can use the third node as an intermediate route, assuming that the nodes can forward traffic.

A performance venue: office PCs need simple connections, but the equipment-monitoring network needs several possible routes.

A hybrid arrangement can combine a star for the office PCs with a mesh section for the monitoring equipment. Each section can use a design matched to its needs, although support becomes more complex.

Words that lose precision

Avoid “always”, “never” and “cannot fail”. A star is usually cheaper than a full mesh of the same endpoints, but exact cost depends on the equipment. A mesh improves resilience only when useful alternative paths remain.

8. Explore a failure

Look back at the original diagrams. Predict what would happen before opening each answer. These simple cases test the consequences of the connection pattern.

Bus: P stops working, but the main cable is still intact. Must Q and S lose contact?

No. The remaining devices can still share the undamaged backbone.

Star: the cable between P and the switch breaks. Which other hosts must lose their connections?

None of the others. Q, R and S still have separate links to the working switch.

Star: the central switch loses power. Can P send through that switch to S?

No. Their route depends on the central switch, which is now unavailable.

Mesh: A–C fails, but A–B and B–C still work. Can a message reach C?

Yes, potentially. A → B → C is an alternative if B can forward the traffic.

Hybrid: an office PC loses its star connection. Does that automatically disable the mesh section?

No. The effect depends on what has failed. Other parts can continue when their required devices and links remain available.

9. Interactive topology explorer

If you use the interactive demonstration on this website, choose one of the four required topologies and try sending a unicast message. Then show a connection fault and explain which devices can still communicate. The physical arrangement matters more here than the speed of the animation.

Before revealing a fault, predict the outcome. If the animation is unavailable, use the diagrams above to explain the same situations.

Topology
Message pattern

Point-to-point

Sender Intended receiver Selected receivers Link

10. Exam-style practice

These are original practice questions, not questions reproduced from examination papers.

Short responses

  1. State the connection pattern used in a bus topology. [1]
  2. Describe the journey from computer P to computer S through a star network with a switch. [2]
  3. Explain why damage to a shared backbone can affect more than one device. [2]
  4. Explain a difference between full mesh and partial mesh. [2]
  5. Explain why a hybrid design may be suitable for a large organisation with different requirements in different departments. [2]

Apply your knowledge

A mobile exhibition company has eight desk computers in its booking centre. More computers will be added next year. Its three ticket-control nodes also need to exchange data when one direct link becomes unavailable.

  1. Recommend a topology for the desk computers and develop two reasons using the scenario. [4]
  2. Recommend a topology for the three ticket-control nodes and justify it. [2]
  3. Name the overall topology category if the two different arrangements are joined. [1]
Show suggested marking points

(a) Star [1]; separate links allow a fault in one workstation cable to leave other hosts connected [1]; extra computers can be added when switch ports are available [1]; therefore the booking centre can expand without reconnecting the whole network [1].

(b) Mesh [1]; an alternative connection through the third node can keep data moving when one direct link fails [1].

(c) Hybrid [1].

Accept equivalent valid explanations. Credit must be based on the stated requirement, not only on naming a topology.

11. Review

Bus: one common transmission medium.
Star: each host connects to a central device.
Mesh: connected devices have alternative paths.
Hybrid: multiple connection patterns are combined.

Check your readiness

  • Can I draw and recognise each of the four topologies?
  • Can I describe a data journey between two named hosts?
  • Can I tell the difference between losing one end-device cable and losing an essential shared link?
  • Can I explain why mesh connections can cost more than star connections?
  • Can I justify my recommendation with specific evidence from the situation?

Next lesson: we will consider how network connections can be provided using cloud services, cables and wireless transmission media.