Maybe I’m missing something here, but when you set add-default-route on a DHCP client to yes, a default route will be added to the routing table with the gateway set to the IP served to the client via DHCP.
Yes but I don’t want to add a default route, I want to add a specific route.
It would be really nice if instead of an add default route checkbox, they had a “+” that came up with the same options as adding a static route. This would solve many problems.
actually, single ‘routing-table’ option for DHCP default route would be enough: you always can create separate routing table with default route, and then use routing rules to send only specific traffic to that routing table…