<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
font-size:12.0pt;
font-family:Menlo;
color:black;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-CH" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Hi Darren<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks for pointing in the right direction.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">For everyone else digging into PXE Boot with Windows Deployment Server in a Microsoft Configuration Manager and Kea DHCP server environment, this is the solution that seems to work
for both, older and newer (Lenovo) laptops.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="font-family:"Aptos",sans-serif">
</span></span><span class="s1"><span style="font-family:"Aptos",sans-serif">{</span></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="font-family:"Aptos",sans-serif">
</span></span><span class="s1"><span style="font-family:"Aptos",sans-serif">"name": "boot-file-name",</span></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="font-family:"Aptos",sans-serif">
</span></span><span class="s1"><span style="font-family:"Aptos",sans-serif">"csv-format": false,</span></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="font-family:"Aptos",sans-serif">
</span></span><span class="s1"><span style="font-family:"Aptos",sans-serif">"data": "53 4d 53 42 6f 6f 74 5c 78 36 34 5c 77 64 73 6d 67 66 77 2e 65 66 69 00 ff"</span></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="font-family:"Aptos",sans-serif">
</span></span><span class="s1"><span style="font-family:"Aptos",sans-serif">},</span></span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">where the last to bytes 00 ff are the string termination sequence.<o:p></o:p></span></p>
<p class="p1"><span style="font-size:11.0pt;font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">Everything preceeding that is converted to SMSBoot\\x64\\wdsmgfw.efi<o:p></o:p></span></p>
<p class="p1"><span style="font-size:11.0pt;font-family:"Aptos",sans-serif;mso-fareast-language:EN-US">I wonder if there could be a more Administrator friendly way in Kea DHCP to configure this.<o:p></o:p></span></p>
<p class="p1"><span style="font-size:11.0pt;font-family:"Aptos",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Philipp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">dhcp-users <dhcp-users-bounces@lists.isc.org> on behalf of Darren Ankney <darren.ankney@gmail.com><br>
<b>Date: </b>Tuesday, 7 May 2024 at 08:51<br>
<b>To: </b>Users of ISC DHCP <dhcp-users@lists.isc.org><br>
<b>Subject: </b>Re: option 67 boot-file-name FF00 at the end of the data string<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Philipp,<br>
<br>
You would need to specify the entire string in hex instead as noted in<br>
the ARM: <a href="https://kea.readthedocs.io/en/kea-2.4.1/arm/dhcp4-srv.html#standard-dhcpv4-options">
https://kea.readthedocs.io/en/kea-2.4.1/arm/dhcp4-srv.html#standard-dhcpv4-options</a><br>
<br>
---<br>
Kea supports the following formats when specifying hexadecimal data:<br>
<br>
Delimited octets - one or more octets separated by either colons or<br>
spaces (":" or " "). While each octet may contain one or two digits,<br>
we strongly recommend always using two digits. Valid examples are<br>
"ab:cd:ef" and "ab cd ef".<br>
<br>
String of digits - a continuous string of hexadecimal digits with or<br>
without a "0x" prefix. Valid examples are "0xabcdef" and "abcdef".<br>
---<br>
<br>
There is also an example of doing this there:<br>
<br>
---<br>
"Dhcp4": {<br>
"option-data": [<br>
{<br>
"name": "domain-name-servers",<br>
"code": 6,<br>
"space": "dhcp4",<br>
"csv-format": false,<br>
"data": "C0 00 03 01 C0 00 03 02"<br>
},<br>
...<br>
],<br>
...<br>
}<br>
---<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Fri, Apr 26, 2024 at 4:52</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">AM Jan-Philipp Snizek<br>
<jan-philipp.snizek@business.uzh.ch> wrote:<br>
><br>
> Hi<br>
><br>
> In isc-dhcpd I use as option 67 option bootfile-name "SMSBoot\\x64\\wdsmgfw.efi\000";<br>
> This works with any uefi bios, older or new.<br>
><br>
> How do I do the end of string sequence \000 in kea-dhcp4?<br>
><br>
> 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'.<br>
> 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.<br>
><br>
> For reference, here's the relevant part of the kea-dhcp4 config file that works with recent uefi bioses:<br>
><br>
> "client-classes": [<br>
> {<br>
> "name": "pxeclientx64",<br>
> "test": "option[60].text == 'PXEClient:Arch:00007:UNDI:003016'",<br>
> "option-data": [<br>
> { "name": "boot-file-name", "data": "SMSBoot\\x64\\wdsmgfw.efi" },<br>
> { "name": "tftp-server-name", "code": 66, "data": "tftp-server.mydomain.local" }<br>
> ]<br>
> }<br>
> ],<br>
><br>
> Thanks,<br>
><br>
> --<br>
><br>
> Philipp<br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
><br>
> dhcp-users mailing list<br>
> dhcp-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
dhcp-users mailing list<br>
dhcp-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>