I want to give our Windows guy a way of easily PXE booting machines for deployment by plugging his laptop into one of our site networks. I've set up a TFTPD32 configuration which does just that, and our normal DHCP server ignores the PXE DHCP requests due to them having some magic flag, so this part works as desired. However I'm not sure how to configure TFTPD32 to only respond to PXE DHCP requests (the ones with the magic flag) and ignore all normal DHCP requests (so that the production machines don't get a non-routed address from the PXE server).
How do I configure TFTPD32 to ignore these non-PXE DHCP requests? I know this is possible with ISC DHCPD (by allowing only requests from PXEClient
vendor ids), but a nice windows GUI would be preferred.
Or if TFTPD32 can't do this, is there another equally easy to use piece of software that he can run on his Windows laptop? Since the TFTPD part is working fine, a DHCP server with the ability to serve PXE only would do.
Worst case I'll have to set up a virtual machine with ISC DHCPD, but I'd much prefer a small, simple solution.
I'm not interested in solutions that involve using the existing DHCP servers or separating machines on the network for deployment, the whole point is to be simple and stand-alone.
With the DHCP TAB of tftp32 you have to:
Enjoy ;)
I don't think you can do this.
The only viable workaround I see is disable the DHCP server altogether in TFTPD32 and just use it as the TFTP server. (I would do that anyway. 2 DHCP servers in the LAN is asking for problems.)
But that would mean you will have your normal DHCP server specify the ip address of the TFTPD32 server to those clients instead of ignoring them. (You are already separating them so you know how to do this.)
If the laptop can be in multiple subnets just give it a reservation in each one so you know which ip address to offer in each of those subnets.
Just to close this, the simple answer here is that TFTP32D can't do this, or at least couldn't at the time. I ended up giving them a preconfigured VM image with ISC DHCPD and no access to the VM so they could only start/stop the thing.
I think that different DHCP servers can work on the same physical network under certain configurations. There are two ways to do that
If you have a computer with ONLY one network-port, You'll have to:
If you can have TWO Network-Ports on the same computer, You'll have to:
It's not a "magic" flag, but a defined one, the DHCP discover includes options 60, 66 and 67 http://blogs.technet.com/b/dominikheinz/archive/2011/03/18/dhcp-amp-pxe-basics.aspx http://www.intel.com/support/network/sb/CS-028533.htm
You could have the ISC DHCP server running in a VM on the technicians laptop.
You could also use the Microsoft DHCP server to service PXE clients, and then if you wanted to restrict access use the pxelinux menu system with a password.
If you used Windows Server on the laptop, you could run WDS and wdslinux on the laptop.