Using multiple IP addresses

If an on-premises VM uses multiple IPs, you can replicate the configuration in by adding an additional Google Cloud Alias IP Range per instance. If you enable multiple IP support, Migrate for Compute Engine adds all of the IPs in the Alias IP range to the instance's NIC in Google Cloud during VM migration.

This feature is only supported for Linux VMs.

Migrate for Compute Engine supports IP address ranges of up to 32 addresses or up to 27 CIDR ranges. Google Cloud only supports an IP address range consisting of a single CIDR mask chosen from the following list:

  • x.x.x.x/32 - single IP address
  • x.x.x.x/31 - 2 addresses
  • x.x.x.x/30 - 4 addresses
  • x.x.x.x/29 - 8 addresses
  • x.x.x.x/28 - 16 addresses
  • x.x.x.x/27 - 32 addresses

The CIDR range must belong to that subnet's range. The range you choose cannot already be in use, even in part, by any other resource on the Virtual Private Cloud network. For more information, see the Alias IP documentation.

To learn how to enable multiple IP support for your VM instances, see Work with VM instances.