Octet

IPv6 has no broadcast. What does it use instead, and why is that better?

Show the answer

Say this first

Multicast. Anything that went to everyone in IPv4 goes to a specific group in IPv6: all nodes ff02::1, all routers ff02::2, and for address resolution the solicited-node group of the target. The gain is that a host's network card filters multicast in hardware, so only the few hosts that joined the group spend CPU on the packet. An ARP broadcast interrupts every host in the VLAN.

Go deeper

What replaced each broadcast use

IPv4 broadcast useIPv6 replacement
ARP requestNS to the solicited-node group ff02::1:ffXX:XXXX
DHCP discoverDHCPv6 Solicit to ff02::1:2
Router discoveryRS to ff02::2, RA to ff02::1
Directed broadcastgone

The real saving

A solicited-node group is built from the last 24 bits of the address, so on a normal LAN only one or two hosts are in each group. The NIC is told which multicast MACs (33:33:ff:xx:xx:xx) to accept and drops the rest without bothering the operating system.

What does not change

A switch without MLD snooping still floods multicast to every port in the VLAN, the same way it floods a broadcast. The bandwidth on the wire is similar. The saving is in host CPU and in not waking up devices that do not care.

Traps

  • Saying anycast replaced broadcast. Multicast did.
  • Claiming IPv6 multicast saves bandwidth on every switch. Only with MLD snooping.
How did you do?Book 4.2 IP Version 6Book 4.3 Multicast