Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use MS DHCP for both UEFI and BIOS
2017-02-18, 00:13
Post: #7
RE: Use MS DHCP for both UEFI and BIOS
(2017-02-17 21:43)sebus Wrote:  How would that be configured?

When the PXE (or whatever it’s called with UEFI) client requests a DHCP lease, it provides various details (“options”) about itself, including the “Client System Architecture Type”, (option 93).

So it is client that sends this info, what does server return that would need to be configured?

Client sends option 93 aka option arch in discover and/or request and that means that the dhcp server can make decisions on what to send in the response. So depending on arch sent by the client the server responds with different filenames

Code:
# Allow both legacy BIOS and EFI architectures
    if option arch = 00:06 {
        filename "ipxe-x86.efi";
    } elsif option arch = 00:07 {
        filename "ipxe-x64.efi";
    } elsif option arch = 00:00 {
        filename "ipxe.pxe";
    }

There is something similar to these conditionals in MS DHCP as well.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Use MS DHCP for both UEFI and BIOS - NiKiZe - 2017-02-18 00:13



User(s) browsing this thread: 1 Guest(s)