<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi guys, new user here and relatively new to the world of DHCP. I've been playing around with kea a bit to see if it will work in a project I'm doing, and I'm noticing some odd behavior. I'm hoping it's due to my inexperience, but I would welcome any feedback.</div>
<div><br>
</div>
<div><br>
</div>
<div>I'm attempting to have option 43 data populated, and I'm doing the following test:</div>
<div><br>
</div>
<div><br>
</div>
<div>$ sudo ./dhtest -m "12:34:56:78:90:12" -o "iDRAC" -i enp0s8 -V -S 192.168.33.44<br>
<br>
DHCP discover sent       - Client MAC : 12:34:56:78:90:12<br>
DHCP offer received      - Offered IP : 192.168.33.101<br>
<br>
DHCP offer details<br>
----------------------------------------------------------<br>
DHCP offered IP from server - 192.168.33.101<br>
Next server IP(Probably TFTP server) - 0.0.0.0<br>
Subnet mask - 255.255.255.0<br>
Router/gateway - 192.168.33.1<br>
DNS server - 192.168.33.1<br>
DNS server - 192.168.33.2<br>
Option no - 15, option length - 11<br>
  OPTION data (HEX)<br>
    76 69 63 65 72 6F 79 2E 63 6F 6D<br>
  OPTION data (ASCII)<br>
    viceroy.com<br>
Lease time - 0 Days 1 Hours 0 Minutes<br>
Option no - 53, option length - 1<br>
  OPTION data (HEX)<br>
    02<br>
  OPTION data (ASCII)<br>
   <br>
DHCP server  - 192.168.33.44<br>
Option no - 58, option length - 4<br>
  OPTION data (HEX)<br>
    00 00 03 84<br>
  OPTION data (ASCII)<br>
    #<br>
Option no - 59, option length - 4<br>
  OPTION data (HEX)<br>
    00 00 07 08<br>
  OPTION data (ASCII)<br>
   <br>
----------------------------------------------------------<br>
<br>
DHCP request sent        - Client MAC : 12:34:56:78:90:12<br>
DHCP ack received        - Acquired IP: 192.168.33.101<br>
<br>
DHCP ack details<br>
----------------------------------------------------------<br>
DHCP offered IP from server - 192.168.33.101<br>
Next server IP(Probably TFTP server) - 0.0.0.0<br>
Subnet mask - 255.255.255.0<br>
Router/gateway - 192.168.33.1<br>
DNS server - 192.168.33.1<br>
DNS server - 192.168.33.2<br>
Option no - 15, option length - 11<br>
  OPTION data (HEX)<br>
    76 69 63 65 72 6F 79 2E 63 6F 6D<br>
  OPTION data (ASCII)<br>
    viceroy.com<br>
Lease time - 0 Days 1 Hours 0 Minutes<br>
Option no - 53, option length - 1<br>
  OPTION data (HEX)<br>
    05<br>
  OPTION data (ASCII)<br>
   <br>
DHCP server  - 192.168.33.44<br>
Option no - 58, option length - 4<br>
  OPTION data (HEX)<br>
    00 00 03 84<br>
  OPTION data (ASCII)<br>
    #<br>
Option no - 59, option length - 4<br>
  OPTION data (HEX)<br>
    00 00 07 08<br>
  OPTION data (ASCII)<br>
   <br>
----------------------------------------------------------<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Based on my (attached) config, I would expect that the code 43 data would be populated, the log (attached) shows that I get the class selection correctly. However, I do not. I'm also slightly confused by what DOES get returned, as according to the config
 definitions, I should see:<br>
<br>
domain-search (code 119)<br>
</div>
<div>boot-file-name (code 67)<br>
</div>
<div>default-ip-ttl (code 23)<br>
</div>
<div><br>
</div>
<div>returned also, and I don't see them populated either. I'm also slightly confused as to why I'm seeing code 53, code 58, and code 59 populated, as I don't see any definition for them and don't see anything in the config that they might map to.
<br>
</div>
<div><br>
</div>
<div>Lastly, in the Kea Administrators Guide, table 8.1 indicates that most data is not returned unless requested, and the wording on that is slightly confusing. Does that mean if the client does not specifically request those codes, they will not be returned?
 Or does it mean that if they're defined, they will be returned to client when it requests a lease? Either way there appears to be a disconnect, because data expected to be returned is not, and data not requested (and indicated as not being returned in the
 table) is in fact being returned.</div>
<div><br>
</div>
<div>As I said before, I'm somewhat new to this, so please bear with me. If there are informational resources anyone can direct me to that might point me in the right direction, please let me know.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div> -Tom G<br>
</div>
</div>
</body>
</html>