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: IPv6 addresses and their types

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

Running out of addresses

IPv4 has about four billion addresses. That sounded like plenty in the 1980s. Now every phone, watch, car and doorbell wants one.

The world ran short. The answer is IPv6, with so many addresses that running out is not a worry.

Key words

WordWhat it means
IPv6the newer way to give devices addresses, with 128 bits
Hexadecimala number system with sixteen digits, 0 to 9 and then A to F
Groupfour hex digits in an IPv6 address, between colons
Unicastan address for one device, and a message goes to that one
Global unicasta public address that works on the internet
Link-localan address that works only on the local link, never further
Unique locala private address, like a private IPv4 address
Multicastan address for a group of devices, and a message goes to all of them
Anycastone address given to several devices, and the nearest one answers
Loopbackthe address a device uses to talk to itself
Networkcomputers and devices joined together so they can share data

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

By the end of this lesson

Note

I can read and shorten an IPv6 address, and name the main types of address and what each is for.

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 IPv6 address looks like

An IPv6 address is 128 bits. We write it in hex, as eight groups of four digits, with colons between: 2001:0db8:0000:0000:0000:0000:0000:0001.

That is long, so there are two shortening rules.

Two rules to shorten an address

RuleBeforeAfter
1. Drop leading zeros in each group2001:0db8:0000:00002001:db8:0:0
2. Replace one run of all-zero groups with two colons2001:db8:0:0:0:0:0:12001:db8::1
Both rules together2001:0db8:0000:0000:0000:0000:0000:00012001:db8::1
Both rules on a link addressfe80:0000:0000:0000:0202:b3ff:fe1e:8329fe80::202:b3ff:fe1e:8329

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

Use two colons only once

Important

Two colons can stand for a run of zero groups, but only once in an address. If you used it twice, nobody could tell how many zero groups each one hides.

Check

Have a go

Check

4 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

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