VMware Cloud Community
shunewae
Contributor
Contributor

"Did not get an IP Address from DHCP server" when pxe installing ESXi5 on HP BL460c G7

When i'm installing ESXi5 on HP BL460c G7, alert a window and displays the following message:

Error (see log for more info):

Error connecting to the network

Did not get an IP Address from DHCP server

At this point, login the interactive view, use command "localcli network ip interface ipv4 set --interface vmk0 --ipv4 *** --netmask *** --type static" to set a staitc ip to the host, and can connect to server now. So the NIC is supported.

The phenomena is the same as http://communities.vmware.com/thread/300818, but the solution that add the vlanid option into the pxe configuration is not effect for me.

Then, i add the IP options follow the ks in pxe configuration, it worked well. The pxe configuration as follow:

default linux
label linux
menu label ESXi-5.0.0-469512-standard ^Installer
kernel esxi5_64/mboot.c32
append -c esxi5_64/boot.cfg pxebooting ks=nfs://192.168.4.11/nfs/zonemgr/my-conf/78e3b5161880-ks.cfg-esxi5_64 ip=192.168.4.111 netmask=255.255.0.0 nameserver=192.168.4.11 ksdevice=78:e3:b5:16:18:80

But in really runtime, i cannot add the IP options, so how can i slove this problem? Thank you.

Tags (1)
0 Kudos
4 Replies
vmroyale
Immortal
Immortal

Hello and welcome to the forums.

Note: This discussion was moved from the VMware ESXi™ 4 community to the VMware ESXi 5 community.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
slaclair
VMware Employee
VMware Employee

shunewae wrote:

When i'm installing ESXi5 on HP BL460c G7, alert a window and displays the following message:

Error (see log for more info):

Error connecting to the network

Did not get an IP Address from DHCP server

At this point, login the interactive view, use command "localcli network ip interface ipv4 set --interface vmk0 --ipv4 *** --netmask *** --type static" to set a staitc ip to the host, and can connect to server now. So the NIC is supported.

 

The phenomena is the same as http://communities.vmware.com/thread/300818, but the solution that add the vlanid option into the pxe configuration is not effect for me.

Then, i add the IP options follow the ks in pxe configuration, it worked well. The pxe configuration as follow:

default linux
label linux
menu label ESXi-5.0.0-469512-standard ^Installer
kernel esxi5_64/mboot.c32
append -c esxi5_64/boot.cfg pxebooting ks=nfs://192.168.4.11/nfs/zonemgr/my-conf/78e3b5161880-ks.cfg-esxi5_64 ip=192.168.4.111 netmask=255.255.0.0 nameserver=192.168.4.11 ksdevice=78:e3:b5:16:18:80

But in really runtime, i cannot add the IP options, so how can i slove this problem? Thank you.

I have seen something similar in the past, in your append line instead of ksdevice could you try netdevice=vmnic0

VCAP5-DCD/DCA/CIA, VCA4-DT
0 Kudos
shunewae
Contributor
Contributor

If you set the route in DHCP server but the route is unreachable,  will cause this problem.

0 Kudos
shunewae
Contributor
Contributor

THe error route setting of DHCP will cause this problem.

0 Kudos