<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1460469419551_5897" dir="ltr">I noticed that. However, dnsmasq only considers client_id (if present) followed by hwaddr when looking up configs in its hostsfile. I've tried hacking around that in dnsmasq (by trying to match client_uuid if present and no client_id match), but the code is pretty tangled and it's not clear to me that this would be spec compliant anyway.</div><div id="yui_3_16_0_ym19_1_1460469419551_5897" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1460469419551_5897" dir="ltr">Mark</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1460469419551_5913"><br></div><div class="yahoo_quoted" style="display: block;" id="yui_3_16_0_ym19_1_1460469419551_5918"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;" id="yui_3_16_0_ym19_1_1460469419551_5917"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1460469419551_5916"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1460469419551_5915"> <div dir="ltr" id="yui_3_16_0_ym19_1_1460469419551_5914"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1460469419551_6022"> <hr size="1" id="yui_3_16_0_ym19_1_1460469419551_6224"> <b><span style="font-weight:bold;">From:</span></b> Michael Brown <mcb30@ipxe.org><br> <b><span style="font-weight: bold;">To:</span></b> Maule Mark <mark_maule@yahoo.com>; "ipxe-devel@lists.ipxe.org" <ipxe-devel@lists.ipxe.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 12, 2016 8:23 AM<br> <b id="yui_3_16_0_ym19_1_1460469419551_6250"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1460469419551_6249">Subject:</span></b> Re: [ipxe-devel] custom dhcp client_id option<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1460469419551_5947"><br>On 08/04/16 20:05, Maule Mark wrote:<div class="yqt2294753301" id="yqtfd13123"><br clear="none">> I have a project where it would be useful for me to set a custom<br clear="none">> client_id when using dhcp to configure a network interface.<br clear="none">> Specifically, in my case I'd like to pass the SMBIOS uuid as the<br clear="none">> client_id for an infiniband port instead of the port GUID. In my<br clear="none">> application, I can guarantee that only one port will be making dhcp<br clear="none">> requests to the server, and this would allow my node to get the a<br clear="none">> consistent ipaddr/hostname from dnsmasq no matter which port the node<br clear="none">> pxe booted from.<br clear="none">><br clear="none">> I can hack the code for my own purposes, but was wondering if there<br clear="none">> might be interest in having this as a general ipxe setting. I'm willing<br clear="none">> to do the work and push it if this seems reasonable.</div><br clear="none"><br clear="none">The SMBIOS UUID is already exposed in the DHCP request via the client <br clear="none">UUID option.<br clear="none"><br clear="none">Michael<div class="yqt2294753301" id="yqtfd55371"><br clear="none"></div><br><br></div> </div> </div> </blockquote> </div><div><br></div><div><br></div><div>Sent from Yahoo Mail. <a href="https://yho.com/146xkg">Get it now</a></div><div class="yahoo_quoted"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Michael Brown <mcb30@ipxe.org><br> <b><span style="font-weight: bold;">To:</span></b> Maule Mark <mark_maule@yahoo.com>; "ipxe-devel@lists.ipxe.org" <ipxe-devel@lists.ipxe.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 12, 2016 8:23 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [ipxe-devel] custom dhcp client_id option<br> </font> </div> <div class="y_msg_container"><br>On 08/04/16 20:05, Maule Mark wrote:<div class="yqt2294753301" id="yqtfd13123"><br clear="none">> I have a project where it would be useful for me to set a custom<br clear="none">> client_id when using dhcp to configure a network interface.<br clear="none">> Specifically, in my case I'd like to pass the SMBIOS uuid as the<br clear="none">> client_id for an infiniband port instead of the port GUID. In my<br clear="none">> application, I can guarantee that only one port will be making dhcp<br clear="none">> requests to the server, and this would allow my node to get the a<br clear="none">> consistent ipaddr/hostname from dnsmasq no matter which port the node<br clear="none">> pxe booted from.<br clear="none">><br clear="none">> I can hack the code for my own purposes, but was wondering if there<br clear="none">> might be interest in having this as a general ipxe setting. I'm willing<br clear="none">> to do the work and push it if this seems reasonable.</div><br clear="none"><br clear="none">The SMBIOS UUID is already exposed in the DHCP request via the client <br clear="none">UUID option.<br clear="none"><br clear="none">Michael<div class="yqt2294753301" id="yqtfd55371"><br clear="none"></div><br><br></div> </div> </div> </blockquote> </div></div></body></html>