After CentOS 6.3 mini is installed, no Nic or Nic becomes em1. Problem Solving
We recently deployed the openstack environment with dual NICs. After installing cenos6.6, we found that the NIC name is em1 and em2.
Not familiar with eth0 and eth1. Because openstack is difficult to configure, you want to modify the NIC name.
View some information on the Internet:
After CentOS 6.3 mini is installed, no Nic or Nic becomes em1.
However, no 70-persistent-net.rules is found in/etc/udev/rules. d /.
Unable to follow the above steps
So I first back up the network card configuration file ifcfg-em1 ifcfg-em2
Change file name to ifcfg-eth0 ifcfg-eth1
Modify DEVICE = eth0 or eth1 to set onboot = yes in the corresponding file.
Then restart your computer. After logging on to the system, you will find that the system still does not work,
Don't worry. restart again.
Then you can find the file you want to see in the/etc/udev/rules. d/directory.
The NIC name has also been changed, and you can also access the internet.