IPv4 vs IPv6
Compare addressing, neighbor discovery and configuration between IPv4 and IPv6.
| Dimension | IPv4 | IPv6 | What it means in practice |
|---|---|---|---|
| Address size | 32 bits, dotted decimal. | 128 bits, hexadecimal with :: compression. | A /64 is the standard IPv6 subnet size. |
| Address resolution | ARP (broadcast). | Neighbor Discovery with ICMPv6 (multicast). | Blocking ICMPv6 breaks IPv6 neighbor discovery. |
| Host configuration | DHCP or static. | SLAAC, DHCPv6 or static; router advertisements announce the gateway. | Hosts may get an IPv6 address from RAs even without DHCPv6. |
| Broadcast | Uses broadcast. | No broadcast; uses multicast. | Link-local addresses (fe80::/10) exist on every IPv6 interface. |
| Header | Variable header with options and checksum. | Fixed 40-byte header with extension headers; no header checksum. | Routers do not fragment IPv6; path MTU discovery is required. |
| Verification | show ip interface brief; show ip route | show ipv6 interface brief; show ipv6 route; show ipv6 neighbors | Enable ipv6 unicast-routing on Cisco routers to route IPv6. |