This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

===== 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 [[pxechaining#using_the_windows_dhcp_server|here]] first. ==== Overview ==== gPXE clients have two main methods for performing actions after they acquire an IP address from a DHCP server. You can use [[scripting|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 [[commandline#runtime_configuration|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. ==== Setting up a DHCP Reservation ==== Before you can configure individual clients' behavior, you need to create a DHCP reservation. Options configured under this reservation are what allow you to individualize their PXE boot behavior. * First, open the DHCP console, and connect it to your DHCP Server. You can do this by right clicking **DHCP** at the top of the console, then click **Add Server.** Type in the server name in the **This server:** edit box, or select it from the list of authorized DHCP Servers on the bottom. * Once you've done that, expand the server's name, then, if necessary, expand the protocol you're using (here we use IPv4) and expand the scope that corresponds to your network. Finally, right click **Reservations** in that scope, and click **New Reservation.** {{:create-reservation.png}} * In the **New Reservation** dialog box, give the client a friendly name, assign an IP address, then enter the MAC address of the NIC you'll be using for your PXE boot. When you're done, click **Add** down at the bottom of the dialog. If you have more than one client to add, you can do so in the same fashion, otherwise, click **Close.** {{:set-reservation-info.png}} * Now, you can expand **Reservations** on the left side. Right click your client and click **Configure Options**. {{:configure-options.png}} * These options are what we'll modify to make use of gPXE's various network boot capabilities. {{:reservation-options.png}}


Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code msdhcp (generated for current page)