Concepts / IPv6

IPv6

Anycast address

Also called anycast, subnet-router anycast, /proc/net/anycast6

One address held by several devices; a packet to it reaches the nearest one.

Same address, nearest holder answers
Same address, nearest holder answers

Two servers hold one address and routing delivers each packet to the nearer one. The other takes over only when the first stops announcing the address.

An anycast address is one address held by several devices; a packet sent to it reaches the nearest one by routing. It looks like any unicast address: the same prefix is announced from many places, as the DNS root servers do. A site that fails must stop announcing it, or packets still go there. Every IPv6 router also holds the subnet-router anycast address: its prefix with an all-zeros interface id.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab