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

Preview

DI 2.2: IPv4 addresses and subnet masks

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

60 minutes

A postcode for every device

A postcode has two jobs. The first half finds your area. The second half finds your street.

An IPv4 address works the same way. One part names the group a device is in. The other part names the device itself.

The subnet mask tells you where one part stops and the other starts.

Key words

WordWhat it means
Networkcomputers and devices joined together so they can share data
Protocola set of rules that devices follow to talk to each other
Packeta small piece of data sent over a network
IPv4the older version of the Internet Protocol, with 32-bit addresses
IP addressthe number that names a device on a network
Octetone of the four numbers in an IPv4 address, each one byte
Subneta smaller network inside a larger one
Subnet maska number that shows which part of an address is the network
Network partthe part of an address that names the network
Host partthe part of an address that names the device
Private addressan address for use inside one organisation, not on the internet
Static addressan address typed in by hand that does not change
Dynamic addressan address handed out automatically, which may change
Routera device that passes packets between networks

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

By the end of this lesson

Note

I can read an IPv4 address and subnet mask, say which part is the network, and choose a sensible addressing scheme.

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.

What an IPv4 address looks like

An IPv4 address is 32 bits. We write it as four numbers, called octets, with dots between: 192.168.1.20. Each octet is 8 bits, so it runs from 0 to 255.

Part of the address is the network part. The rest is the host part. All devices in one network share the same network part.

The subnet mask picks the network part

Subnet maskSlash formNetwork partHost part
255.0.0.0/8First octetLast three octets
255.255.0.0/16First two octetsLast two octets
255.255.255.0/24First three octetsLast octet

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

Worked example: finding the network

AddressMaskNetwork part staysHost part becomes 0Network address
192.168.1.200/24192.168.1200 becomes 0192.168.1.0
10.4.7.9/1610.47.9 becomes 0.010.4.0.0
10.0.1.2/2410.0.12 becomes 010.0.1.0

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

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

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