- Startseite
- Linux Configuration and Troubleshooting
- Changing the Network interface Name from "em" to "eth" in CentOS 6.x
Changing the Network interface Name from "em" to "eth" in CentOS 6.x
CSIR Catalogue, geändert vor 10 Jahren.
Youngling
Beiträge: 3
Beitrittsdatum: 26.08.14
Neueste Beiträge
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
#ls
open the file ifcfg-em1 in editor
Rename interface, by changing the line
Device="em1" similarly(em2,em3,em4)
to
Device="eth0" similarly(eth1,eth2,eth3)
4. Delete /etc/udev/rules.d/70-persistant-net.rules (If Exists)
5. Reboot
# 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
#ls
open the file ifcfg-em1 in editor
Rename interface, by changing the line
Device="em1" similarly(em2,em3,em4)
to
Device="eth0" similarly(eth1,eth2,eth3)
4. Delete /etc/udev/rules.d/70-persistant-net.rules (If Exists)
5. Reboot