This is a nerdy enough qeury in reality.
We have a single area - area 0.0.0.32. All intra-area routes. We have 2 switches in the core of the network, and 10 switches at the edge. All of these switches are connected via layer 3 OSPF routed links.
The cost for all links is 20 - which is based on bandwidth between the boxes - which is 2Gbps.
Have a look at the enclosed jpeg to get an idea.
Query revolves around the path selection available to OSPF.
The path from Core 2 to the 10.32.51.0 network is easy - straight across the link between the core switches for a cost of 20.
Question :- if the link between the cores fail, which path will be chosen by OSPF and why?
It can go through ANY of the other edge switches for a total cost of 40, but it will choose a particular one. What criteria does OSPF use to select this path?
Remember, the path costs are equal, they are all intra-area.
I tried messing with Router ID, but this doesn't seem to be it.
I tried highest interface IP addresses, but it doesn't seem to be this.
It is not a random act, the algorithm chooses the same one every time.
There must be some parameter in the LSDB that is the defining one when it comes to path selection.
Can you help me out please. I need someone who understands the OSPF algorithm better than I do (which might not be hard!).
Appreciate any comments for debate.