# Configuring DHCP to support Legacy OSD

> Configure DHCP so OS Deployment with ciBoot works in a legacy BIOS boot scenario.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/os-deployment/how-to-use-osd/configuring-dhcp-to-support-legacy-osd/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

# **Introduction**

The following information is the description of how to configure DHCP to support OS Deployment with ciBoot in a Legacy BIOS boot scenario.

|                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|:---------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Element**                      | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Settings for ciBoot              | If the ciBoot service is running on the machine providing DHCP services, the following options must be set under Scope Options on the DHCP Server.   Option 60 Must specify the value PXEClient (the value is case-sensitive)   Microsoft does not provide option 60 by default in the DHCP setup, see below for instructions to create the value on a Microsoft DHCP server. <br/><br/><details><br/><summary>How to configure Option 60</summary><br/><br/><table class="wrapped confluenceTable"><tbody><tr><td class="confluenceTd"><p><strong>Step</strong></p></td><td class="confluenceTd"><p><strong>Action</strong></p></td></tr><tr><td class="confluenceTd"><p>1</p></td><td class="confluenceTd"><p>Open the DHCP management console</p></td></tr><tr><td class="confluenceTd"><p>2</p></td><td class="confluenceTd"><div class="content-wrapper"><p>Right click the server node and select "Set Predefined Options..." and the follow windows appears.<br class="atl-forced-newline"/> <br class="atl-forced-newline"/><span class="confluence-embedded-file-wrapper">![dhcpoptions60-1.gif](/attachments/capainstaller/20342553806-dhcpoptions60-1.gif)</span></p></div></td></tr><tr><td class="confluenceTd"><p>3</p></td><td class="confluenceTd"><div class="content-wrapper"><p>Click Add... to open the following window<br class="atl-forced-newline"/> <br class="atl-forced-newline"/><span class="confluence-embedded-file-wrapper">![dhcpoptions60-2.gif](/attachments/capainstaller/20342553806-dhcpoptions60-2.gif)</span><br class="atl-forced-newline"/> <br class="atl-forced-newline"/>Specify the name, Data type and Code as shown.</p></div></td></tr><tr><td class="confluenceTd"><p>4</p></td><td class="confluenceTd"><p>Click OK to create the new Option Type.</p></td></tr><tr><td class="confluenceTd"><p>5</p></td><td class="confluenceTd"><div class="content-wrapper"><p>Set the default value of the new Option Type to "PXEClient"<br class="atl-forced-newline"/> <br class="atl-forced-newline"/><span class="confluence-embedded-file-wrapper">![dhcpoptions60-3.gif](/attachments/capainstaller/20342553806-dhcpoptions60-3.gif)</span></p></div></td></tr><tr><td class="confluenceTd"><p>6</p></td><td class="confluenceTd"><p>Click OK to save new Predefined Option</p></td></tr><tr><td class="confluenceTd"><p>7</p></td><td class="confluenceTd"><div class="content-wrapper"><p>Option 60 is now available as both server option and scope option<br class="atl-forced-newline"/> <br class="atl-forced-newline"/><span class="confluence-embedded-file-wrapper">![dhcpoptions60-4.gif](/attachments/capainstaller/20342553806-dhcpoptions60-4.gif)</span></p></div></td></tr></tbody></table><br/><br/></details> |
| Settings TFTPD service           | To boot a client via PXE successfully, the following options must be set under Scope Options on the DHCP Server. **Option 66** Must point to a server having a TFTPD service available **Option 67** Must point to the boot image to load, in most cases this would point to **\cipcc.0**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Additional options used by OSD   | **Options 5** and **6** should also be specified to ensure functional DNS service in WinPE, otherwise the client can experience problems with locating the server. If **option 15** is not defined a dns surfix may be required for the network access credentials to work correctly. **Username=installuser@domain.local** Using the oldschool syntax **domain\installuser** will mostly not work in WinPE unless a running WINS service is available. Use **option 44** to add a WINS server to the DHCP options.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| DHCP/PXE models supported by OSD | Depending on the infrastructure provided and the availability and placement of DHCP servers, there a number scenarios to use when building DHCP/PXE environments. **One DHCP one PXE** The simple model where the DHCP doubles as the PXE server or simply refers to the PXE server by using 66 **Many DHCP one PXE** Point all DHCP server to the IP of the server, OSD will automatically use the server address provided by DHCP **One DHCP many PXE** To use one PXE server from different DHCP servers or scopes, use option 66 to refer client to the server. \*Select PXE server manually from a list\* To manually select from a list of available PXE servers, built a number of copies of boot.wim and add additional menu linies to the cipcc.cfg file, each boot.wim should point to a specific servername in OSDLoader.ini.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
