Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

OSPF question


Enclosed is rather straightforward diagram of square network design.

R-1 - R-2


R-3 - R-4

Note: Please ignore the dots, since blanks/spaces are being removed.

Addressing scheme:

R1/R2: .0/30

R1/R3: .4/30

R2/R4: .8/30

R3/R4: .12/30

OSPF is running on all interfaces with only one line "network ... ...".

Question: If link between R2 and R4 fails, ping from R1 to R4 is going through R2 instead of R3. Also, I have two equal routes on R1 for R2/R4 subnet, no matter what's happening with the R2/R4 link?



Super Bronze

Re: OSPF question

If the link fails between R2 and R4, R1 should stop using it, but only after network convergence. If the link goes "down" at the hardware level, convergence is generally rapid. However, if the link remains "up" but neighbor contact is lost, you'll need to wait for OSPF to detect that. How fast depends on the hello timer settings.

Re: OSPF question

You can speed up the detection of a link loss with BFD.

Super Bronze

Re: OSPF question

NB: If supported.

New Member

Re: OSPF question

Thank you all for replies!

What about the second part of the question and unneeded load sharing (note that it always results with 50% success)?


Re: OSPF question

If the link is actually down, you should only have one route in the routing table. If you don't want it to load share EVER, set max-paths to 1 under the OSPF router config.

If you have a link down, the network is then effectively a line. If you still have two routes you need to look at why. For that a little more info on the details would help - what are the links - LANs? Serial links?

CreatePlease to create content