Hi,<br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 9:14 AM, Malek Musleh <span dir="ltr"><<a href="mailto:malek.musleh@gmail.com" target="_blank">malek.musleh@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div dir="ltr">Hi,<div><br></div><div>I am using the latest dhcp package from ISC (dhcp-4.2.5-P1), and I am trying to configure my dhcp server for infiniband clients. The server host machine has infiniband port, as well as several client machines.</div>
<div><br></div><div>Looking through the source code, it seems that there is infiniband support (unlike prior dhcp rpms where patches need to be applied, patches of which in themselves are incomplete).</div><div>
<br></div><div>I installed the package, and when I try to run the dhcp server to listen on the infiniband port (ib0) as follows:</div><div># dhcpd ib0 -d</div><div><br></div><div>I get the following error:</div>
<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">Internet Systems Consortium DHCP Server 4.2.5-P1</div><div style="font-family:arial,sans-serif;font-size:13px">Copyright 2004-2013 Internet Systems Consortium.</div>
<div style="font-family:arial,sans-serif;font-size:13px">All rights reserved.</div><div style="font-family:arial,sans-serif;font-size:13px">For info, please visit <a href="https://www.isc.org/software/dhcp/" target="_blank">https://www.isc.org/software/dhcp/</a></div>
<div style="font-family:arial,sans-serif;font-size:13px">Wrote 0 leases to leases file.</div><div style="font-family:arial,sans-serif;font-size:13px">Unsupported device type 32 for "ib0"</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">If you did not get this software from <a href="http://ftp.isc.org/" target="_blank">ftp.isc.org</a>, please</div><div style="font-family:arial,sans-serif;font-size:13px">
get the latest from <a href="http://ftp.isc.org/" target="_blank">ftp.isc.org</a> and install that before</div><div style="font-family:arial,sans-serif;font-size:13px">requesting help.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">If you did get this software from <a href="http://ftp.isc.org/" target="_blank">ftp.isc.org</a> and have not</div><div style="font-family:arial,sans-serif;font-size:13px">
yet read the README, please read it before requesting help.</div><div style="font-family:arial,sans-serif;font-size:13px">If you intend to request help from the <a href="mailto:dhcp-server@isc.org" target="_blank">dhcp-server@isc.org</a></div>
<div style="font-family:arial,sans-serif;font-size:13px">mailing list, please read the section on the README about</div><div style="font-family:arial,sans-serif;font-size:13px">submitting bug reports and requests for help.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Please do not under any circumstances send requests for</div><div style="font-family:arial,sans-serif;font-size:13px">
help directly to the authors of this software - please</div><div style="font-family:arial,sans-serif;font-size:13px">send them to the appropriate mailing list as described in</div><div style="font-family:arial,sans-serif;font-size:13px">
the README file.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">exiting.</div><div style="font-family:arial,sans-serif;font-size:13px"><br>
</div><div style="font-family:arial,sans-serif;font-size:13px">I thought the error might be on my part due to the configuration file, but grepping through the source code for that error, in file: dhcp-4.2/dhcp-4.2.5-P1/common/bpf.c</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div> case IFT_ETHER:</div><div> hw->hlen = sa->sdl_alen + 1;</div>
<div> hw->hbuf[0] = HTYPE_ETHER;</div><div> memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);</div><div> break;</div><div> case IFT_ISO88023:</div>
<div> case IFT_ISO88024: /* "token ring" */</div><div> case IFT_ISO88025:</div><div> case IFT_ISO88026:</div><div> hw->hlen = sa->sdl_alen + 1;</div>
<div> hw->hbuf[0] = HTYPE_IEEE802;</div><div> memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);</div><div> break;</div><div>#ifdef IFT_FDDI</div>
<div> case IFT_FDDI:</div><div> hw->hlen = sa->sdl_alen + 1;</div><div> hw->hbuf[0] = HTYPE_FDDI;</div><div> memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);</div>
<div> break;</div><div>#endif /* IFT_FDDI */</div><div> default:</div><div> log_fatal("Unsupported device type %d for \"%s\"",</div><div> sa->sdl_type, name);</div>
<div><br></div><div><br></div><div>But nothing for Infiniband, even though HTYPE_INFINIBAND is defined in the includes/ directory. Should I be using a different version of dhcp, or is there some additional patch I need to apply.</div>
<div> </div></div></div></div></blockquote><div> </div><div>I sent out patches for this back on 4/23/11 ("Add support for DHCP over IPoIB per IETF RFC 4390") but they have not yet been incorporated into upstream ISC DHCP release. Those 2 patches were done against 4.2.1-P1 which was the latest at that time.</div>
<div> </div><div>-- Hal</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div dir="ltr"><div>
<div style="font-family:arial,sans-serif;font-size:13px"><div> </div>
<div><br></div><div>Thanks,</div><div><br></div><div>Malek</div></div></div></div>
<br>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br>