iPXE discussion forum
How to set the DHCPv6 in win2012r2 to boot ipxe.efi - 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 set the DHCPv6 in win2012r2 to boot ipxe.efi (/showthread.php?tid=8091)



How to set the DHCPv6 in win2012r2 to boot ipxe.efi - zerojay100 - 2016-06-03 04:49

As title, I would like to use the IPv6 iPXE.

Environment----
1. 2012R2 , WDS, DHCPv4 + V6
2. Boot to ipxe.efi with DHCPv4 UEFI is successful.(set DHCP option 67 = boot\x64\ipxe.efi)

My question is ----
How can I use the DHCP IPv6 service under 2012r2 to "set the boot file" as same as IPv4?

for example:
[Image: Step_10.png]


RE: How to set the DHCPv6 in win2012r2 to boot ipxe.efi - mcb30 - 2016-06-03 16:54

(2016-06-03 04:49)zerojay100 Wrote:  1. 2012R2 , WDS, DHCPv4 + V6
2. Boot to ipxe.efi with DHCPv4 UEFI is successful.(set DHCP option 67 = boot\x64\ipxe.efi)

My question is ----
How can I use the DHCP IPv6 service under 2012r2 to "set the boot file" as same as IPv4?

DHCPv6 uses a "boot URI" instead of a separate TFTP server IP address and filename. You should be able to just set this to any URI that iPXE understands.

Michael


RE: How to set the DHCPv6 in win2012r2 to boot ipxe.efi - zerojay100 - 2016-06-04 06:59

(2016-06-03 16:54)mcb30 Wrote:  
(2016-06-03 04:49)zerojay100 Wrote:  1. 2012R2 , WDS, DHCPv4 + V6
2. Boot to ipxe.efi with DHCPv4 UEFI is successful.(set DHCP option 67 = boot\x64\ipxe.efi)

My question is ----
How can I use the DHCP IPv6 service under 2012r2 to "set the boot file" as same as IPv4?

DHCPv6 uses a "boot URI" instead of a separate TFTP server IP address and filename. You should be able to just set this to any URI that iPXE understands.

Michael

Thanks a lot, Michael. But could you please specify the steps in 2012r2?


RE: How to set the DHCPv6 in win2012r2 to boot ipxe.efi - mcb30 - 2016-06-04 11:11

(2016-06-04 06:59)zerojay100 Wrote:  Thanks a lot, Michael. But could you please specify the steps in 2012r2?

It looks as though the bootfile URL (option 59) does not exist as a standard predefined option for DHCPv6 in Microsoft's DHCP server.

I tried defining it via Microsoft's DHCP server UI. Unfortunately, the UI appears to be broken: it allows new DHCPv6 options to be added, but these options never show up in any lists.

I can only suggest that you switch to using a less broken operating system for your DHCP server; sorry.

Michael


RE: How to set the DHCPv6 in win2012r2 to boot ipxe.efi - zerojay100 - 2017-01-20 04:56

(2016-06-04 11:11)mcb30 Wrote:  
(2016-06-04 06:59)zerojay100 Wrote:  Thanks a lot, Michael. But could you please specify the steps in 2012r2?

It looks as though the bootfile URL (option 59) does not exist as a standard predefined option for DHCPv6 in Microsoft's DHCP server.

I tried defining it via Microsoft's DHCP server UI. Unfortunately, the UI appears to be broken: it allows new DHCPv6 options to be added, but these options never show up in any lists.

I can only suggest that you switch to using a less broken operating system for your DHCP server; sorry.

Michael

After changed the DHCP service from windows server to linux ISC DHCP, it could boot ipxe with IPv6 (option 59), thanks a lot.Big Grin


RE: How to set the DHCPv6 in win2012r2 to boot ipxe.efi - gn01809864 - 2017-04-26 05:46

(2017-01-20 04:56)zerojay100 Wrote:  
(2016-06-04 11:11)mcb30 Wrote:  
(2016-06-04 06:59)zerojay100 Wrote:  Thanks a lot, Michael. But could you please specify the steps in 2012r2?

It looks as though the bootfile URL (option 59) does not exist as a standard predefined option for DHCPv6 in Microsoft's DHCP server.

I tried defining it via Microsoft's DHCP server UI. Unfortunately, the UI appears to be broken: it allows new DHCPv6 options to be added, but these options never show up in any lists.

I can only suggest that you switch to using a less broken operating system for your DHCP server; sorry.

Michael

After changed the DHCP service from windows server to linux ISC DHCP, it could boot ipxe with IPv6 (option 59), thanks a lot.Big Grin


Hi zerojay100

Could you help to provide the DHCPv6 setting about option 59?

Thanks a lot.