option 67 boot-file-name FF00 at the end of the data string

Jan-Philipp Snizek jan-philipp.snizek at business.uzh.ch
Fri Apr 26 08:51:45 UTC 2024


Hi

In isc-dhcpd I use as option 67 option bootfile-name "SMSBoot\\x64\\wdsmgfw.efi\000";
This works with any uefi bios, older or new.

How do I do the end of string sequence \000 in kea-dhcp4? 

There seem to be older uefi BIOSes that upon receiving the option 67 string, they attach FF00 at the end of the string and then try to load the efi file. This ends with the ftfp server returning 'file not found'. 
How do I have to do this end-of-file sequence in Kea-dhcp4? Is that even the correct name for this? I'm not sure, I usually don't play with these lower level things.

For reference, here's the relevant part of the kea-dhcp4 config file that works with recent uefi bioses:

    "client-classes": [
       {
            "name": "pxeclientx64",
            "test": "option[60].text == 'PXEClient:Arch:00007:UNDI:003016'",
            "option-data": [
                { "name": "boot-file-name", "data": "SMSBoot\\x64\\wdsmgfw.efi" },
                { "name": "tftp-server-name", "code": 66, "data": "tftp-server.mydomain.local" }
           ]
       }
    ], 

Thanks,

--

  Philipp


More information about the dhcp-users mailing list