GCSE · Computer Science · Eduqas · Spec C500QS

Switches

One post room copies every letter for every desk. Another reads the name and delivers to one desk. A switch is the second kind, and you're about to play it.

Computer Science · Networks

Be the switch

Make each forwarding call before the table shows it

You are the switch. Four devices are cabled in: Laptop on port 1 (MAC 11:AA), Printer on port 2 (22:BB), PC on port 3 (33:CC) and Server on port 4 (44:DD). Your table starts with just port 2 = 22:BB and port 3 = 33:CC. These MAC addresses are made up for practice. Step through three pieces of data and make each call before the table shows it.

Data arrives on a port
Record the source MAC address against the port it arrived on
Read the destination MAC address and look it up in the table
Send the data out of the one port the table gives
DataArrives onSource MACDestination MACTable entry recordedSent out of
1Port 111:AA22:BBPort 1 = 11:AA

Step 1. Data 1 comes in from the Laptop on port 1. Its source MAC address tells the switch that 11:AA is reachable through port 1, so the switch records that in its table.

Step 1 of 6Called right: 0 of 4

Ask yourself: which address tells me where this data is going?

Computer Science · Structure

One switch, four devices

A small wired local network. The MAC addresses are made up for practice. Tap a part to see its role.

Port 1Port 2Port 3Port 4

Tap any part of the diagram to see what it does.

Hub or switch?

HubvsSwitch

Start with the first row. Everything else follows from it.

Focus

Does it read the destination address?

Hub

No, it never reads it

Switch

Yes, it reads the destination MAC address

The insight

This one difference causes all the others.

Where does received data go?

Hub

To all connected devices

Switch

Out of one port only, to the intended device

Do the other devices receive it?

Hub

Yes, every one of them

Switch

No, none of them

Why it performs better

?

Reason it through

Why does a network with a switch perform better than one that sends data to every device?

Link 1 of 4

First link · your turn

A switch sends the data out of one port only. What does that mean for the other cables?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Computer Science · Networks

Is a switch secure?

Maya's printer is joined to the network by a switch. She asks: why is that more secure than a hub?

Which idea is closest to what you think right now?
How sure are you?

Exam practice

Hub or switch?

Explain why a switch is used rather than a hub in a network. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: Chain your points: reads the destination MAC address, so it sends to one device, so less traffic and better security.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

How one box reads an address and delivers data to just one device

What you need to know

  • A switch is a hardware device that joins several devices into one wired local network.
  • Each device plugs into one of the switch's ports with its own network cable.
  • Every network device has a MAC (Media Access Control) address, a hardware address that uniquely identifies its network interface.
  • Have a goMo says two devices on the same switch can share one MAC address, 'because it's just a nickname'. What's wrong with that?

    A MAC address uniquely identifies one network interface, so each device has its own.

    'Uniquely' is the key word. If two devices shared an address, the switch couldn't tell which one the data was meant for.

  • Inside, the switch keeps a table recording which device's MAC address is reachable through each port.
  • When data arrives, the switch reads the destination MAC address and looks it up in that table.
  • Have a goA switch's table says port 1 = 7C:10, port 2 = 7C:20 and port 3 = 7C:30. Data arrives addressed to 7C:20. Which port does the lookup point to?

    Port 2

    The lookup matches the destination MAC address to the port that leads to that device, and only one entry matches.

  • That lookup gives one port, and the switch sends the data out of that port only.
  • Sending data to one device only means less unnecessary traffic and less wasted bandwidth.
  • Have a goA switch sends one piece of data out of port 2 only. Is this data using up bandwidth on the cables to ports 1, 3 and 4?

    No. No copies go down those cables, so this data wastes none of their bandwidth.

    Wasted bandwidth comes from sending data to devices that don't need it, and the switch only uses the one port.

  • Less wasted bandwidth means the network performs better than one that sends data to every device.
  • Other devices never receive the data, which is more secure than sending it to everyone, although the data itself isn't encrypted.
  • Unlike a switch, a hub passes data to every connected device without reading its destination address.

The big picture

A switch is a hardware device that joins several devices into a wired local network. It reads the destination MAC address of each piece of data, uses its table of MAC addresses and ports to find the one port that leads to the intended device, and sends the data out of that port only. That means less unnecessary traffic, less wasted bandwidth and better performance, and the other devices never receive the data. A hub, by contrast, passes data to every connected device.

Key points

1A switch joins several devices into a wired local network, one cable to one port each.
2The table links each MAC address to the port that leads to that device.
3The switch reads the destination MAC address and forwards the data out of one port only.
4Less unnecessary traffic means less wasted bandwidth and better performance than a hub.
5Other devices never receive the data. That is more secure, but it is not encryption.

Worked example

Problem

A small office switch has this table: port 1 = Speaker 5A:01, port 2 = Tablet 5A:02, port 3 = Camera 5A:03. The Camera sends a file addressed to 5A:01. Which device gets the file, and what reaches the Tablet?

⚠ Watch out

Treating a switch like a hub. A switch does not pass data to every connected device: it reads the destination MAC address and sends the data out of one port. Also, 'more secure' does not mean 'encrypted' or 'completely secure'. It only means the other devices don't receive the data.

🧠

Memory hook

A hub shouts to everyone. A switch reads the address and delivers to one.

✓

Check yourself

A switch has just received data. What does it read, what does it look in, and which ports does it use? Then say why the other devices never see the data.

Flashcards

(11)
What is a switch?
A hardware device used to establish wired network connectivity. It connects several devices together on a local network.
What is a port on a switch?
One of the switch's connection points. Each device is connected to one port by a network cable.
What is a MAC address?
A hardware address (Media Access Control address) that uniquely identifies a device's network interface.
What does a switch's table record?
Which device's MAC address is reachable through each port.
What does a switch read to decide where data goes?
The destination MAC address in the data.
A switch receives data. How many ports does it send it out of?
One: the port connected to the intended device.
Why does a switch reduce unnecessary network traffic?
It sends data only to the intended device, so no copies travel to the others.
How does a switch improve network performance?
Less bandwidth is wasted, so the network performs better than one that sends data to every device.
Why is a switch more secure than a hub?
Other connected devices do not receive the data.
Does a switch encrypt the data it forwards?
No. Security improves only because the other devices never receive the data.
How does a hub handle received data?
It passes it to all connected devices without reading the destination address.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.