DHCP Client: No Default Route if server offers option 121

Hi!

I have a strange behavior with one of my routerboards:
The RB get the IP address from a dhcp server. The server (Cisco L3 Switch) offers ip, default-gateway, dns, ntp and dhcp-option 121 (a static route). The last one is needed because every client need a route besides the default route to reach a certain network. Everything works fine with the windows and linux clients, but then i want to connect a routerboard to the network:
I configured the dhcp-client, it get an ip adress, add the route from dhcp-option 121, but it will not add the default route! And, yes, i have set the option “Add default route” in the dhcp-client configuration. Unsetting this option will delete the dynamic learned route from option 121 :confused:
The thing is: After removing dhcp-option 121 from the server configuration, the RB creates the default route. Somebody has a clue how to fix this?
I need the default route AND the route set via option 121.

default route should be included in option 121. In case it is not possible (for compability with other vendors) we also added new feature in v6
/ip dhcp-client add add-default-route=special-classless

this option will install default rotue even if it is not present in option 121.

ahh, that’s it. Version 6 solved the problem.
Unfortunately cisco do not allow a default route in option 121.

Thanks!