I was setting up a Windows 10 client VM so that I can capture the image using MDT Server.
I have noticed that Windows 10 is not receiving an IP address from the DHCP server even though both the machine resides in the same port group.
I also have a client VLAN - VLAN-150. All my client machines are connected to that VLAN
My ESX host switch doesn’t have the client VLAN configured. First, checked and made sure that the ESX hosts Ethernet ports are tagged in the client VLAN on the Physical Switch.
Created a new port group called Client on the ESXi switch with VLAN 150. Make sure you do this on all the ESXi hosts.
Edit the Guest VM settings and changed the Network to Client