Wednesday, 14 January 2009

RHEL 3 network card DHCP not working on VMWare ESX 3.5

If you run Redhat Enterprise Linux 3 (RHEL 3) in a Virtual Machine, using VMWare ESX 3.5, network interfaces will work if you assign a static IP address to each of them, but if you use DHCP, it will not work, showing up a message like:

no link present. Check Cable?

Solution:
======
This is a known issue for VMWare, published on Knowledgebase Article 977:

Edit (for eth0):
/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
check_link_down() {
return 1;
}
BOOTPROTO=dhcp

Then execute: $ifup eth0

Repeat the process for every NIC you need to use DHCP

No comments:

Post a Comment