Changing the NIC name under fedora16 today, due to an error in network startup, I searched online and found that most people's Nic names are eth0, but my name is p3p1, so I want to change it to eth0. then I google it and found that the device name is dynamically managed by udev and it is named persistently Based on the device information, udev identifies the NIC during system boot, and records the mac address and nic name in the udev rule script. The udev rule script is in the/etc/udev/rules. d directory, and the rule file for the persistent naming of the network is 70-persistent-net.rules. However, I found that this rule file does not exist in my system, so I found it online and found that this rule file can be written by myself, only in line with the udev rule file specifications. Next we will modify the network adapter p3p1 to eth0: 1.vim/etc/default/grub in GRUB_CMDLINE_LINUX = "rd. md = 0 rd. lvm = 0 rd. dm = 0 KEYTABLE = us quiet rhgb rd. add biosdevname = 0 to luks = 0 LANG = en_US.UTF-8 to become GRUB_CMDLINE_LINUX = "rd. md = 0 rd. lvm = 0 rd. dm = 0 KEYTABLE = us quiet rhgb rd. luks = 0 LANG = en_US.UTF-8 biosdevname = 0 "2. $ grub2-mkconfig-o/boot/grub2/grub. cfg 3. $ touch/etc/udev/rules. d/70-persistent-net.rules # Write SUBSYSTEM = "net", ACTION = "add ", DRIVERS = "? * ", ATTR {address} =" 44: 37: e6: 19: 46: 5e ", ATTR {dev_id} =" 0x0 ", ATTR {type} = "1", KERNEL = "eth *", NAME = "eth0" 4. $ cd/etc/sysconfig/network-script/5. $ cp ifcfg-p3p1 ifcfg-eth0 # Switch the DEVICE = "p3p1" into DEVICE = "eth0", and then restart the computer.