CloudAcademia
EN

Networking · Module 07 · IPv6: Addressing, Autoconfiguration and Coexistence

IPv6: Addressing, Autoconfiguration and Coexistence

Overview3h totalIntermediateMarkdown

Showing raw Markdown: the renderer could not load.

The IPv4 address pool ran out years ago, and most modern networks, mobile carriers and cloud providers now run **Internet Protocol version 6 (IPv6)** alongside or instead of IPv4. IPv6 is not just "longer addresses": hosts configure themselves, there is no broadcast, and the Internet Control Message Protocol for IPv6 (ICMPv6) does jobs that IPv4 left to other protocols. This module covers how to read, plan and secure IPv6 addressing.

## Learning objectives
By the end of this module you will be able to:
1. Explain why IPv6 exists and how it differs from IPv4: header format, extension headers, no broadcast, and end-to-end addressing without NAT.
2. Read and write IPv6 addresses following RFC 5952, and identify address types and scopes: global unicast, unique local (ULA), link-local, multicast, anycast, loopback (`::1`) and unspecified (`::`).
3. Explain how a host configures itself: Neighbor Discovery Protocol (NDP), Router Advertisements and their flags, Stateless Address Autoconfiguration (SLAAC), temporary (privacy) addresses and DHCPv6.
4. Plan IPv6 subnetting for a site: a `/48` or `/56` per site and a `/64` per network segment.
5. Compare coexistence strategies (dual stack, NAT64/DNS64) and assess IPv6-specific risks: rogue Router Advertisements, over-filtered ICMPv6 and firewall rules that only cover IPv4.

## Prerequisites
- [05 — IP Addressing](../05-ip-addressing/README.md) and [06 — Subnetting](../06-subnetting/README.md).
- For the lab: a computer with IPv6 enabled (the default on current Linux, macOS and Windows) and Python 3. Internet IPv6 connectivity is not required; the lab uses link-local addresses on your own network.

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 60 min |
| [Hands-on lab: exploring IPv6 on your own machine](lab.md) | 45 min |
| [Assessment (10 questions)](quiz.md) | 15 min |

## Further reading
- [RFC 8200](https://www.rfc-editor.org/rfc/rfc8200) — Internet Protocol, Version 6 (IPv6) Specification
- [RFC 4291](https://www.rfc-editor.org/rfc/rfc4291) — IP Version 6 Addressing Architecture
- [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952) — A Recommendation for IPv6 Address Text Representation
- [RFC 4193](https://www.rfc-editor.org/rfc/rfc4193) — Unique Local IPv6 Unicast Addresses
- [RFC 4861](https://www.rfc-editor.org/rfc/rfc4861) — Neighbor Discovery for IP version 6
- [RFC 4862](https://www.rfc-editor.org/rfc/rfc4862) — IPv6 Stateless Address Autoconfiguration
- [RFC 8981](https://www.rfc-editor.org/rfc/rfc8981) — Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6
- [RFC 8415](https://www.rfc-editor.org/rfc/rfc8415) — Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
- [RFC 6177](https://www.rfc-editor.org/rfc/rfc6177) — IPv6 Address Assignment to End Sites
- [RFC 4890](https://www.rfc-editor.org/rfc/rfc4890) — Recommendations for Filtering ICMPv6 Messages in Firewalls
- [RFC 6146](https://www.rfc-editor.org/rfc/rfc6146) / [RFC 6147](https://www.rfc-editor.org/rfc/rfc6147) — Stateful NAT64 / DNS64