====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
msdhcp [2010/03/15 16:34] sha0 gPXE Encapsulated Options Description |
msdhcp [2010/03/15 16:41] (current) sha0 Correct image file locations |
||
---|---|---|---|
Line 42: | Line 42: | ||
Firstly, you need to create the encapsulated options. Right-click on the server, then choose "Set Predefined Options..." | Firstly, you need to create the encapsulated options. Right-click on the server, then choose "Set Predefined Options..." | ||
- | {{:win_dhcp_encap1.jpg}} | + | {{msdhcp:win_dhcp_encap1.jpg}} |
Click the "Add..." button. | Click the "Add..." button. | ||
- | {{:win_dhcp_encap2.jpg}} | + | {{msdhcp:win_dhcp_encap2.jpg}} |
Use the following options then click the "OK" button: | Use the following options then click the "OK" button: | ||
Line 55: | Line 55: | ||
Description: gPXE_Options | Description: gPXE_Options | ||
- | {{:win_dhcp_encap3.jpg}} | + | {{msdhcp:win_dhcp_encap3.jpg}} |
Click the "Edit Array..." button: | Click the "Edit Array..." button: | ||
- | {{:win_dhcp_encap4.jpg}} | + | {{msdhcp:win_dhcp_encap4.jpg}} |
This is where you can manually enter some defaults. We'll use iSCSI username and password as an example. We see from gpxe/src/include/gpxe/dhcp.h that the username option is 0xBE and the password option is 0xBF. So add these along with an end-of-option code and click the "OK" button: | This is where you can manually enter some defaults. We'll use iSCSI username and password as an example. We see from gpxe/src/include/gpxe/dhcp.h that the username option is 0xBE and the password option is 0xBF. So add these along with an end-of-option code and click the "OK" button: | ||
Line 65: | Line 65: | ||
0xBE 0xBF 0xFF | 0xBE 0xBF 0xFF | ||
- | {{:win_dhcp_encap5.jpg}} | + | {{msdhcp:win_dhcp_encap5.jpg}} |
Back in the "Predefined Options and Values" window, click the "OK" button: | Back in the "Predefined Options and Values" window, click the "OK" button: | ||
- | {{:win_dhcp_encap6.jpg}} | + | {{msdhcp:win_dhcp_encap6.jpg}} |
Now choose a client who you'd like to configure specific options for in the "Reservations" area. Right-click and choose "Configure Options...": | Now choose a client who you'd like to configure specific options for in the "Reservations" area. Right-click and choose "Configure Options...": | ||
- | {{:win_dhcp_encap7.jpg}} | + | {{msdhcp:win_dhcp_encap7.jpg}} |
Find the gPXE_Options with code 175 that you defined: | Find the gPXE_Options with code 175 that you defined: | ||
- | {{:win_dhcp_encap8.jpg}} | + | {{msdhcp:win_dhcp_encap8.jpg}} |
Now you can manually add in a username and a password, following the respective options numbers: | Now you can manually add in a username and a password, following the respective options numbers: | ||
- | {{:win_dhcp_encap9.jpg}} | + | {{msdhcp:win_dhcp_encap9.jpg}} |
Now you must insert the length for the username, and the length for the password. In our example, "u s e r n a m e" and "p a s s w o r d" are both 8 characters long, so we use the hexadecimal value for 8. The length field goes right after the option field. Once entered, you may click the "OK" button: | Now you must insert the length for the username, and the length for the password. In our example, "u s e r n a m e" and "p a s s w o r d" are both 8 characters long, so we use the hexadecimal value for 8. The length field goes right after the option field. Once entered, you may click the "OK" button: | ||
- | {{:win_dhcp_encap10.jpg}} | + | {{msdhcp:win_dhcp_encap10.jpg}} |