Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Introduction

In a data center or campus networks, it is often necessary to implement a seamless migration of virtual machines (VMs) without changing network settings or disrupting the traffic forwarding. Virtual machine migration is just like changing the location of a MAC address in the network. Network infrastructure devices such as switches need to be aware of this change to refresh their forwarding table entries in time to ensure that traffic forwarding is not interrupted.

...

           set l3-interface vlan-interface <interface-name> anycast mac <mac-address>

NOTEs:

  • For anycast gateway over MLAG scenario, only the second way is available.
  • When configuring the Anycast MAC and Anycast Address for an L3 interface, it is necessary to apply both configurations in the same commit. This is because these two settings are interdependent, and applying them separately might cause synchronization issues, leading to configuration failures or network instability.

     For example,

admin@Xorplus# set l3-interface vlan-interface vlan10 anycast address 10


Code Block
admin@Xorplus# set l3-interface vlan-interface vlan10 anycast address 10.0.1.
1 prefix-length 24admin@Xorplus# set l3-interface vlan-interface vlan10 anycast mac
1 prefix-length 24
admin@Xorplus# set l3-interface vlan-interface vlan10 anycast mac AE:00:10:00:00:FE
admin@Xorplus#

admin@Xorplus# commit


Configuration Example

For example, as shown in the following simplified EVPN topology, the gateways of the attached servers are on the leaf VTEP switches. Since Server A and Server C are in the same subnet (VLAN: 10/VNI:10010), they should have the same gateway configuration (e.g, gateway IP 10.10.10.1 and gateway MAC 00:00:10:00:00:FE). If Server A moves from Leaf 1 to Leaf 2, the gateway IP configured on Server A doesn’t need to be changed. Similarly, Server B and Server D do not need to change their gateway IP and MAC addresses.

...