I have a quick question regarding routing (on Cisco routers If I need to be specific). It's related to an issue I'm looking at for a client.
They have an application being hosted on a server (accessible from outside) and the routing appears erratic at times. Suppose the gateway for that network has an IP address of 184.108.40.206/25 assigned on the router .
But, there's a static route configured for the 220.127.116.11/24 network to 18.104.22.168 which is assigned to an interface on another router (which we nor the client have no control over hosted on their network). Both routers have default routes configured by the way. It's discontiguous for reasons I know not and their network design could probably use some work.
But my question is - if I have a packet destined to 22.214.171.124, will it use the static route to 126.96.36.199 on another router or will it route through the local 188.8.131.52/25 interface on the router?
Based on administrative distance, the interface with the 184.108.40.206/25 should take precedence over the static route if I'm not mistaken?