<div dir="ltr"><div dir="ltr"><div><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt">Hi!<br><br>With recent Kea version 2.6.2 I am getting:<br>Error encountered: unable to override definition of option '121' in standard option space 'dhcp4'.<br><br>Because my kea-dhcp4.conf relies on:<br><br>"option-def": [<br> {<br> "space": "dhcp4",<br> "name": "rfc3442-classless-static-routes",<br> "code": 121,<br> "array": true,<br> "type": "record",<br> "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8"<br> },<br> {<br> "space": "dhcp4",<br> "name": "ms-classless-static-routes",<br> "code": 249,<br> "array": true,<br> "type": "record",<br> "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8"<br> }<br>]<br><br>with some research I found issue #3074<br><a href="https://gitlab.isc.org/isc-projects/kea/-/issues/3074" target="_blank">https://gitlab.isc.org/isc-projects/kea/-/issues/3074</a></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br>and a one year old merge request #2135<br><a href="https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2135" target="_blank">https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2135</a><br><br>The issue states:<br><br>> While routes can be hand-mangled into the correct order and then expressed as a string of hex bytes, this is onerous for DHCP administrations and error-prone.<br><br>While I appreciate the option_classless_static_route.cc offers a new less error-prone way of publishing static routes, I would still expect that I can keep using the legacy old way of defining static classless routes in my config. Especially since I want to use the same config on my failover kea server that is still on Kea version 2.4.1 (stable) and can't be easily upgraded. So the Kea version 2.6.2 apparently can't use the old way, and the Kea version 2.4.1 (stable) can't use the new way of defining routes.</p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt">I found this <a href="https://kb.isc.org/docs/kea-configuration-sections-explained" target="_blank">https://kb.isc.org/docs/kea-configuration-sections-explained</a> documentation, but I am not sure how to use it. It seems more about defining client classes than what I need.</p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt">Is there a way to get around the error "unable to override definition of option '121' in standard option space 'dhcp4' "?</p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt">Best regards</p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt">Mark</p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><br></div></div>
</div>