GCSE · Computer Science · Eduqas · Spec C500QS

TCP/IP packet contents and packet switching

You tap send on a photo. It gets chopped up, scattered across the network, arrives in the wrong order, and still turns up perfect. How?

Computer Science · Networks

Follow one file across the network

Press Next to watch a file split into four packets, take different routes, arrive out of order, and still come back whole.

Before you press Next: do you think all four packets will take the same route and arrive in order?

Message: One file, split into 4 packets

Sender→Router A→Router B→Router C→Receiver
Packet=whole file, not split yetPacket number=none yetArrived so far=nothingSource address=SenderDestination address=Receiver

Output

 

Step 1: Start at the sender. The file is broken down into 4 data packets before anything is transmitted. Each packet will carry a destination address, a source address, a packet number and error checking, plus its part of the file.

1 / 13

Watch the 'Arrived so far' row. Notice what happens when the order goes wrong, and what happens to a packet that fails its error check.

Step 1 of 13: Start at the sender. The file is broken down into 4 data packets before anything is transmitted. Each packet will carry a destination address, a source address, a packet number and error checking, plus its part of the file..

Exam line: Packets from one file travel separately. Routers read each destination address, packet numbers restore the order, and only a corrupted or lost packet is resent.
Watch out: The routes shown here are made-up examples. Real packets from one file may take different routes, but which route each takes is not something you can predict.

Computer Science · TCP/IP layers

Zoom into one frame

Level 1 of 4: Frame (link layer)

Predict first

You open the frame. Which address do you expect to find in the header of what is inside?

  • Frames are not drawn to scale.
  1. The link layer wraps an IP packet in a frame suited to that link's technology, for example an Ethernet frame or Wi-Fi. The frame's header includes the physical (MAC) address of the next node.

    • Transports IP packets across each individual link of the path
    • Header includes the MAC address of the next node

Computer Science · TCP/IP layers

Which layer's job is it?

Pick a job, then pick the layer that does it. Commit before you read the reason.

Still to sort

Application layer (0)

Where data from the user's program starts

Where the line is: It deals with data from programs such as browsers and email, not with how the data is addressed or sent.

Transport layer (0)

Segments, headers, checksums and ports

Where the line is: It splits data into segments; it does not put IP addresses on anything.

Internet (network) layer (0)

IP packets and IP addresses

Where the line is: It packages segments into IP packets so they can be routed across networks; it does not use MAC addresses.

Link layer (0)

Frames and MAC addresses

Where the line is: It carries the IP packet across each individual link of the path.

6 of 6 still to sort.

Exam line: Each job belongs to exactly one layer: application, transport, internet or link.

Two addresses, two jobs

IP addressvsMAC address

These two get mixed up all the time. Compare them side by side.

Focus

What kind of address?

IP address

A logical address

MAC address

A physical address

The insight

Logical means it is given to the device. Physical means it belongs to the hardware itself.

Where does it come from?

IP address

Assigned by the network

MAC address

Built into the hardware

Can it change?

IP address

Yes, it can change

MAC address

It is built into the hardware, so it is not handed out by a network

Which layer uses it?

IP address

The internet layer

MAC address

The link layer

Delivering data...

IP address

Between networks

MAC address

Within a local network

Computer Science · Packet switching

What do you think happens when you send a file?

You send a big file to a friend across the internet. It is split into packets.

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

Exam line: Packets are routed separately, put back in order using packet numbers, and only a lost or corrupted packet is resent.

Computer Science · Exam practice

Write it up, then mark yourself

Describe how data is sent from one device to another across the internet. Include how it passes down and back up the layers of the TCP/IP model, how packet switching carries it, and how it is rebuilt at the destination. [6 marks]

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

Exam line: A strong answer joins both halves: what happens on the way down the layers, how packet switching gets the data across, and what happens on the way back up.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

How a file gets chopped up, sent by separate routes, and rebuilt at the other end.

What you need to know

  • A data packet is a small part of a whole file. Before sending, the file is broken down into packets.
  • Each packet carries a destination address, a source address, a packet number, error checking, and its part of the file's data.
  • Packet switching sends those packets individually, so different packets from the same file may take different routes.
  • Routers examine each packet's destination address and decide which route to send it along, until it reaches its destination.
  • Have a goA router has just received a packet. Which part of a packet does it read to decide where to send it next?

    The destination address.

    The source address only says where it came from; it is the destination address that tells the router where it needs to end up.

  • At the destination, the packets are reassembled into the correct order using their packet numbers.
  • Have a goSam says: "The packets arrived as 3, 1, 4, 2, so the file is ruined." What does the destination use to fix the order?

    Packet numbers.

    Arriving out of order is not a disaster: each packet carries its number, so the destination can reassemble them in the correct order.

  • Packets need not all take the same route, so each can avoid delays. Only a lost or corrupted packet is resent, not the whole file.
  • The TCP/IP model is a four-layer model of protocols: application, transport, internet (network) and link, from the top.
  • Going down the layers, each layer adds information to help delivery. Coming back up, each layer removes what its counterpart added.
  • IP addresses are logical, assigned by the network and can change. MAC addresses are physical, built into the hardware.
  • Have a goA laptop moves to a new network and is handed a different address by that network. Is that new address its IP address or its MAC address?

    Its IP address.

    IP addresses are logical and assigned by the network, so they can change; the MAC address is physical, built into the hardware.

The big picture

A file never crosses the internet in one piece. It is split into data packets, each carrying a destination address, a source address, a number and error checking. Routers send each one along its own route, and the destination rebuilds the file using those numbers. On each device the data also passes down the four TCP/IP layers, each adding information, and back up again at the receiver.

Key points

1A file is broken into data packets before transmission; each packet carries a destination address, a source address, a packet number and error checking, plus its part of the file's data.
2In packet switching, packets are transmitted individually and may take different routes. Routers examine each packet's destination address and choose the route, and packet numbers restore the order at the destination.
3The four TCP/IP layers from the top are application, transport, internet (network) and link. Each layer adds information on the way down and its counterpart removes it on the way up.
4IP addresses are logical, assigned by the network, can change, and are used at the internet layer between networks. MAC addresses are physical, built into the hardware, and are used at the link layer within a local network.

Worked example

Problem

A file is split into 5 packets. They arrive at the destination in the order 3, 1, 5, 2, 4, and the error check on packet 5 shows its data was changed. Describe what happens next.

⚠ Watch out

Picturing the packets as a train: all on one route, in order, with the whole file resent if anything goes wrong. In fact packets are routed individually, can arrive in any order, and only a lost or corrupted packet is resent.

🧠

Memory hook

Split it, scatter it, stitch it. And for the layers from the top: A Train Is Late (Application, Transport, Internet, Link).

✓

Check yourself

Cover the page and explain in your own words: what four things (besides its part of the file) does every packet carry, and why does a router care about only one of them?

Flashcards

(14)
What is a data packet?
A small part of a whole file that is transmitted over a network. Files are broken down into data packets before transmission.
What does each data packet contain?
A destination address, a source address, a data packet number and error checking, together with its part of the file's data.
Why does each packet have a packet number?
So the packets can be reassembled in the correct order at the destination.
What is the error checking in a packet for?
To detect whether data has been changed or corrupted during transmission, so that it can be resent.
What is packet switching?
A method of transmitting data across the internet using small packets, which are transmitted individually. Different packets from the same file may take different routes.
What do routers do in packet switching?
They examine the destination address of each incoming packet and decide which route it should be sent along until the destination is reached.
Give two benefits of packet switching.
Each packet can take the fastest or most efficient path available, avoiding delays or busy routes. If one packet is lost or corrupted, only the damaged one needs to be resent.
Which kind of traffic uses packet switching?
Most traffic over the internet.
Name the four TCP/IP layers from the top.
Application, transport, internet (network) and link.
What happens to data as it passes down and back up the layers?
Down: each layer adds extra information to help with delivery. Up: each layer removes the information its counterpart added.
What does the transport layer do?
It splits application data into segments, gives each a header (sequence number, total segments), adds a checksum, and states the port number.
What does the link layer do?
It transports IP packets across each individual link, wrapping them in a frame (such as Ethernet or Wi-Fi) with the MAC address of the next node.
IP address versus MAC address?
IP: logical, assigned by the network, can change, used at the internet layer between networks. MAC: physical, built into the hardware, used at the link layer within a local network.
TCP versus UDP?
TCP gives reliable, in-order, error-free delivery. UDP is faster but less reliable.

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 22 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.