Fix “Device eth0/eth1 does not seem to be present, delaying initialization” Error

After cloning OEL Servers, when starting the eth0, it is no more available.

Solution:

1) Check Network

ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:18436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  

2) Try to start Eth0 device

# ifup eth0
Device eth0 does not seem to be present, delaying initialization


3) Delete the networking interface rules file so that it can be regenerated and reboot the server

# rm /etc/udev/rules.d/70-persistent-net.rules
# reboot

4) New Persistent file would be created with a new mac address

A new Mac address has been generated:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="50:00:04:8f:c1:9f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


5) Edit /etc/sysconfig/network-scripts/ifcfg-eth0
 Modify the HWADDR  with the "50:00:04:8f:c1:9f" new MAC address
 
6) Restart the networking service

service network restart

All should be good now








If you like please follow and comment