Views:

See steps below to restore the eth0 network interface:

  1. Remove the udev rule file using the following command:

    rm -rf /etc/udev/rules.d/70-persistent-net.rules

  2. Remove the following lines from the /etc/sysconfig/network-scripts/ifcfg-eth<X > file:

    HWADDR=
    UUID=

     
    The interface conguration files are named /etc/sysconfig/network-scripts/ifcfg-eth<X>, where <X> is a unique number corresponding to a specific NIC card.
     
  3. In the /lib/udev/rules.d/75-persistent-net-generator.rules file, find the line that contains the following information:

    ATTR{addr_assign_type}=="0"

  4. Add the following information before the line found on Step 3:

    # ignore VMWare virtual interfaces

    ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*",
    GOTO="persistent_net_generator_end"

    # ignore Hyper-V virtual interfaces

    ENV{MATCHADDR}=="00:15:5d:*",
    GOTO="persistent_net_generator_end"

  5. Restart the IMSVA virtual machine to verify if the eth0 interface (and, in turn, network connectivity) has been restored. Test by opening the IMSVA console (or connecting to the IMSVA CLI via SSH).