01-30-2007 08:09 PM - edited 03-03-2019 03:34 PM
I setup a simple OSPF configuration but I am not seeing the OSPF route when doing a show ip route. The show ip ospf neighbor command is working correctly. Here is the configuration I setup http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080094057.shtml
01-30-2007 08:46 PM
Hi,
Kindly provide the exact configurations in your routers (show run output) along with the outputs of "show ip ospf neighbor" and "show ip route".
-VJ
01-30-2007 10:16 PM
Do you mean you cannot find the 'loopback interface' routes at the routers ? If it appears, it may be the host route generated by the PPP, please check the description in the link at bottom.
Or please provide the config.
Hope this helps.
01-30-2007 10:39 PM
Hello,
The first thing you have to check is the Topology database on your router.. this is the first step for any ospf troubleshooting.. can you give a "show ip ospf database" and see if the entry is there ? Only if it in the database, the router will compute the path in the routing table !!!! As VJ told, can you also give us more details ?? Are there any prefix list or route-maps filtering any routes ???
Raj
01-31-2007 04:45 AM
Hi,
there seems to be a bit missing in the example config given following your link.
Router1
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Serial0
ip address 1.1.1.2 255.255.255.0
!
router ospf 1
network 1.1.1.0 0.0.0.255 area 0
network 3.3.3.3 0.0.0.0 area 0
Router2
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Serial0
ip address 1.1.1.1 255.255.255.0
clockrate 2000000
!
router ospf 1
network 1.1.1.0 0.0.0.255 area 0
network 2.2.2.2 0.0.0.0 area 0
The two additional network statements will include the loopback networks into OSPF and announce them to the neighboring router.
Just following the original config will not give you ospf routes, because OSPF will only announce 1.1.1.0/24 and this network is already in the routing table with better administrative distance, namely being directly connected.
Alternatively you can also configure
router ospf 1
network 1.1.1.0 0.0.0.255 area 0
redistribute connected subnets
To include the loopback networks in OSPF updates.
Hope this helps! Please use the rating system.
Regards, Martin
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