Lecture summary
IPv6 changes the addressing system, but a host still needs an address, routing information and a way to deliver frames to its neighbors. Follow a device joining a network: understand the address, obtain configuration, resolve a neighbor, and then handle the packet on the path.
IPv4’s limited address space motivates a larger addressing system. IPv6 uses 128-bit addresses, but its purpose is not simply to fill every possible address: hierarchical allocation leaves room for growth and route aggregation. This connects address availability to the ability to organize and route networks at scale. IPv6 Allocation Aggregation and Coexistence
To use those addresses, we first need to read their notation and understand their scope. A link-local address is usable on its link, while other address types serve different communication needs. Prefixes still describe network ranges, so the familiar distinction between a destination address and a network prefix remains useful. IPv6 Addresses Prefixes and Scope
A newly connected device then needs configuration information. Router Advertisements communicate router and prefix information; SLAAC can construct addresses from advertised prefixes, and DHCPv6 can supply addresses or other configuration. These roles must be distinguished: obtaining an address through DHCPv6 does not by itself discover the default router. IPv6 SLAAC Router Advertisements and DHCPv6
When the device forms an address, the interface identifier raises another question: should it remain stable, change over time, or expose information tied to hardware? Stable and temporary identifiers make different tradeoffs between operational usefulness and privacy. An interface can consequently have several IPv6 addresses with different purposes and lifetimes. IPv6 Interface Identifiers and Privacy
Once configured, the device still needs to deliver frames to a neighbor. IPv6 uses Neighbor Discovery instead of ARP, including Neighbor Solicitation and Advertisement messages. For an off-link destination, the local Ethernet receiver is a router; for an on-link destination, it is the destination neighbor. The route decision still comes before resolving the appropriate local neighbor. IPv6 Neighbor Discovery and Ethernet Delivery
The resulting packet has an IPv6 base header and may carry extension headers. If a link cannot carry the packet at its current size, IPv6 routers do not fragment it; the sender must adapt using Path MTU information or perform source fragmentation when appropriate. This makes packet size another part of successful end-to-end delivery. IPv6 Headers Extensions and Path MTU
ICMPv6 connects several of these operations: it carries Neighbor Discovery messages and errors such as Packet Too Big. Multicast Listener Discovery manages local IPv6 multicast membership. These control exchanges are part of making delivery work, rather than optional traffic unrelated to the packet path. ICMPv6 and Multicast Listener Discovery
The network-join walkthrough below puts these mechanisms in order; the tables provide source-page references and distinctions to revisit afterward. Having understood IPv6 delivery, the next problem is communicating across networks that have not all adopted the same IP version. Lecture 03a - IPv4 to IPv6 Transition
Source and scope
Claudio Casetti, Guido Marchetto, Alessio Sacco, Marco Rapelli, IPv6, local 03-IPv6.pdf, 99 PDF pages. The title page also names Tecnologie e Servizi di Rete, Computer Network Technologies and Services, and Internet Architecture and Technologies. 03 follows the source filename. References below use PDF page order; printed slide numbers diverge later in the deck.
The original PDF is at 03-IPv6.pdf. Its page 2 copyright notice restricts redistribution. The PDF and slide figures remain local. These notes are original paraphrases; analogies, diagrams, examples, corrections and operational explanations are added study material. Source claims about adoption, routing-table counts, device populations and recommended defaults are not newly verified measurements.
This lecture documents the complete tutoring discussion on 15 October 2026. Core concepts were explained, but coverage does not imply independent mastery of every field, standard or exercise. Personal learning observations are kept outside the published folders.
Roadmap and source pages
| PDF pages | Material | Study note |
|---|---|---|
| 4-17 | Address exhaustion, NAT, registries, routing scalability, history, deployment | IPv6 Allocation Aggregation and Coexistence |
| 19-26 | Address size, notation, prefixes, local delivery | IPv6 Addresses Prefixes and Scope |
| 28-38 | Multicast, unicast, ULA, embedded addresses, loopback, unspecified, anycast | IPv6 Addresses Prefixes and Scope |
| 40-51 | Protocol changes, base header, extensions, fragmentation | IPv6 Headers Extensions and Path MTU |
| 53-63 | Ethernet encapsulation, multicast mapping, Neighbor Discovery | IPv6 Neighbor Discovery and Ethernet Delivery |
| 65-74 | ICMPv6 messages and multicast membership | ICMPv6 and Multicast Listener Discovery |
| 76-90 | Configuration, identifiers, router discovery, flags, options | IPv6 SLAAC Router Advertisements and DHCPv6, IPv6 Interface Identifiers and Privacy |
| 91-97 | Redirect, DAD, configuration sequence, DHCPv6 exchange | IPv6 SLAAC Router Advertisements and DHCPv6, ICMPv6 and Multicast Listener Discovery |
| 98-99 | Scoped address notation and interface selection | IPv6 Addresses Prefixes and Scope |
Big picture
IPv6 primarily expands the address space from IPv4’s 32 bits to 128 bits. There are 2^32 possible IPv4 bit patterns and 2^128 possible IPv6 patterns; neither number means every pattern is an ordinary usable host address. Hierarchical allocation deliberately leaves room for growth and aggregation.
The slides introduce an address-allocation efficiency measure, HD: log10(usable addresses) / log10(2^number_of_bits). It describes effective utilization under hierarchical allocation, rather than packet efficiency. A vast address space lets networks tolerate allocation inefficiency without immediately running out.
The historical story is that IPv4 workarounds, including CIDR and NAT, prolonged its usefulness while IPv6 developed. The source traces proposals through the selection of SIPP with 128-bit addresses. Its adoption charts and 2026 figures are dated source context, not prerequisites for understanding forwarding.
One complete network-join and delivery story
This sequence is a simplified added example, not a byte-for-byte packet trace:
- A laptop enables its interface and prepares a link-local address.
- It joins the relevant solicited-node group before probing the tentative address with DAD.
- It sends a Router Solicitation or waits for a periodic Router Advertisement.
- An RA announces a prefix with A=1, so the laptop can construct a SLAAC address and check it with DAD.
- L=1 separately marks that prefix as on-link. A positive Router Lifetime offers the sender as a default router. DNS may come through an RA option or DHCPv6.
- To contact an on-link printer, the laptop sends a Neighbor Solicitation to the printer’s solicited-node group. The printer normally replies directly with a Neighbor Advertisement containing its MAC address.
- The laptop caches the mapping and sends ordinary data to the printer’s individual MAC address.
- For a remote server, the IPv6 destination is the server, but the Ethernet destination is the local next-hop router. Each forwarding router decreases Hop Limit and builds the appropriate outgoing link-layer frame.
- If the next link cannot carry the packet, a forwarding router drops it and reports Packet Too Big. The original sender adapts; forwarding routers do not fragment it.
Essential distinctions from the discussion
| Often confused | Correct distinction |
|---|---|
| Multicast versus anycast | Multicast targets members of a group; anycast routing selects one interface among those sharing an address |
| IPv6 versus MAC destination | IPv6 identifies the packet destination; Ethernet identifies the next recipient on that link |
| Group address versus list of individual addresses | A single multicast MAC is a group destination that multiple receivers can accept |
| On-link versus reachable | On-link says to attempt direct delivery, not that a responding device necessarily exists |
| SLAAC versus DHCPv6 | SLAAC constructs an address locally; stateful DHCPv6 assigns one from a server |
| RS versus RA | Hosts solicit; routers advertise, including periodic unsolicited advertisements |
| Preferred versus valid | Deprecated addresses can remain usable for existing communication; invalid addresses cannot be used |
| Link-local address versus zone | The address identifies the neighbor; the local zone selects the link |
Source qualifications
Targeted primary-source cross-checks for the qualifications below: RFC 2710, MLDv1 section 4 for report destinations; RFC 4861, sections 4.2 and 4.6.2 for RA and prefix-option semantics; RFC 8200, sections 3 and 4 for payload length and extension-header behavior. These are focused checks, not an audit of every standard cited by the slides.
- Link-local allocation is
fe80::/10; the conventional address format uses zero bits after that prefix through bit 64 and a 64-bit interface identifier. Do not confuse the allocation prefix with a typical/64construction. - Two addresses looking alike does not alone establish on-link status. Hosts use advertised on-link information and routes. The simple same-prefix explanation is an introductory subnet model.
- The source’s deprecated site-local
fec0::/10is historical. ULA isfc00::/7, with locally assigned addresses infd00::/8. A device may have both ULA and global addresses; ULA does not prohibit that device from accessing the Internet using another address. - IPv4-mapped addresses represent IPv4 addresses in software; notation by itself does not translate packets.
- The source lists ICMPv6 types 130/131/132 for MLDv1. Do not generalize that message set to every MLD version. In MLDv1, reports target the reported group; Done uses the all-routers address. The source’s report-destination wording on PDF page 74 should not be generalized.
- The interface-identifier slide’s temporary-address reference
RFC 8971is a typo relative to its laterRFC 8981citation. Lifetimes are configuration values, not fixed properties of all IPv6 hosts. - The 16-bit base Payload Length permits 65,535 bytes after the base header in ordinary packets. A general ICMPv6 maximum should not subtract the base header from that field’s limit; extension headers also consume payload space. Jumbograms use a separate option.
- IPv6 security headers are optional mechanisms; IPv6 use alone does not imply encryption. The removed base-header checksum does not mean error detection disappears.
- The source’s historical routing/source-routing discussion is conceptual, not advice to enable every routing-header type.