<div dir="ltr">Thanks, Francis. If I want to get rid of hardcoding 'next-server' from kea.conf and move it to the hooks library by setting the field dynamically, what it the right way?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 25, 2018 at 4:00 PM, Francis Dupont <span dir="ltr"><<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Gokulakrishnan Gopalakrishnan writes:<br>
> I'm trying to assign IPs to my servers using Kea 1.3.0. Some of my servers<br>
> are UEFI configured ones and those are failing in getting IP.<br>
> When I dig deep, I found out that setting "next-server": "192.168.1.1"<br>
> manually in kea.conf works fine. I was setting next-server via hooks code<br>
> (pasted below).<br>
<br>
</span>=> next-server is a BOOTP/DHCP field, not an option. Note some of these<br>
fields have a corresponding option used for instance when the field<br>
is too small (can't happen with an IPv4 address :-).<br>
<span class=""><br>
> // Add next server option to packet.<br>
> opt = response->getOption(DHO_HOME_<wbr>AGENT_ADDRS);<br>
<br>
</span>=> This option gives a list (vs one) of addresses of the Mobile IP<br>
home agent. So it is something different (but if it makes the client<br>
happy...).<br>
<br>
Regards<br>
<br>
Francis Dupont <<a href="mailto:fdupont@isc.org">fdupont@isc.org</a>><br>
</blockquote></div><br></div>