OSPF route in database but not in routing table

Unanswered Question
Oct 30th, 2009

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
thotsaphon Fri, 10/30/2009 - 02:20

Mahesh,

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



Toshi

mike_guy29 Fri, 10/30/2009 - 02:20

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 Fri, 10/30/2009 - 02:37

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


mahesh-gohil Sat, 10/31/2009 - 03:55

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

Peter Paluch Sat, 10/31/2009 - 10:27

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


Actions

This Discussion