Unit 4 · Addressing Network Devices

4.6IPv6 addressing

IPv4 has about 4.3 billion addresses, which are exhausted. IPv6 uses 128-bit addresses written as eight groups of four hex digits: 2001:0db8:0000:0000:0000:ff00:0042:8329.

Shortening rules: drop leading zeros in a group; replace one run of all-zero groups with :: (only once). The address above becomes 2001:db8::ff00:42:8329.

Full form: 8 groups of 4 hex digits (128 bits)20010db8000000000000ff0000428329Step 1: remove leading zeros in each group2001db8000ff00428329Step 2: replace one run of zero groups with ::2001:db8::ff00:42:8329
Shortening an IPv6 address: drop leading zeros in each group, then replace one run of all-zero groups with ::

Differences that matter for beginners

Tip: recognise fe80:: as link-local and ::1 as loopback at a glance. If a host only has link-local addresses, it cannot reach the Internet yet — it still needs a global or unique-local address and a route.

Common mistake: using :: more than once in one address. Only a single run of zero groups may be compressed, or the address is ambiguous.

Remember

  • IPv6 = 128 bits; shorten with dropped leading zeros and one ::.
  • Link-local always; no broadcast; ND replaces ARP.
  • /64 is the normal LAN size; dual-stack is the usual transition path.
TypePrefixNote
Global unicast2000::/3Public, routable
Link-localfe80::/10Automatically on every interface, local link only
Unique localfc00::/7Private-style addressing
Multicastff00::/8Replaces broadcast
Loopback::1Local host

IPv6 has no broadcast and usually uses a /64 prefix for a LAN. Addresses can be assigned by SLAAC (auto-configuration) or DHCPv6. Transition methods: dual-stack, tunnelling, translation.

Check yourself. When you have finished this unit, try the 4.7 hands-on lab and the 4.8 review questions.