How IPv6 works
IPv6 uses 128-bit addresses. Devices can configure themselves (SLAAC): they ask routers for the network prefix with a Router Solicitation, then build an address from the prefix plus their own interface ID, and check nobody else uses it.
Layer: Network (OSI layer 3) · Port: - · Transport: ICMPv6 · Format: 40-byte header + payload · Standard: RFC 8200, RFC 4861
IPv6 packet flow
- ICMPv6 Client → Router: Router Solicitation to ff02::2
- ICMPv6 Router → Client: Router Advertisement prefix 2001:db8:1::/64
- ICMPv6 Client → Router: Neighbor Solicitation - duplicate address check
- IPv6 Client → Router: Now using 2001:db8:1::a8f3:12ff:fe34:5678
Other protocols: Ethernet · IP · TCP · UDP · ICMP · ARP · DHCP · DNS · BGP · NTP · IGMP