Friday, May 24, 2013

eth0 not showing in CENTOS VM



  1. Check whether the eth0 is available
                /sbin/ifconfig -a

            Please execute the aove script, if your result showing eth0 then please proceed to 2.
    
      2.    dhclient -v eth0
   
       This forces the interface to get an IP via DHCP

Then please check whether you can ping to outside world.


Also please check the below file.

/etc/sysconfig/network-scripts/ifcfg-eth0 and set

 ONBOOT=yes
 BOOTPROTO=dhcp