11-17-2010 10:25 AM - edited 03-04-2019 10:29 AM
How does one identify what the default route is using ospf?
I added it with two different commands and there is no indication what interface or network is the default route.
see attach
thx
Solved! Go to Solution.
11-17-2010 11:03 AM
Hello
so you have added the command ip route 0.0.0.0 0.0.0.0 "next hop ip addd"
IF then it is not showing in the routing table, it means that the next hop is not reachable.
To announce it in ospf, you also need to add default-information originate.
regards
11-17-2010 11:22 AM
Perhaps it would be helpful to begin with differences for default route in OSPF and in things other than OSPF. In OSPF if you want to advertise a default route you use the command default-information originate. The commands that you are talking about (ip route 0.0.0.0 and default-network) may create a default network on the router but it will not be an OSPF route.
HTH
Rick
11-17-2010 11:03 AM
Hello
so you have added the command ip route 0.0.0.0 0.0.0.0 "next hop ip addd"
IF then it is not showing in the routing table, it means that the next hop is not reachable.
To announce it in ospf, you also need to add default-information originate.
regards
11-17-2010 11:22 AM
good info - thanks a bunch
11-17-2010 11:22 AM
Perhaps it would be helpful to begin with differences for default route in OSPF and in things other than OSPF. In OSPF if you want to advertise a default route you use the command default-information originate. The commands that you are talking about (ip route 0.0.0.0 and default-network) may create a default network on the router but it will not be an OSPF route.
HTH
Rick
11-17-2010 11:34 AM
Not in my CCNA book. thanks for the good info
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide