<div dir="ltr">Hi,<div><br></div><div style>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 style><br></div><div style>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 style>
<br></div><div style>I installed the package, and when I try to run the dhcp server to listen on the infiniband port (ib0) as follows:</div><div style># dhcpd ib0 -d</div><div style><br></div><div style>I get the following error:</div>
<div style><br></div><div style><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 style>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 style><br></div><div style>Thanks,</div><div style><br></div><div style>Malek</div></div></div></div>