Tuesday, October 2, 2012

Bring up interface ethx : Error: No suitable device found: no device found for connection 'System ethx'

 

 
 

Network devices failing to start after MAC address change in RHEL 6


  Remove the file /etc/udev/rules.d/70-persistent-net.rules and reload the network device's module.

  For example:
 
   # rm /etc/udev/rules.d/70-persistent-net.rules
   # rmmod e1000
   # modprobe e1000
   # service network restart


 Why and What it's happening:
   In RHEL6, when udev detects a new network device it runs /lib/udev/write_net_rules to generate /etc/udev/rules.d/70-    persistent-net.rules. This file contains rules to map a MAC address to a specific ethX name persistently. If the MAC    address changes, this file will still reflect the old MAC and thus udev is unable to name the new device to the desired     ethX. By  removing this file and loading the module again, udev will see a device that is not listed and will run the script    again, generating appropriate rules.

1 comment:

Sagar said...

Can you also describe similarly for Fedora?

Thanks.