DHCP making me insane

Associate
Joined
3 Aug 2003
Posts
2,028
Location
Plymouth, UK
Start thsi post with the caveat that this is my 1st foary in to the world or servers, so please be gentle with me.

In work have been tasked with looking at virtualising a setup for a client.

What I am trying to do is get a VM running and used WDS to have it pull the image for install, but am hitting a wall when it comes to the VM getting an IP address via DHCP.

Have set up the DHCP service on the server and that is running with a scope established.

Have the virtual switch set up on Hyper-V and that is set as an external swich.

Is what I am trying to do achievable?

Have I missed a very vital step in getting it running?

Is there any way that a VM on a virtual switch can get an ip address from a dhcp server that is running on the physical server, outside the VM area? Writing it like that I seem to think not.
 
There is no reason why a VM wouldn't be able to get a DHCP address from any DHCP server, if everything is configured correctly.

First up you should give the VM a static address and make sure you can communicate to the network - As you're testing imaging and unlikely to have an OS a Linux LiveCD should help.

There is too much that could be wrong to start leaping into IP Helpers and such without testing the very basics of your Virtual network config first.
 
There is no reason why a VM wouldn't be able to get a DHCP address from any DHCP server, if everything is configured correctly.

First up you should give the VM a static address and make sure you can communicate to the network - As you're testing imaging and unlikely to have an OS a Linux LiveCD should help.

There is too much that could be wrong to start leaping into IP Helpers and such without testing the very basics of your Virtual network config first.

Did have them talking and working fine earlier when I was running without using WDS and just installing the OS direct from DVD.

Had to start afresh as the eval copy was not playing ball with the activation and was shutting down every hour due to an 'expired license'

you need to set up the PXE 060 option to point to your wds server

060 PXEClient is in the options for the scope.
 
Think I now have it worked out.....

Had not set any IPv6 statics anywhere or configured them in the DHCP.

Have also disabled the external NIC, but not sure if that is a red herring. Am doing one VM now and will try once that is done with another machine and the external NIC enabled.

I do need to change the time that the F12 options stays on screen for...was very quick to disappear just then

EDIT:- Now fighting with there being 'no images available' from WDS, even though they are there, online and am logging in successfully and have networking up and running.....I love lessons like this
 
Last edited:
Use IP Helpers to advertise PXE boot servers, not DHCP options. WDS (MDT) imaging has gotten a bit more complicated in the world of multiple broadcast domains and UEFI.
 
Last edited:
Back
Top Bottom