Configuring DHCP option 60 for PXE clients

I’m currently working to implement a standard operating environment (SOE) for a client’s server infrastructure, using their preferred deployment platform – the HP ProLiant Essentials Rapid Deployment Pack (RDP), which is based on software provided by Altiris and is effectively a wrapper around the standard unattended build process, but uses the Altiris server instead of Microsoft’s Remote Installation Services (RIS).

According to HP’s implementing RDP and PXE in an enterprise network environment technology brief, when DHCP and Altiris Express are installed on the same server, DHCP will automatically be configured with option 60, which tells the client to make a boot information negotiation layer (BINL) request to the same server to retrieve boot information; however we were placed in a situation where DHCP option 60 needed to be configured manually.

I found the instructions for configuring advanced DHCP options on the website for a competitive product, Rembo Auto-Deploy. For NT DHCP servers, the new client class string option with an identifier of 60 can be added through the normal DHCP server user interface and then configured as a scope option with a value of PXEClient; however for Windows 2000 servers, the option is not present in the graphical user interface and consequently it is necessary to use the netsh command to enter the following commands:

dhcp server \\servername
add optiondef 60 PXEClient STRING 0 comment="Option added for PXE support"
set optionvalue 60 STRING PXEClient
show optionvalue all
exit

(dhcp server \\servername can be replaced with dhcp server serveripaddress).

Comments

60 responses to “Configuring DHCP option 60 for PXE clients”

  1. […] it may be necessary to configure custom options – e.g. 060 for a pre-boot execution environment (PXE) client or 252 for web proxy auto-discovery […]

  2. Mark avatar

    Two more DHCP options which might come in useful are 66 (Boot Server Host Name) and 67 (Bootfile Name). In a RIS environment, 67 would be set to OSChooser\i386\startrom.com. Tim Farrell has posted more details on enabling RIS on a remote subnet although it should also be noted that Microsoft knowledge base article 259670 states that this method of identifying servers is unsupported.

    I’m currently working on a solution where I have centralised DHCP services and about 160 remote servers upon which I would like to install RIS. Because I want to force clients to use their local server (and DHCP Discover packets could theoretically be picked up by any RIS server), I will probably use option 66.

  3. […] Configuration files are provided to the phone by TFTP. I used Philippe Jounin’s excellent TFTP32 and set my DHCP server to provide a TFTP server address to client devices (DHCP option 66). […]

  4. Dave avatar
    Dave

    Great stuff thanks… this Bug is relly crappy… I wonder if W2k8x64 R2 is supported at all… couldnt find a clear statement. could you?

  5. Mark Wilson avatar

    It’s not really a bug – just something that’s not exposed via the GUI. Haven’t tried it with Windows Server 2008 R2 though.

  6. […] DHCP and WDS roles necessary for PXE run on the the same server. After some digging I came across Mark Wilson’s blog post that breaks this down very easily: netsh dhcp server add optiondef 60 PXEClient STRING 0 […]

  7. […] markwilson.it » Configuring DHCP option 60 for PXE clients I’m currently working to implement a standard operating environment (SOE) for a client’s server infrastructure, using their preferred deployment platform – the HP ProLiant Essentials Rapid Deployment Pack (RDP), which is based on software provided by Altiris and is effectively a wrapper around the standard unattended build process, but uses the Altiris server instead of Microsoft’s Remote Installation Services (RIS). According to HP’s implementing RDP and PXE in an enterprise network environment technology brief, when DHCP and Altiris Express are installed on the same server, DHCP will automatically be configured with option 60, which tells the client to make a boot information negotiation layer (BINL) request to the same server to retrieve boot information; however we were placed in a situation where DHCP option 60 needed to be configured manually. dhcp server \servername add optiondef 60 PXEClient STRING 0 comment="Option added for PXE support" […]

  8. Vincent avatar
    Vincent

    Great stuff ……………thanks

  9.  avatar
    Anonymous

    I struggled with this “missing option 60 for PXEClient” for two days on W2008R2. It turns out that after configuring WDS for option 60, I had to restart the system before it appeared in the DHCP scope. -_-

  10.  avatar
    Anonymous

    Thank you Anonymous…that was the solution for 2008R2

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.