Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

EVPN-VXLAN Anycast VTEP Multihoming

EVPN-VXLAN anycast VTEP multihoming presents two peers as one egress destination, using ECMP load balancing and rapid link and node failure recovery in fabrics.

In an EVPN-VXLAN multihoming deployment that uses an Ethernet segment identifier (ESI) and link aggregation (ESI-LAG), you can use anycast multihoming to make two multihoming peers appear as a single logical egress node. Each peer advertises EVPN Type 1 Ethernet Auto-Discovery (A-D), Type 2 (MAC/IP), and Type 3 (inclusive multicast) routes with a shared anycast VXLAN tunnel endpoint (VTEP) IP address as the BGP next hop. Remote provider edge (PE) devices load-balance traffic toward the anycast next hop by using underlay equal-cost multipath (ECMP). The multihoming peers maintain fast access-link convergence by using egress link protection (ELP) with a per-peer reroute address for tunnel endpoint selection. If a node fails, convergence follows underlay reachability to the anycast address.

In symmetric integrated routing and bridging (IRB), Type 2 MAC/IP routes use the anycast next hop and an anycast router MAC address. Each peer uses local route-installation rules to prevent programming routes that would resolve to itself through the anycast identity. Ethernet A-D per Ethernet segment (ES) signaling can trigger global repair so that ingress nodes steer directly to the surviving peer after an access-link failure. For broadcast, unknown unicast, and multicast (BUM) traffic, Type 3 inclusive multicast routes use the anycast next hop so ingress nodes send a single replicated copy that can land on either peer. Steady-state and failure-time forwarding is controlled by local-bias filtering and ELP tunnel endpoint selection.

Benefits

  • Makes remote PEs treat the multihoming peers as a single egress destination, which simplifies remote forwarding decisions.

  • Uses underlay ECMP toward a shared anycast VTEP to distribute traffic across available fabric paths.

  • Improves access-link failure handling by using local repair (ELP redirection to the surviving peer), reducing dependence on fabric-wide reconvergence for access-link failures.

  • Improves node-failure recovery by relying on standard underlay reachability updates to the anycast address.

  • Reduces unnecessary ELP tunnel state on remote nodes by suppressing Ethernet A-D per-ES advertisements where protection tunnels are not required.

How Anycast Multihoming Works

When EVPN anycast multihoming is enabled on an ESI-LAG pair, both peers advertise EVPN Type 1, Type 2, and Type 3 routes with the same anycast VTEP IP address as the BGP next hop. Remote PEs resolve a single overlay destination and then use underlay ECMP to load-balance traffic toward that anycast address. This changes the remote forwarding model from selecting between two distinct egress VTEPs to selecting among underlay paths to one logical egress identity, while preserving multihoming protection at the egress pair.

The forwarding model uses two addresses:

  • A shared anycast VTEP address configured on both peers.

  • A unique reroute address per peer used for ELP tunnel endpoint selection.

Type 1 and Type 2 routes use the anycast VTEP as the BGP next hop. The reroute address is carried in the tunnel encapsulation attribute so that peers can build the protection path used for local repair. In symmetric IRB, the anycast router MAC is advertised so that remote PEs use a consistent Layer 3 gateway identity while still reaching either peer through the anycast next hop. To avoid programming routes that resolve back to the local anycast identity, each peer applies a local installation rule to prevent installation of selected host routes learned from its peer.

After an access-link failure on one peer, forwarding continues through local repair. Traffic that arrives at the non-optimal peer because of anycast ECMP is redirected over the ELP protection path to the peer with the customer-edge (CE) facing link still up. You can also use global repair so ingress nodes stop relying on redirection. When the affected peer withdraws Ethernet A-D per-ES signaling, remote PEs update forwarding and steer directly to the remaining peer. When the link returns and signaling is re-advertised, ingress nodes return to the anycast forwarding model.

For BUM traffic, Type 3 inclusive multicast routes use the anycast next hop so ingress nodes send a single replicated copy that lands on either peer. BUM convergence depends on control-plane withdrawals and updates and can vary based on Ethernet segment signaling granularity and control-plane propagation.

Configuration and Verification

This section describes how to configure and verify EVPN anycast multihoming. Configure a shared anycast VTEP identity and router MAC on multihomed nodes, enable anycast behavior on the required ESI-LAGs, and verify the resulting EVPN routes and state.

CAUTION:
Changes to the anycast-multihoming configuration causes a catastrophic event for the routing instance. Please perform these configuration changes during a maintenance window to avoid network disruptions.

Configure Anycast Multihoming

Configure the shared anycast identity on every node in the multihoming pair. Configure an anycast VTEP address, and, for symmetric IRB, configure a shared anycast router MAC.

If the anycast address is configured on a non-default loopback unit, specify that unit as the anycast multihoming loopback interface. Configure every applicable EVPN routing instance to use the same loopback unit as its VTEP source interface.

Port-based designated forwarder (DF) election needs to be configured to achieve BUM traffic convergence improvements.

Configure Multihomed Access Interfaces

On each multihomed aggregated Ethernet interface, enable all-active multihoming and anycast behavior for the ESI-LAG.

Optionally, configure per-ESI DF-election granularity when you require BUM convergence behavior that uses per-ESI control-plane processing.

Configure Egress Link Protection

If you use ELP, configure a unique reroute address on each node. The reroute address provides tunnel endpoint selection for ELP. Keep the EVPN loopback selection and VTEP source-interface configuration consistent.

If the anycast and reroute addresses use a non-default loopback unit, explicitly configure that unit under the anycast multihoming hierarchy and use it as the VTEP source interface.

EVPN Anycast Multihoming MLAG Interoperability

Configure the following statement to enable EVPN anycast multihoming interoperability with remote devices operating in MLAG mode:

The mlag-interop-mode option is required when inter-operating with a remote Arista MC-LAG/MLAG device. In this deployment, the local multihoming peers are Juniper devices operating in ESI-LAG mode. Enabling this option allows seamless interoperability between Juniper EVPN anycast multihoming and Arista MLAG implementations without requiring additional interoperability-specific configuration on the remote devices.

This configuration also provides compatibility when local Juniper multihoming peers use anycast multihoming and need to communicate with remote Juniper nodes operating in ESI-LAG mode while leveraging the software enhancements provided by this feature.

An additional policy configuration must be configured to import the routes from MH peer in interop mode. Without this configuration, the routes from the MH peer are not imported because the received routes have a protocol next hop (PNH) identical to the local anycast IP address.

For example:

Verify anycast multihoming

Use the following commands to verify that the EVPN control plane reflects the anycast model.

In the bgp.evpn.0 routing table, verify the following:

  • EVPN Type 1, Type 2, and Type 3 routes use the anycast VTEP address as the PNH.
  • EVPN Type 1 and Type 2 routes include the node-specific reroute address in the tunnel-encapsulation attribute when ELP is configured.
  • In symmetric IRB deployments, EVPN Type 2 routes include a router-MAC community that matches the configured anycast router MAC.

When ELP is enabled, also verify that the reroute address appears in the EVPN attributes.

Example output for an EVPN Type 1 route with a non-zero ESI.

Example output for a symmetric IRB EVPN Type 2 route.

Example output for an EVPN Type 3 route.

In the extensive EVPN database output, verify that multiple advertising peers and route distinguishers (RD) map to the same anycast next-hop behavior.