OSPF default gateway

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I need to understand the OSPF IProute output for the default route.

I have a network that basically has 4 exits to the internet  ( default routes ) 

If the switch see's these routes with the same metric ,  they all appear in the routing table ?

 If they are seen with different metrics then only the lowest metric is seen in the " show IP route" which is the current default gateway.

Is there a way of showing the " other default routes and their metrics.
Photo of Rod Robertson

Rod Robertson

  • 2,354 Points 2k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Parthiban V

Parthiban V, Employee

  • 618 Points 500 badge 2x thumb
    If the metrics are different only the lowest metric route will be displayed in the routing table. We cannot see the other higher metrics route in routing table.
Photo of Stephen Williams

Stephen Williams, Employee

  • 9,076 Points 5k badge 2x thumb
The OSPF process sends the equal, lowest cost paths to rtmgr so we have the ability to do ECMP if it's enabled. If you dont have ECMP enabled you can see that only one path was provided to FIB.