<div dir="ltr"><div>Friends,<br></div><div><div><br></div><div>I'm trying to use KEA to push routes ("classless-static-routes"/"code 121") to my CentOS 7 DHCP clients (DHCPv4). This is the setup I have at KEA for that...</div></div><div><br></div><div>`</div><div>cat /usr/local/etc/kea/kea-dhcp4.conf<br></div><div><div><br></div><div>[...]</div><div>"option-def": [{</div><div>        "name": "rfc3442-classless-static-routes",</div><div>        "code": 121,</div><div>        "space": "dhcp4",</div><div>        "type": "record",</div><div>        "record-types": "uint8,uint8,uint8,ipv4-address"</div><div>    }</div><div>],</div><div>"option-data": [{</div><div>        "name": "rfc3442-classless-static-routes",</div><div>        "data": "10,1,4, 10.1.6.4"</div><div>}]</div><div>[...]</div><div>`</div></div><div><br></div><div>This is what I have in my <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">CentOS 7 DHCP client (DHCPv4)</span> `dhclient.conf` file...<br></div><div><br></div><div>`</div><div><span style="font-family:monospace"><span style=""><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
</span><br>option ms-classless-static-routes code 249 = array of unsigned integer 8;
<br>option wpad code 252 = string;
<br>
<br>also request rfc3442-classless-static-routes;
<br>also request ms-classless-static-routes;
<br>also request static-routes;
<br>also request wpad;
<br>also request ntp-servers;</span><br></span>`<span style="font-family:monospace"><br></span></div><div><br></div><div>In other words I am trying to use KEA to do the same thing I would do with the `ip route add <a href="http://10.1.4.0/24">10.1.4.0/24</a> dev enp0s8 via 10.1.6.4` in each of my DHCP clients.<br></div><div><br></div><div>I really do not know what I'm doing wrong... =/</div><div><br></div><div>More informations: <a href="https://unix.stackexchange.com/q/459945/61742">https://unix.stackexchange.com/q/459945/61742</a></div><div><br></div><div>[]'s and thanks! =D</div></div>