Help Center/ Virtual Private Cloud/ User Guide (Paris Regions) / FAQ/ Virtual IP Addresses/ Why Is the Network Disconnected Between Servers Using a Virtual IP Address After an Active/Standby Switchover?
Updated on 2024-03-05 GMT+08:00

Why Is the Network Disconnected Between Servers Using a Virtual IP Address After an Active/Standby Switchover?

For an HA cluster using virtual IP addresses and Keepalived, if you find that the network between the client and the server is disconnected after an active/standby switchover, the possible cause is that the switchover is performed manually. As a result, the ARP table on the client is not updated, you can perform the following operations to update the ARP table:

  1. Log in to the client.
  2. Update the ARP table on the client.
    • Method 1: Trigger the client to learn the new MAC address corresponding to the virtual IP address:

      ping Virtual IP address

      Example command: ping 192.168.3.22

    • Method 2: Clear the residual entries in the ARP table of the virtual IP address to trigger the client to learn the new ARP table:

      arp -d Virtual IP address

      Command example: arp -d 192.168.3.22