- Open the DHCP control panel from administrative tools.
- Expand the server you are wanting to configure. Expand the "Scope" folder. Right click on "Scope Options" and select "Configure Options".
- Put a check mark in "013 Boot File Size" and enter the file size in 512 octet blocks. Example, your boot image file is 12 KB (kilobytes). Convert 12 KB to bytes (12288). This must be exact, don't just multiply 12 by 1000. Divide the file size in bytes by 512 (12288 / 512). Enter the resulting number (24) in the text dialog that is enabled when you put a check in 013.
- Put a check mark in "043 Vendor Specific Info" and enter the following binary value: 01 04 00 00 00 00 ff.
- Open a command window and type the following:
c:\>netsh
netsh>dhcp
netsh dhcp>server \\server_name
netsh dhcp server>add optiondef 60 ClassID String 0
netsh dhcp server>set optionvalue 60 STRING PXEClient - Put a check mark in "066 Boot Server Host Name" and enter the IP address of the server.
- Put a check mark in "067 Bootfile Name" and enter the name of the boot image file. (Thanks to Mark McRitchie for this step.)
- If you use the Linux-based boot disk, you can set the boot disk's defaults (user name, password, share) via DHCP option 233.
- Open a command prompt and type:
netsh dhcp server add optiondef 233 Unattended String 0 comment="Unattended dhcp info" - Go back to "Scope Options", select configure options, put a check mark next to the new entry, and fill in the boot disk options you want to use
E.g., z_user=username z_pass=sekrit z_path=\\myserver\myshare. - Right click on the server name in the DHCP control panel, go to all tasks, and select "restart".
- Go back to scope options and verify that all the information is there. You should see the five entries on the right. They should look like this:
013 Boot File Size Standard 0x18
043 Vendor Specific Info Standard 01 04 00 00 00 00 ff
060 ClassID Standard PXEClient
066 Boot Server Host Name Standard Server IP address
067 Bootfile Name Standard bzImage (boot file name) - If any of the options do not match these, double-click on the option and change the value. More than likely option 060 will be wrong. Change it so it looks like above.
Thursday, December 29, 2011
PXE server Configuration on DHCP Server
Labels:
DHCP,
Networking,
PXE,
Windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment