Communication

Communication

Network topologies: bus, star, mesh, hybrid

Networks including the internet AS Level 17 min read

On this page
  1. What you need to be able to do
  2. Bus topology
  3. Star topology
  4. Mesh topology
  5. Hybrid topology
  6. How packets travel: side by side
  7. Choosing a topology: case by case
  8. Mark-scheme focus
  9. Worked examples
  10. Summary
  11. Can I do this?
  12. Quiz

What you need to be able to do

Syllabus 2.1 Networks including the internet
  • 2.1Describe the bus, star, mesh and hybrid topologies, and draw them.
  • 2.1Explain how packets are transmitted between two hosts in each topology.
  • 2.1Justify the use of a topology for a given situation.

You need: Networks: LAN and WAN. The devices (switch, router) are described in LAN hardware and routers.

A topology is the layout of the connections between the devices in a network. Data travels as packets (small blocks of data with a header holding the source and destination addresses); write “packet”, not “package” (November 2022).

Bus topology

one shared cable (backbone), terminator at each endABCD
Every device taps into one shared backbone cable.
  1. All devices are connected to one central cable (the backbone), with a terminator at each end to stop signals reflecting back.
  2. How a packet travels: the sender puts the packet on the cable; it travels along the whole cable in both directions, so every device receives it.
  3. Each device checks the destination address: the intended device accepts the packet, the others ignore it.
  4. Only one device can transmit at a time: if two transmit together their signals collide (handled by CSMA/CD, see Ethernet and CSMA/CD).
AdvantagesDisadvantages
cheap: little cable, no central devicemost likely to lose data through collisions; performance drops as traffic grows
easy to add a device to the cableif the backbone fails, the whole network fails
every device sees every packet: less secure; hard to find faults

Star topology

Computer 1Computer 2ServerComputer 3Switch
Each device has its own link to the central switch. Highlighted: a packet from Computer 1 to the server.
  1. Each device is connected directly (and only) to a central device (a switch, or a server / router acting as one).
  2. How a packet travels: the sending device transmits the packet to the switch.
  3. The switch checks the destination address on the packet (it keeps a table of the MAC addresses on each port).
  4. The switch forwards the packet only to the intended device, not to the others.
AdvantagesDisadvantages
fewer collisions: each device has its own link to the switch, and the switch sends packets only where they need to goif the central switch fails, the whole network fails
robust: if one cable fails, only that device is affected; the rest keep full functionalitymore cable than a bus, plus the cost of the switch
easy to add new devices (plug into the switch) and easy to find faults
more secure: packets only reach their destination
Drawing a star: every device has its own line to the centre, and there are no other connections. Label every device. The commonest wrong drawing (November 2022): all the devices on one line - that's a bus.

Mesh topology

ABCDE
A partial mesh. The A-B link (pink dashes) has failed, but A still reaches B via E or C.
  1. Each device is connected to at least one other device (a full mesh: to every other device), so there are multiple routes between devices.
  2. How a packet travels: devices act as relays, passing the packet on from device to device towards its destination; the route is chosen (by routing) and can change.
  3. If a link or device fails, the packet takes another route.
AdvantagesDisadvantages
robust: if one line goes down there are other routes; the network keeps full functionalityexpensive: lots of cabling / connections, especially a full mesh
no / fewer collisions: many separate linkscomplex to set up and manage
new nodes can be added without interrupting others; more secure (no single shared line)

The internet's core is a giant mesh of routers; wireless mesh systems link Wi-Fi points around a big house or campus.

Hybrid topology

bus backbonePC 1PC 2PC 3Switch 1PC 4PC 5PC 6Switch 2
A hybrid: two star networks joined by a bus backbone.

A hybrid topology combines two or more topologies, e.g. several star networks (one per floor or classroom) joined by a bus or mesh backbone. It takes the advantages of each part where it is needed and scales to large sites; it is more complex to design and manage. Packets: inside each star, via that star's switch; between parts, along the backbone to the other switch, which forwards to the destination.

How packets travel: side by side

BusStarMesh
Who receives a packet?every device on the cableonly the destination (switch forwards it)the next relay on the route, then the destination
Who decides where it goes?each device checks the address and ignores packets not for itthe switch, from the destination addresseach node routes it towards the destination
Collisions?most likelyfew (separate links)none / few
One link failswhole network down if it's the backboneonly that device is cut off (unless it's the switch)other routes are used

Choosing a topology: case by case

1 A classroom of 20 computers

A new classroom has 20 computers and a switch. Why use a star instead of a bus?

Askedadvantage + reasonKnow20 devices, a switchRoutecollisions and faults

  1. Higher performance: fewer collisions because each computer connects only to the switch
  2. More resilient: no single shared cable, so one faulty cable doesn't stop the lesson
  3. Easier to add nodes and find faults

2 Devices round a home router

A family's devices all connect wirelessly to one router. Which topology is it?

Askedtopology + justificationKnoweverything links to one central deviceRoutecentral device → star

  1. Star
  2. every device is connected directly and independently to the router (the central device); none connect to each other

The November 2021 report: “because all the devices connect to the router” only repeats the question; say each device connects only to the router, independently.

3 A factory control network that must never stop

Machines on a production line must keep communicating even if a cable is cut. Which topology?

Askedtopology + reasonKnowno single point of failure allowedRoutemultiple routes → mesh

  1. Mesh
  2. there are multiple routes, so if one link fails packets take another route and the network keeps working

4 A small temporary network

Four computers are needed for a weekend event at minimum cost. Which topology?

Askedtopology + reasonKnowfew devices, low costRouteleast cable, no central device

  1. Bus
  2. cheapest: one cable, no switch; with only 4 devices and light traffic, collisions are rare

Mark-scheme focus

Explain how packets are transmitted between two devices in a star topology (2 marks)

9618/13/M/J/24 Q5Paper 1 · Theory fundamentalsPart (b)2 marksFull size
A design company has a LAN. (b) Part of the internal structure of the wired LAN is a star topology. Explain how packets are transmitted between two devices in a star topology. [2]
Credited
  • Sending computer transmits packets directly to the switch / central device B1
  • Switch checks the destination address of the packet and forwards it directly to that device B1
Not credited
  • “The data goes through the middle” (no device, no address)
  • “The switch sends it to all devices” (that's a hub / a bus)
Why

Two separate actions earn the two marks: sender → switch, then switch reads the address and sends only to the destination.

From: 9618/13/M/J/24 Q5(b)

Describe a mesh topology; two advantages over a bus (4 marks)

9618/13/M/J/23 Q2Paper 1 · Theory fundamentalsPart (b)4 marksFull size
(b) In one building five computers are connected in a mesh topology. (i) Describe what is meant by a mesh topology. [2] (ii) Give two advantages of using a mesh topology instead of a bus topology. [2]
Credited
  • (i) All computers are connected to at least one other device B1; there are multiple routes between devices // computers act as relays passing packets on B1
  • (ii) If one line goes down there are other routes B1; no / fewer collisions // new nodes added without interruption // more secure as not one main line B1
Not credited
  • (i) only the connections, nothing about routes / relaying (the report: the second mark was the hard one)
  • (ii) “it is faster” with no reason

From: 9618/13/M/J/23 Q2(b)

  • Draw / complete a star: in about every other paper (1-4 marks): every device connected directly to the centre, no other links, all labelled.
  • How packets travel in a star: 2-3 marks: to the switch, switch checks the destination address, sends only to that device.
  • Compare topologies: tick tables, star vs bus, mesh features (2-5 marks).

Worked examples

Example 1 · Which topology does each statement describe? (Paper 1, 5 marks) ★ Easy
9618/11/M/J/24 Q8Paper 1 · Theory fundamentalsPart (a)5 marksFull size
A business is creating a LAN. (a) Tick one or more boxes in each row to identify the topology, or topologies (bus, star, mesh), each statement describes: all devices connect to one central device; all devices connect to a central cable; multiple paths for the packets to travel along; robust against damage because if any line fails, the rest of the network retains full functionality; most likely to lose data through collisions. [5]
1 Read it with me what is actually happening?

“One or more boxes”: a row can need two ticks. Test each statement against each topology.

  • one or moresome rows have two answers
  • any line failsone link, not the central device
2 What is it asking for? the target, part by part
  • (a)five rows5, 1 per row
3 What do we know? everything the question gives us
    4 Plan the route work backwards from what we want
    FindKey ideaAlready have itWork out firstTrap
    • Row 4robust
      • Stara broken cable cuts off only one device
      • Meshother routes
      • Trapticking only mesh
    If one cable in a star breaks, does the rest work?

    Yes: only that device loses its link.

    5 Now solve it have a go on paper first, then open the worked solution
    1. one central device → Star B1
    2. central cable → Bus B1
    3. multiple paths → Mesh B1
    4. robust if any line fails → Star and Mesh B1
    5. most likely to lose data through collisions → Bus B1
    6 Check it does the answer make sense?

    Row 4 is the only two-tick row ✓.

    Example 2 · Complete a star, then where to attach the router (Paper 1, 3 marks) ★★ Medium
    9618/12/O/N/22 Q10Paper 1 · Theory fundamentalsParts (a) and (b)(i)3 marksFull size
    A LAN consists of four computers, one server and a switch, using a star topology. (a) Complete the diagram (switch already linked to the server) to show how the hardware is connected. [1] (b) A router is attached to one of the devices in part (a) to connect the LAN to the internet. (i) Identify the device. Give a reason for your choice. [2]
    1 Read it with me what is actually happening?

    (a): the switch is already joined to the server; join each computer to the switch. (b)(i): choose a device from the diagram and give a reason that isn't just “to connect to the internet” (that's in the question).

    • complete the diagramadd the missing links only
    • one of the devices shownswitch or server - not a new device
    2 What is it asking for? the target, part by part
    • (a)connections1
    • (b)(i)device + reason2
    3 What do we know? everything the question gives us
      4 Plan the route work backwards from what we want
      FindKey ideaAlready have itWork out firstTrap
      • (b)(i)device
        • Switchconnected to all computers → shared access
        • Serverauthorises traffic / firewall / proxy
      What did the report say about (b)(i) reasons?

      “Simply saying that the device can connect the LAN to the Internet is not enough as this was stated in the question.”

      5 Now solve it have a go on paper first, then open the worked solution
      1. (a) all four computers directly connected to the switch and no other connections B1
      2. (b)(i) Device: switch B1; reason: it is connected to all the computers, so all share access to the router B1
      3. (or: server, because it processes requests and authorises traffic / runs the firewall / acts as a proxy)
      ComputerComputerServerComputerComputerSwitch
      The completed star.
      6 Check it does the answer make sense?

      The diagram has no computer-to-computer links ✓.

      Example 3 · Draw an office star with every device (Paper 1, 4 marks) ★★ Medium
      9618/12/M/J/25 Q6Paper 1 · Theory fundamentalsPart (d)4 marksFull size
      (d) The main office has four wired computers, one server, two printers, one central switch and a device providing a single point of access for the internet. The network is set up as a star topology. Draw the topology for the main office network. Label all devices. [4]
      1 Read it with me what is actually happening?

      Ten devices to place: 4 computers, server, 2 printers, switch, and the internet device (a router or modem). Each mark is for one group connected correctly.

      • single point of access for the interneta router / modem
      • label all devicesunlabelled boxes score nothing
      2 What is it asking for? the target, part by part
      • (d)the drawn star4
      3 What do we know? everything the question gives us
        4 Plan the route work backwards from what we want
        FindKey ideaAlready have itWork out firstTrap
        • Marks
          • 1server → switch
          • 2four computers → switch
          • 3printers → switch (or server / a computer)
          • 4router → switch (or server)
        5 Now solve it have a go on paper first, then open the worked solution
        1. Server directly connected to the switch B1
        2. Four labelled computers all connected directly to the switch B1
        3. Two printers each directly connected to the switch (or server / a computer) B1
        4. Router / modem directly connected to the switch (or server) for internet access B1
        ComputerComputerComputerComputerPrinterPrinterServerRouterSwitch
        One correct drawing.
        6 Check it does the answer make sense?

        Every device has exactly one line, to the centre ✓.

        Example 4 · One advantage of star over bus, explained (Paper 1, 2 marks) ★ Easy
        9618/11/O/N/23 Q2Paper 1 · Theory fundamentalsPart (d)2 marksFull size
        (d) A new classroom is being set up with 20 computers and a switch. Explain one advantage of implementing a star topology instead of a bus topology in the new classroom. [2]
        1 Read it with me what is actually happening?

        “Explain one advantage”: the advantage (1) and why it happens / what it means in the classroom (1).

        • explain oneadvantage + expansion
        2 What is it asking for? the target, part by part
        • (d)1 advantage, explained2
        3 What do we know? everything the question gives us
          4 Plan the route work backwards from what we want
          FindKey ideaAlready have itWork out firstTrap
          • Advantage
            • Faultsno single cable → less disruption
            • Collisionseach device only on the switch
          5 Now solve it have a go on paper first, then open the worked solution
          1. Star topology is more resilient to faults B1
          2. … because there is no single shared cable, so a fault causes less disruption to teaching B1
          6 Check it does the answer make sense?

          Also credited: higher performance as fewer collisions … because each device is connected only to the switch ✓.

          Summary

          • Bus: one shared cable, every device receives every packet, most collisions, backbone failure stops everything.
          • Star: each device only to a central switch; switch reads the destination and forwards only there; switch failure stops everything.
          • Mesh: multiple routes, devices relay packets, robust, expensive. Hybrid: a mix (e.g. stars joined by a backbone).
          If you see…do this
          “draw a star”every device → centre only, all labelled
          “how are packets transmitted” (star)sender → switch → reads destination address → only to that device
          “most likely to have collisions”bus
          “multiple routes / robust”mesh (and star for one-cable failures)
          “justify the topology”reason linked to the situation (cost, reliability, collisions, expansion)

          Can I do this?

          Anything unticked: revise that section first. All ticked: take the quiz.

          Quiz

          The multiple-choice and guided questions need JavaScript. The concept checks and exam practice below work without it.

          Concept checks

          Answer each one in your head first, then open it.

          1Why does a star have fewer collisions than a bus?Show answer

          Each device has its own link to the switch and the switch forwards each packet only along the link it needs, so devices aren't competing for one shared cable.

          2Is a star with a hub the same as a star with a switch?Show answer

          Same layout, different behaviour: a hub repeats every packet to every port (like a bus), a switch sends it only to the destination.

          3Why don't we build every network as a full mesh?Show answer

          The number of links grows very fast (n devices need n(n−1)/2 links): 20 devices would need 190 cables.

          Exam-style practice

          New questions, not used above. Do them on paper, then mark your work against the official mark scheme.

          Q19618/12/M/J/23 Q1Paper 1 · Theory fundamentalsPart (c)2 marksFull size
          (c) One of the company's offices has one server and four computers connected in a star topology. Draw a diagram to show the layout of the office's star topology. [2]
          Show the mark scheme
          PartAnswer / workingMarksGuidance
          (c)Each computer directly connected only to the serverB1a switch in the middle is also fine
          All components correctly labelledB1
          Total: 2 marks
          Q29618/12/O/N/23 Q7Paper 1 · Theory fundamentalsParts (b)(i) and (ii)4 marksFull size
          A LAN contains a router, two laptop computers and a server. (b)(i) The LAN is set up as a star topology. Draw a diagram of the topology of the LAN. [2] (ii) Explain how data is transmitted between the two laptops in the LAN. [2]
          Show the mark scheme
          PartAnswer / workingMarksGuidance
          (b)(i)Server connected only to the routerB1
          Two laptops connected only to the routerB1
          (b)(ii)The data from the sending laptop is transmitted to the router, with the address of the recipientB1
          The router determines the destination (routing table) and transmits the data directly / only to the recipientB1
          Total: 4 marks
          Q39618/12/O/N/21 Q3Paper 1 · Theory fundamentalsPart (b)(i)2 marksFull size
          Andy plays games over the internet; several devices connect wirelessly to the router in his house. (b)(i) Identify the topology of Andy's home network. Justify your choice. [2]
          Show the mark scheme
          PartAnswer / workingMarksGuidance
          (b)(i)StarB1
          Devices are connected directly to the router independently // all devices are only connected to the routerB1
          Total: 2 marks

          Your progress on this note is saved when JavaScript is on.