iPXE discussion forum
How to UEFI HTTP chainload using MS DHCP - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: How to UEFI HTTP chainload using MS DHCP (/showthread.php?tid=17131)



How to UEFI HTTP chainload using MS DHCP - tonytu - 2018-12-22 06:55

I’m trying UEFI HTTP chainload with a MS DHCP server and IIS.
I checked online document http://ipxe.org/appnote/uefihttp. It’s for ISC.
I tried to create a vendor class. Use 67 to lunch ipxe.efi and policy to lunch true boot.ipxe script. But nothing happened on the client when boot into DHCP query.
Any help is appreciated.


RE: How to UEFI HTTP chainload using MS DHCP - Torgeir - 2018-12-24 06:22

Have you tried something like this??
https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence
https://2pintsoftware.com/download/using-dhcp-to-control-wds-pxe-boots-for-bios-efi-clients/?wpdmdl=12324


Torgeir


RE: How to UEFI HTTP chainload using MS DHCP - tonytu - 2018-12-24 07:39

Yes. I tried to create a vendor class "HTTPClient:Arch:0007".
and then create a server option 67 to my URI"http://my location/ipxe.efi".
and then create a policy with the vendor class to option67"http://my location/boot.ipxe".
nothing happened.

__
Tony

(2018-12-24 06:22)Torgeir Wrote:  Have you tried something like this??
https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence
https://2pintsoftware.com/download/using-dhcp-to-control-wds-pxe-boots-for-bios-efi-clients/?wpdmdl=12324


Torgeir



RE: How to UEFI HTTP chainload using MS DHCP - Torgeir - 2018-12-25 07:35

I dont think you can do that... Use EMBED to custom script instead:
https://ipxe.org/embed

MS DHCP server with UEFI can be a bit tricky (we did follow the guides and have a working UEFI+legacy pxeboot on MS DHCP server 2012/2016).

Also, if you have a hard time getting MS DHCP to work, try setting up a demo with a very simple linux setup (I find it a lot easier to setup, just to see that the iPXE part is working as it should).


Torgeir


RE: How to UEFI HTTP chainload using MS DHCP - NiKiZe - 2018-12-25 12:59

Since logs on windows isn't really existing, try to use packet dumps (tcpdump or wireshark) to see what the server actually get's and how the response is modified depending on different rulesets.


RE: How to UEFI HTTP chainload using MS DHCP - tonytu - 2018-12-26 08:04

Thanks a lot. I will try again with your comments.