Hyper-V virtual machine unable to get IP address from DHCP server running on same physical box

dhcpdhcp-serverhyper-vhyper-v-server-2008-r2windows-server-2008

We have a Windows server 2008 R2 with two network cards running AD, DHCP, DNS and Hyper-V

The first nic is setup with a static IP address and DHCP, WDS, and DNS are bound to it.

The second nic is configured in Hyper-V to be only used by Hyper-V and has been automatically configured so that only the virtual switch is enabled on the adapter.

DHCP and DNS work fine for all physical machines on the network. It also works for Virtual Machines running on another physical box.

Virtual machines that are bound to the virtual switch network adapter are unable to get a IP address. If the virtual machine is given a static IP address with correct subnet, gateway and dns everything works.

Has anyone else got this working?

Best Answer

I would give the second NIC a static IP too