CentOS on VirtualBox does not show eth0

Nov 1st, 2013

For some reason when I started my CentOS VirtualBox, I was unable to connect to eth0. When I tried

ifup eth0
I get “Device eth0 does not seem to be present, delaying initialization”

The fix for this issue is to do the following:

  1. Remove the kernel’s networking interface rules file so that it can be regenerated
    # rm -f /etc/udev/rules.d/70-persistent-net.rules
  2. Restart the VM
    # reboot
  3. UPDATE your interface configuration file
    # vim /etc/sysconfig/networking/devices/ifcfg-eth0
    Remove the MACADDR entry or update it to the new MACADDR for the interface (listed in this file: /etc/udev/rules.d/70-persistent-net.rules).
  4. Remove the UUID entry
  5. Save and exit the file
  6. Restart the networking service
    # service network restart
No comments yet.

Time limit is exhausted. Please reload the CAPTCHA.