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

Preview

SESP DINC task 3: Addresses, masks and names in a design

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

55 minutes

Which one is "the switch on the left"?

A design says, "Plug the cable into the switch on the left." A technician reads it six months later. Which switch? Which address?

A good design gives every device one clear name and one clear address, in a scheme anyone can follow.

By the end of this lesson

Note

I can write an address and naming scheme that another person can follow.

Key words

WordWhat it meansExample
Networkcomputers and devices joined together so they can share data
Routera device that passes messages from one network to another
IP addressa number that names one device on a network192.168.10.5
Subnet masknumbers that say which part of an address names the network255.255.255.0
Prefixthe short way to write a mask: the number of fixed bits after a slash/24
Gatewaythe address a device uses to leave its own network
Naming conventiona rule for how names are built, so every name looks alike

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

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.

This is practice

Important

The real Task 3 gives you a brief from the exam board and may give a template. Millbrook Savings here is invented. Learn the habits of a clear scheme, then use them on the real brief.

An address scheme gives each group a range

An IP address names one device. A subnet mask says how much of the address names the network and how much names the device. The short way to write a mask is a prefix, such as /24.

A good scheme gives each group of devices its own network, and uses the same pattern every time. For example, the gateway is always the first address.

Try it: read a network

Code: python
import ipaddress

net = ipaddress.ip_network("192.168.10.0/24")
print("Network:", net.network_address)
print("Mask:", net.netmask)
print("Broadcast:", net.broadcast_address)
print("Usable hosts:", net.num_addresses - 2)
print(ipaddress.ip_address("192.168.10.77") in net)
print(ipaddress.ip_address("192.168.20.5") in net)

# Change the network to 192.168.20.0/25. Run it again.
# How many usable hosts are there now?

Worked example: Millbrook's address scheme

GroupNetworkMaskGatewayDevices use
Staff desks192.168.10.0/24255.255.255.0192.168.10.1.2 to .200 for PCs, .201 to .250 for printers
Servers192.168.20.0/24255.255.255.0192.168.20.1.2 to .50, each set by hand
Guest Wi-Fi192.168.30.0/24255.255.255.0192.168.30.1.2 to .250, given out automatically

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

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.