Message Boards Message Boards

Linux Configuration and Troubleshooting

Changing the Network interface Name from "em" to "eth" in CentOS 6.x

Threads [ Previous | Next ]
1. Create the backup of grub.conf
# cp --preserve=context /etc/grub.conf /etc/grub.bak

2. Add biosdevname=0 to Kernel boot argument in /etc/grub.conf

3. Goto to the directory
#cd /etc/sysconfig/netwrok-scripts/
Check for the interfaces
open the file ifcfg-em1 in editor
Rename interface, by changing the line
Device="em1" similarly(em2,em3,em4)
Device="eth0" similarly(eth1,eth2,eth3)

4. Delete /etc/udev/rules.d/70-persistant-net.rules (If Exists)

5. Reboot