On the Ethernet, MAC address entries are used to guide Layer 2 data forwarding. The ARP entries that define the mapping between IP addresses and MAC addresses guide communication between devices on different network segments.
In a scenario where devices of a VRRP group connect to servers, the outbound interface in a MAC address entry is updated by packets, whereas that in an ARP entry is updated after the aging time is reached. In this case, the outbound interfaces in the MAC address entry and ARP entry may be different. To address this issue, run the mac-address update arp command to enable the MAC address triggered ARP entry update function. In Figure 1, SwitchA and SwitchB function as gateways of the server and have VRRP enabled to enhance reliability. VRRP packets are transmitted on the directly connected link between the two switches. When the server sends packets, only one network interface is selected to forward packets. When a network fault or traffic exception is detected, another network interface is used.
To solve the problem, configure MAC address triggered ARP entry update. This function enables the device to update the corresponding ARP entry when the outbound interface in a MAC address entry changes.
MAC address triggered ARP entry update is disabled by default. To enable this function, run the mac-address update arp command.