4 mins read

SR-MPLS – Anycast

1. Intro

An IGP anycast segment is an IGP prefix segment that identifies a set of routers. An anycast segment enforces forwarding based on the equal-cost multipath-aware shortest-path toward the closest node of the anycast set. Within an anycast group, all the routers advertise the same prefix with the same SID value, which facilitates load balancing.

We will use the same test topology from the previous posts:

The initial config is simple:

2. Configuring Anycast

We will configure the 1.2.3.4/32 prefix on R7 and R8, then we will advertise it in ISIS:

Now, let’s test the Anycast 1.2.3.4/32 prefix with some pings:

This demonstrates that when pinging from R1, the request goes to R7. But when pinging from R2, the requests goes to R8 instead.


External Resources:

Leave a Reply