- Inicio
- 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, modificado hace 10 años.
Youngling
Mensajes: 3
Fecha de incorporación: 26/8/14
Mensajes recientes
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