Fixing Oracle Linux 6.4 udev issues without reboot server

Jephe Wu -

Objective: fix NIC issue, get Linux to set all NICs MAC properly
Problem: udev mass up, some interfaces are not recognized, got error message such as
'during bootup, got error such as 'Device p1p1 does not seem to be present, delaying initialization.'

Environment: RHEL6/OL6/CentOS 6


1. make sure there's no HWADDR in all /etc/sysconfig/network-scripts/ifcfg-eth*

2. rm -f /etc/udev/rules.d/70-persistent-net.rules

3. Use OOB/ILO/iLOM etc to connect to server console in case lost connection

4. remove all NIC modules, such as rmmod igb; rmmod bnx2

5. modprobe igb;modprobe bnx2  ; to generate a new /etc/udev/rules.d/70-persistent-net.rules

6. testing HA(LACP mode 4/bonding mode 1) by using iptraf, OOB console, and ifconfig down eth* without physicall pulling out cables

Alternatively, manually force udev to create the rules file by running the following command:
# udevadm trigger --subsystem-match=net