1. Cloning a CentOS with VMware
2, enter the CentOS, open command line input ifconfig, after execution found no eth0
3, execute the network card Start command ifconfig eth0 up, and then execute ifconfig
4, configure the fixed IP, execute vi/etc/sysconfig/network-scripts/ifcfg-eth0, edit the file (hwaddr this item is not edited, is the MAC address of the previous cloned CentOS system)
5. Restart the configuration file to make it effective /etc/init.d/network restart
6. Re-edit the configuration file Vi/etc/sysconfig/network-scripts/ifcfg-eth0
7, Restart the configuration file to make it effective /etc/init.d/network restart
/span>
/span>
8, configuring fixed IP success
9. Conclusion
The network card MAC address of the new system that was generated after cloning the CentOS system in VMware is still the MAC address of the network card of the cloned system, and the MAC address of the network card of the new system needs to be specified correctly.
Linux "VMware cloned CentOS cannot be configured with fixed IP"