We have 2 uplinks to a router. OSPF is running. 1st uplink is 3 hops, and 2nd uplink is a direct PtP link (1 hop)
We would like to have the incoming traffic being distrubuted among the links. It is NOT necessary to be %100 equal but just like what we do with ECMP (2 gateways to same destination)
Unfortunately OSPF chooses the SHORTEST path (which is the 2nd uplink) to the router and the other uplink becomes completely idle while the 2nd link has all the traffic.
Whatever I do, I see only a single gateway (which is the one with a single hop) on the upstream router. The other 3 hop route to this specific router dissapears.
So basically,on the upstream router, there becomes only a single gateway to this router although it has to be 2 gateways.
Are these routes getting redistributed in via connected or static ?Are they default or static routes and if so are you type 1 or type 2 importing them ? I had done something similar to this for a client (one vlan) to a wireless p2p and another 2 hop DSL Router) eons ago , and I think all I had to do was adjust the costing to be the same in both OSPF and Native IP Routing.
OSPF chooses the lowest cost path. The simplest way to fix it is to increase the cost of the single link path to be higher than the multiple link path. If you want ECMP, then equalize the cost between the paths.
BGP is a much better tool to do this…I would highly recommend reviewing this presentation from USA MUM 2013