After CENTOS6 was used, I found that my network card name had changed and I was very unaccustomed to learning bsd. I did not feel any benefits. I found it on http://fedoraproject.org/wiki/features/consistentnetworkdevicenaming. The problem is solved as follows...
After CENTOS6 was used, I found that my network card name had changed and I learned how to use bsd. I was so unaccustomed to it and didn't feel any benefits. I went to the dog to search for it,
Description of onlookers of interest in http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming.
The solution is as follows: www.2cto.com
1. add the biosdevname = 0 startup parameter in grub, as shown in figure
Kernel/vmlinuz-2.6.32-131.21.1.el6.i686 ro root =/dev/mapper/vg_test-lv_root rd_LVM_LV = vg_test/lv_root rd_LVM_LV = vg_test/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG = en_US.UTF-8 SYSFONT = latar
Cyrheb-sun16 KEYBOARDTYPE = pc KEYTABLE = us crashkernel = auto rhgb quiet biosdevname = 0
2. delete the udev configuration file rm-f/etc/udev/rules. d/70-persistent-net.rules.
3. rename the Nic configuration file
Mv ifcfg-em1 ifcfg-eth0
4. modify the content of the NIC configuration file and change all em1 files to eth0.
Perl-p-I-e's/em1/eth0/g' ifcfg-eth0
5. restart the system.
From subaozi