1: Because you are cloning virtual machine or directly to use someone else's CentOS operating system directly open to their local virtual machine, network card may be eth1 instead of eth0, below simply write how to change eth1 to Eth0, the steps are as follows;
2: If you are cloned, then the MAC address shown below will be different, if it is directly open the CentOS operating system of others, MAC address is the same. In fact, this network card with eth1 or eth0 influence is not very big, look at the degree of personal perfectionism:
Then, if you are a cloned virtual machine, use the following command Vim/etc/sysconfig/network-scripts/ifcfg-eth0 to open the configuration shown below, and then, the above copied MAC address into the following own network configuration;
3: Then, modify the file as shown below:
Because the name is too long, use the Find command to find the file you want to modify:
" *net.rules "/etc/udev/rules.d/-persistent-net.rules
Then edit the operation, Vim/etc/udev/rules.d/70-persistent-net.rules:
Then, the bottom of the eth1 that Mac to the top of the Eth0 Mac on it;
4: It is better to restart it after modification, so that the eth1 modified to eth0.
Cond......
As a perfectionist (obsessive-compulsive disorder) How to change the Linux eth1 NIC to eth0 NIC