@rahirahisystems in general in IP routing the route chosen is the most specific. i.e. If you have a route to 10.1.2.0/24 via IP address 1 and a route to 10.1.0.0/16 via IP address 2, traffic to 10.1.2.1-254 will attempt to get there by going to IP address 1.
A default route of 0.0.0.0/0 is the least specific route so is only chosen if there is no other route to that IP address.
If my answer solves your problem please click Accept as Solution so others can benefit from it.