Interconnection · Lesson 12

How can one address reach several locations?

Anycast lets multiple service locations announce the same IP (Internet Protocol) address or prefix. Routing then directs a client toward one available location according to the network's path-selection rules.

One address, many sites

Routing can choose among identical destinations.

With anycast, several locations provide the same service while announcing the same address or prefix. A client sends traffic to one address, and the routing system selects one of the available announcements.

The selected location is often topologically close, but “closest” means best according to routing policy and path attributes, not necessarily the shortest physical distance. A route withdrawal can also move traffic to another location.

Anycast distributes reachability; it does not copy content by itself.A CDN may use anycast alongside caching, but anycast is the routing method that chooses a service location.

Build the model

Four anycast pieces

01

Shared address

The same service address or prefix is reachable from several sites.

02

Announcements

Each location makes the shared destination reachable through routing.

03

Path selection

The network chooses one available route according to its rules.

04

Withdrawal

A site can stop announcing so traffic can move elsewhere.

Mini experiment

Choose a service location

Select the route state and see which location can answer the request.

ROUTINGNorth edge selected

The North location announces the shared service prefix and is preferred for this client path.

One shared address can lead to this available location.

Knowledge check

Test your anycast model

Answer five questions. The answer order changes each time.

0 / 5