This is an old revision of the document!

How to configure Microsoft DHCP Server for gPXE

  • This section is about defining DHCP options for your gPXE clients.
  • If you need to set up your Microsoft DHCP Server to chainload gPXE to existing PXE clients, follow the guide here first.


gPXE clients have two main methods for performing actions after they acquire an IP address from a DHCP server. You can use gPXE scripts to tell your clients what to do after acquiring an IP address, or you can configure the appropriate DHCP options on your DHCP server, and your clients will perform the appropriate actions based on the options that are configured.

When configuring your gPXE clients to use a script file as per the PXE chainloading setup guide, typically you would configure a web server to generate gPXE scripts on demand for individual (or unknown) clients using a server-side scripting language such as ASP or PHP. These scripts would be assigned at the Server or Scope levels, and then scripts can report identifiers back to the web server for comparison against a database with conditional logic for further script generation.

This guide focuses on using simple DHCP reservations to allocate resources to gPXE clients. This allows you to utilize gPXE to perform network booting of your clients without requiring advanced scripting logic or a web server, nor will you need to maintain scripts on a web or TFTP server.

QR Code
QR Code msdhcp (generated for current page)