<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Okay that was pretty simple.<div><br></div><div><div>"hooks-libraries": [</div><div>        {</div><div>            "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_flex_option.so",</div><div>            "parameters": {</div><div>                "options": [</div><div>                    {</div><div>                        "code": 1,</div><div>                        "supersede": "255.255.255.255",</div><div>                        "csv-format": false</div><div>                    }</div><div>                ]</div><div>            }</div><div><br></div><div>        },</div><div>    ],</div><div><br></div><div>Is working in my case. Thanks for the quick support.</div><div>
</div>
<div><br><blockquote type="cite"><div>On 16. Nov 2022, at 17:22, Francis Dupont <fdupont@isc.org> wrote:</div><br class="Apple-interchange-newline"><div><div>Ritterhoff, Florian writes:<br><br><blockquote type="cite">Setting the code 1 to 255.255.255.255 using the option data does not<br>seem to work?<br></blockquote><br>=> yes, as explained in the ARM the netmask is one of the options<br>directly managed by Kea so it can't be configured.<br><br>quoting it from the sources:<br><blockquote type="cite">:ref:`dhcp4-std-options-list` comprises the list of the<br>standard DHCPv4 options whose values can be configured using the<br>configuration structures described in this section. This table excludes<br>the options which require special processing and thus cannot be<br>configured with fixed values.<br></blockquote><br><blockquote type="cite">Is there maybe any advice what options should be changed or modified?<br></blockquote><br>=> if it can't be configured it still can be overwritten using the<br>flex_option hook (I wonder if it is not the most changed option in<br>DHCPv4? :-) so the response will have the value you want instead<br>the value deduced from the config.<br><br>Thanks<br><br>Francis Dupont <fdupont@isc.org><br><br>PS: please share the flex_option config so the next person who will have<br>a similar problem can save time (the question is not whether but when :-).<br><br></div></div></blockquote></div><br></div></body></html>