Cross-vCenter migrations fail due to incorrect vMotion VMkernel gateway IP
search cancel

Cross-vCenter migrations fail due to incorrect vMotion VMkernel gateway IP

book

Article ID: 462742

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Cross-vCenter migrations fail to route to the external network. Local in-cluster vMotions remain successful because the traffic does not need to traverse the external gateway.

Environment

  • VMware vCenter Server
  • VMware ESXi

Cause

The Gateway IP is incorrectly configured on the vMotion network.

The vMotion VMkernel IP address and its assigned default gateway reside on different subnets. This subnet mismatch prevents the external routing required for cross-vCenter migrations to succeed.

Resolution

  1. Confirm the IP, Subnet Mask, and Gateway are configured:
    esxcli network ip interface ipv4 get
  2. Identify the correct external gateway IP for the vMotion subnet.
  3. Ensure the network gateway allows external network traffic.
  4. Apply the corrected default gateway IP to the vMotion VMkernel adapter in a non-production environment for validation.
  5. SSH into the source ESXi host and execute a vmkping test via the "Provisioning" VMkernel adapter to a known external IP on the destination subnet to confirm outbound routing: vmkping -I vmk1 <Known_External_IP_on_Desination_Subnet>
  6. If ping fails, reconfirm the default gateway and subnet and ensure physical connectivity is correct. 

Additional Information

Applying a correct gateway IP that matches the vMotion VMkernel adapter's subnet allows the migration traffic to route properly outside of the local cluster.

See KB 315423 Testing network connectivity with the ping command for more details on testing network connectivity.