By default, when you configure a virtual machine for replication to cloud, its NICs and MAC addresses are copied automatically to the target site as part of the provisioning of the placeholder virtual machine.
About this task
If the test network is not isolated from the production network and these networks have common routing, a test recovery of a replicated virtual machine might result in duplicate MAC addresses in your virtual data center.
To avoid duplicate MAC addresses in your data center, you can disable the automatic copying of network configurations from the source site to cloud sites.
Disabling the automatic copying of network configurations does not delete the configurations that are already replicated to the target site. See http://kb.vmware.com/kb/2086292 .
- Use the vSphere Web Client on the source site to locate the HMS virtual machine and log in as the root user.
- Navigate to folder /opt/vmware/hms/conf/.
- Run the vi hms-configuration.xml command to open the hms-configuration.xml file for editing.
- Locate the <hms-dr2c-export-mac-address> parameter, and modify the value to false:
- Run the :wq command to save the change, and run the following command to restart the HMS service.
# service hms restart
The automatic copying of network configurations to target cloud sites is disabled for all newly configured replications.