cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
641
Views
0
Helpful
4
Replies

OSPF - Default Route?

kbullard00
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

a.ascione
Level 1
Level 1

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

View solution in original post

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

View solution in original post

4 Replies 4

a.ascione
Level 1
Level 1

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

good info - thanks a bunch

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

Not in my CCNA book. thanks for the good info

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card