Anycast
Cheat sheet · https://pcornel.dk/topic.php?topic=943
Answer
An IPv6 anycast address looks like unicast and is configured on multiple service instances. Routing, not a special packet flag, steers a client toward one advertised instance.
Remember
Anycast route health and service health are separate. A route can be present while the service behind it is dead, and ECMP or topology changes can move subsequent flows to another instance.
First checks
show ipv6 route <anycast-addr>— which instance (next hop) this router prefers.show bgp ipv6 unicast <prefix>— all advertisements of the anycast prefix.traceroute ipv6 <anycast-addr>from several sites — which instance answers.show ipv6 interface <if> | include anycast— anycast address configured on a router.
Verify in this order
same address on several instances → each advertises the prefix → routing picks the nearest → health check withdraws a failed instance → clients move to the next nearest
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Anycast operational reference
| Check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Address | Same service address on intended nodes | Missing/duplicate unintended node | Node config |
| Advertisement | Healthy nodes advertise | Dead node still advertises | Health coupling |
| Route choice | Topology/policy preferred site | Unexpected attraction | Routing policy |
| Service | Selected instance answers | Route works, app fails | Application |
| Failover | New sessions move predictably | Black hole/oscillation | Convergence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=943