Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

AC 7.3: Missing packets and the check value

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

The extract that would not open

Priya starts a download of a big sales extract before she leaves for the night. In the morning the file is there, but the analysis program says it is damaged.

Somewhere on the way, pieces went missing or changed. How does a computer notice that, and why do pieces go missing at all?

Key words

WordWhat it means
Packet losspackets that never reach the other end
Congestiontoo much traffic for a link or device to handle
Error handlingspotting that data is damaged and dealing with it
CRCa check value worked out from the data, to spot damage
Cyclic redundancy checkthe full name of a CRC
Bandwidthhow much data a link can carry each second
Check valuea short number worked out from data to spot damage
Interferenceunwanted signals that spoil a link
Routera device that joins networks and passes packets on
Packeta small piece of a message, with its own labels
Networkdevices joined so they can share things

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can give causes of packet loss and explain how a CRC spots a damaged packet.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Packets go missing for many reasons

Packet loss happens when a packet does not arrive. A little loss is normal. A lot makes a download slow, because the lost pieces must be sent again.

The usual cause is congestion: a router has too much traffic, its queue fills, and it drops new packets. Others are a weak Wi-Fi signal and interference. A faulty cable or port can drop packets. So can a wrong setting on a device. A damaged packet is also thrown away.

Causes of packet loss

CauseWhat happensA fix
CongestionA router queue is full and drops packetsMore bandwidth or less traffic
Weak wireless signalPackets are not heard at the other endMove closer or add an access point
InterferenceSignals are spoiled and packets are damagedBetter cable or another Wi-Fi channel
Faulty hardwareA bad cable, port or device drops packetsReplace the part
Wrong settings or bugsA device sends packets nowhereFix the setting or update the software
Damage found by a checkA damaged packet is thrown awayThe sender sends it again

The cells students fill in are left blank in this preview.

Extra: Ping your own machine: nothing is lost

Command
ping -c 3 -W 1 127.0.0.1

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Ping an address nobody answers: all is lost

Command
ping -c 3 -W 1 192.0.2.1

A command for the lesson’s lab terminal. It is shown here and not run.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

7 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.