VMware Cloud Community
Ezequiell
Contributor
Contributor

VM not getting an IP on boot

I have an issue where I'm trying to PXE boot VMs.

My VMs won't grab an IP on boot from the DHCP server.

I figured it was an issue with the DHCP server not reaching into the VM Network as I do static IPs for all of my VMs, however, while performing an installation of Centos 7, if I activate the network card with DHCP (the default option) my Centos installer grabs an IP from the DHCP server right away.

I'm confused as to why it's working from the installer, yet, the boot process does not get an IP when trying to boot from the network.

is there any special configuration I need to perform on the DHCP server for the network boot process to grab an IP there or it should be just like grabbing an IP later in the process when configuring the network card?

Any help is appreciated.

Esxi: 6.5

adapter VMXNET 3

Network: Standard VM Network

0 Kudos
1 Reply
a_p_
Leadership
Leadership

IMO it's not a DHCP issue. "No boot filename received" means that the VM received a DHCP lease, but cannot reach the PXE server, or does not get a pxe file to boot from.

The message for a missing DHCP lease would be s.t.h like "No DHCP or proxy DHCP offers were received".

André

0 Kudos