Redhat 6 eth0 Network Missing

Mindwatering Incorporated

Author: Tripp W Black

Created: 04/11/2013 at 11:32 AM

 

Category:
Linux
Installation

Issue:
Installed Redhat 6.2 (kernel 2.6.x) on to VMware ESXi 5.0.x
VM settings are set to Redhat 6, and network card is set to vmxnet3.

However, only the lo (loopback) ethernet port loads with ifconfig.
(Note: Same issue for CentOS 6.4.)


Troubleshooting:
If you enter:
# ifconfig eth0
You do see the port.
(If you don't see the port, then open the Ubuntu eth0 not found support document.)

You see the vmxnet3 driver in the list if you run lsmod:
# lsmod

Most likely, this was a VM migrated over. If it was "quick migrated" with VEEEM, it was migrated/copy, or cloned, it will have a new MAC address, and setup the network, it shows the right driver/description, and the MAC address matches.
# system-config-network-tui

Re-installing VMware tools and clobbering did not seem to help.

Finally noticed that the xxx file had ONBOOT set to no. To check this:
# cd/etc/sysconfig/network-scripts/
# vi ifcfg-eth0

Changed the line:
ONBOOT=no
to
ONBOOT=yes
and saved.

# reboot
... and now the port is there and ping works.



previous page

×