cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
837
Views
0
Helpful
5
Replies

OSPF route in database but not in routing table

mahesh-gohil
Level 1
Level 1

Dear expert,

I am facing problem with ospf

one of the route 192.168.145.80/28 is there in ospf database but not in the routing table

Few output for reference

MPLS>sh ip ospf database summary | begin 192.168.145.80

Link State ID: 192.168.145.80 (summary Network Number)

Advertising Router: 10.50.2.1

LS Seq Number: 80000007

Checksum: 0xD9D8

Length: 28

Network Mask: /28

TOS: 0 Metric: 391

MPLS>sh ip ospf database | inc 192.168.145.80

192.168.145.80 10.50.2.1 5 (DNA) 0x80000007 0x00D9D8

MPLS>sh ip route 192.168.145.80

% Network not in table

Please help to resolve the issue

Regards

Mahesh

5 Replies 5

Mahesh,

It's a good idea to explain what your network diagram is. Did you configure any Virtual-link as well?

Toshi

mike_guy29
Level 1
Level 1

Hi,

Could you post a diagram showing which router it should be learning this route from and where the network originates etc. If you could also show your running config for OSPF on both routers that may be helpful.

Regards

Mike

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mahesh,

this kind of problem can happen for a mismatch in OSPF network type at the two ends of the link.

Check with sh ip ospf interface typex/y

on both devices

another possible issue is overlapping OSPF Router-IDs

I agree with Mike and Toshi that more details are needed to provide help

Hope to help

Giuseppe

Topology is

CPE1--PE1--mpls coud--PE2-CPE2

CPE2 originates a route 192.168.145.80/28 which is not there in routing table of CPE1 but there in database.

Moreover at PE2 and CPE2 network type is point-to-point

if any more details required please let me know

regards

mahesh

Hello Mahesh,

Are you using VRFs on the CPE1? If yes then, first, you have to verify the presence of the route in the respective VRF. Your "show ip route" verified only the global routing table.

Further on, it is possible that the network is removed by additional checks in OSPF against routing loops. These checks are not suitable if a customer uses VRFs himself. You can try turning them off in the respective OSPF process configuration using this command:

capability vrf-lite

Best regards,

Peter

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: