DHCPoption 121 not working

Hello,

When I use additional option, code 33 (Static Route Option http://www.rfc-archive.org/getrfc.php?rfc=2132), in my DHCP server everything work’s fine.

[admin@TT] ip dhcp-server option> pr
 # NAME                                CODE VALUE
 0 route                               33  0x0A0200010A010001

Meaning dst=10.2.0.1 goes through gateway 10.1.0.1


Problem is when I try code 121 (Classless Static Route Option http://www.rfc-archive.org/getrfc.php?rfc=3442). Windows clients do not add it in to its routing table.

[admin@TT] ip dhcp-server option> pr
 # NAME                                CODE VALUE
 0 route                               121  0x100A000A010001

Meaning dst=10.0.0.0/16 goes through gateway 10.1.0.1

Any clue?

Thank you

…Anyone… :confused:

Anyone, how work 121 option in DHCP?

If all your clients are Windows computers you can use DHCP option code 249 instead of 121 (this does work on my router with RouterOS 5.12).

Also a question to MikroTik - why DHCP option 121 isn’t pushed to clients? It is a bug or is this done intentionally?