When VMs are restored to a destination that uses a different network connection, you can specify parameters for IP address mapping. If source VMs running Windows or Linux use static IP addresses, you can configure IP address mappings for destination VMs.
Important
-
You cannot customize IP address settings for VMs with encrypted disks. If you configure custom IP address settings for a replication group that includes VMs with encrypted disks, failover operations fail for those VMs.
-
If the Restore virtual machine using live recovery (Storage vMotion) setting is selected for the VM restore, then you cannot change the IP address of a VM. The restore operation does not fail, but the IP address is not be modified.
Source VM Settings: Specify values for source VMs:
-
IP Address: Enter a full IP address or an IP address pattern for source VMs.
-
Subnet Mask: Enter a full IP address or an IP address pattern for the subnet mask.
-
Default Gateway: Enter a full IP address or an IP address pattern for the default gateway.
Destination VM Settings: Specify settings to be used for destination VMs:
-
Use DHCP: Automatically assign available IP addresses to be used with the specified destination network.
-
IP Address: Enter a full IP address or an IP address pattern for destination VMs.
-
Subnet Mask: Enter a full IP address or an IP address pattern for the subnet mask.
-
Default Gateway: Enter a full IP address or an IP address pattern for the default gateway.
-
Preferred DNS Server: Identify the primary DNS server for the destination.
-
Alternate DNS Server: Identify a secondary DNS server for the destination.
IP Address Mapping Examples
The following examples show how IP address settings can be used to remap addresses for a different destination network.
Example 1
With the following settings, IP addresses for source VMs are remapped if they match the pattern 172.20.10.* (for example, 172.20.10.5 would be mapped to 172.30.10.5).
Settings |
Source VM |
Destination VM |
---|---|---|
IP Address |
172.20.10.* |
173.30.10.* |
Subnet Mask |
255.255.255.0 |
255.255.255.0 |
Default Gateway |
172.20.1.* |
172.30.1.* |
Example 2
With the following settings, IP addresses for source VMs are remapped if they match the pattern 172.20.*.* (for example, 172.20.65.10 would be mapped to 172.30.65.10).
Settings |
Source VM |
Destination VM |
---|---|---|
IP Address |
172.20.*.* |
172.30.*.* |
Subnet Mask |
255.255.0.0 |
255.255.0.* |
Default Gateway |
172.20.1.* |
172.30.1.* |