This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:msdhcp [2016/07/06 10:44] mcb30 |
howto:msdhcp [2016/07/06 10:53] mcb30 |
||
---|---|---|---|
Line 37: | Line 37: | ||
In the **Configure settings for the policy** page, scroll down to option **067 Bootfile Name** and set it to ''%%http://my.web.server/real_boot_script.php%%'': | In the **Configure settings for the policy** page, scroll down to option **067 Bootfile Name** and set it to ''%%http://my.web.server/real_boot_script.php%%'': | ||
- | {{ :screenshots:msdhcp_policy_filename.php?513x502 |Setting the policy filename}} | + | {{ :screenshots:msdhcp_policy_filename.png?513x502 |Setting the policy filename}} |
- | On the **Advanced** tab, select **iPXE** from the **User class** drop-down list. Scroll down to option **067 Bootfile Name** and set it to ''%%http://my.web.server/real_boot_script.php%%'': | + | If everything has worked, then you should see a policy which will set the **Boot Filename** to ''%%http://my.web.server/real_boot_script.php%%'' if the **User Class** is equal to ''iPXE'': |
+ | |||
+ | {{ :screenshots:msdhcp_policy.png?513x502 |Completed iPXE policy}} | ||
+ | |||
+ | This will ensure that the iPXE image (''undionly.kpxe'') is handed out only when the DHCP request comes from a legacy PXE client. Once iPXE has been loaded, the DHCP server will direct it to boot from ''%%http://my.web.server/real_boot_script.php%%''. (You should replace ''%%http://my.web.server/real_boot_script.php%%'' with whatever you want iPXE to boot from.) | ||
+ | |||
+ | ===== Older Windows versions ===== | ||
+ | |||
+ | If you are using Windows Server 2008, then you cannot create a policy as described above. Instead, right-click on **Server Options** and choose **Configure Options**. On the **Advanced** tab, select **iPXE** from the **User class** drop-down list. Scroll down to option **067 Bootfile Name** and set it to ''%%http://my.web.server/real_boot_script.php%%'': | ||
{{ :screenshots:msdhcp_set_ipxe_filename.png?404x448 |Setting the boot filename for iPXE clients}} | {{ :screenshots:msdhcp_set_ipxe_filename.png?404x448 |Setting the boot filename for iPXE clients}} | ||
Line 47: | Line 55: | ||
{{ :screenshots:msdhcp_chainloading.png?619x277 |A working chainloading DHCP configuration}} | {{ :screenshots:msdhcp_chainloading.png?619x277 |A working chainloading DHCP configuration}} | ||
- | This will ensure that the iPXE image (''undionly.kpxe'') is handed out only when the DHCP request comes from a legacy PXE client. Once iPXE has been loaded, the DHCP server will direct it to boot from ''%%http://my.web.server/real_boot_script.php%%''. (You should replace ''%%http://my.web.server/real_boot_script.php%%'' with whatever you want iPXE to boot from.) | + | (You should replace ''%%http://my.web.server/real_boot_script.php%%'' with whatever you want iPXE to boot from.) |