Forwarding PXE to from Linux DHCP to Windows WDS server

Had an issue recently where the Windows team needed to remotely re-image a server with WDS, but they didn't have DHCP/PXE servers in that data center. We did have a Linux server running dhcpd for our Linux builds though. We wanted to figure out a way to get the remote server PXE-booted from the Linux DHCP server and then do the rest of the image install through the WDS server in another data center.

After some searching, experimentation, and several semi-blind shots in the dark, we got it to work with these values specified in the custom host entry in dhcpd.conf:


 host HOSTNAME

 {

 hardware ethernet MAC_ADDRESS;

 fixed-address STATIC_IP;


 # Boot from Windows WDS server

 server-name "WDS_SERVER_NAME";

 next-server WDS_SERVER_IP;

 option tftp-server-name "WDS_SERVER_IP";

 option bootfile-name "boot\x86\wdsnbp.com00";

 }