Multiple choiceQuestion 1 · Recall
Loading…
By the end you can describe the format of IPv4 and IPv6 addresses, shorten an IPv6 address, and explain how IP addresses are used to deliver packets.
Data crosses the internet in packets. A router holding a packet has one question: where is this going? The answer is written on the packet: an IP address.
IP address
A logical address given to a device on a network that identifies it, so that data packets can be routed to it. (Unlike a MAC address, it isn't fixed to the hardware and can change.)
| IPv4 | IPv6 | |
|---|---|---|
| Length | 32 bits | 128 bits |
| Written as | 4 denary numbers (0–255), one per 8 bits, separated by dots | 8 groups of 4 hexadecimal digits, one per 16 bits, separated by colons |
| Example | 192.168.10.77 |
2001:0db8:0000:0000:0000:ff00:0042:8329 |
| Number of addresses | ≈ 4.3 billion | ≈ |
Why IPv6? With phones, laptops, smart TVs and smart fridges, 4.3 billion IPv4 addresses ran out. IPv6 provides enough for every device imaginable.
Worked example: Is this a valid IPv4 address?
Which of these are valid IPv4 addresses? (a) 172.16.254.3 (b) 10.0.256.1 (c) 192.168.1