Clone virtual machine network

By cloning system is turned off, select Virtual Machine> Management> Clone> Next> Next (Select the virtual machine clone or clones an existing snapshot from the current state)> to create a complete clone Next> to create a virtual machine name and save location, carry out

Cloned virtual machines and virtual machine configuration information source exactly the same, although two separate virtual machine but not on the remote, ping different, you can order two virtual normal use, must make some changes.

1, click Virtual Machine> Settings> Network Adapters, Advanced> generation (click to generate and record a new MAC address)

2, start the new virtual machine cloning

Delete files /etc/udev/rules.d/70-persistent-net.rules (the file record card information, after deletion will automatically recognize the card information system restart, rebuild file)

3, modify the configuration file, update HWADDR set a new MAC value, the IPADDR set a new IP address.

vim /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
BOOTPROTO="none"
HWADDR="00:0C:29:13:E6:20"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="f9f68f33-cad0-4147-8f7b-decd0c81abdf"
IPADDR=192.168.1.13

4, modify the host name: (HOSTNAME = new hostname)

vim /etc/sysconfig/network

Finally, reboot the system

Guess you like

Origin www.cnblogs.com/ccn82550/p/11569250.html