ospf problem? help

Answered Question
Jul 21st, 2007

problem:

1、show ip ospf data //have a 198.10.0.0

2、show ip route //have not a 198.10.0.0

3、show ip route //other route is good.

4、198.10.0.0 is static route redistribution to ospf.

please help!!!

I have this problem too.
0 votes
Correct Answer by royalblues about 9 years 4 months ago

I totally agree with Mohammed that the route to the fowardins address needs to be learnt via OSPF.

Do a sh ip route 10.100.70.253

This route should be learnt via OSPF to have the network installed in the routing table

have a look at this link

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009405a.shtml#t3

HTH, rate if it does

Narayan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Pavel Bykov Sat, 07/21/2007 - 03:01

If I understand correctly, you have a static route that you redistribute into OSPF.

Static routes have better administrative distance than OSPF, therefore OSPF route will not be in the routing table. However, OSPF should send that route in advertisements to the neighbors.

mohammedmahmoud Sat, 07/21/2007 - 04:54

Hi,

Totally agree with Pavlo, when redistributed into OSPF the route will be advertised in OSPF as an external E2 route (by default), while it would never enter the local routing table as an OSPF route, as static route has an AD of 1 while OSPF routes has an AD of 110.

And please note that for a static route to be entered into the routing table in the first place its next-hop must be reachable (and the outgoing interface must be up, this according to how the static route is configured).

HTH,

Mohammed Mahmoud.

wilsonyong Sat, 07/21/2007 - 07:19

router#show ip ospf data ex 198.10.0.0

OSPF Router with ID (172.1.1.1) (Process ID 100)

Type-5 AS External Link States

LS age: 711

Options: (No TOS-capability, DC)

LS Type: AS External Link

Link State ID: 198.10.0.0 (External Network Number )

Advertising Router: 10.100.255.58

LS Seq Number: 80000014

Checksum: 0x4231

Length: 36

Network Mask: /16

Metric Type: 2 (Larger than any link state path)

TOS: 0

Metric: 1

Forward Address: 10.100.70.253

External Route Tag: 1

router#show ip route 198.10.0.1

% Network not in table

Pavel Bykov Sat, 07/21/2007 - 11:38

Please post Area 10 configuration on A4 and A3.

Is Area 10 a form of stub area?

mohammedmahmoud Sat, 07/21/2007 - 07:52

Hi,

The route to the forward address should always be learn via OSPF if not the external route will never be installed in the routing table as in your case, can you please issue a sh ip route 10.100.70.253 and feed back us.

HTH,

Mohammed Mahmoud.

minumathur Sat, 07/21/2007 - 19:56

Hi

First of all check ,Is it stub area ? 2) PPlease let send the configuration of all the router.

-Minu

wilsonyong Sun, 07/22/2007 - 16:52

router#show ip rout 10.100.70.253

Routing entry for 10.100.70.0/24

Known via "ospf 100", distance 110, metric 1

Tag 1, type extern 2, forward metric 52

Last update from 172.21.63.13 on Serial0/2, 00:00:09 ago

Routing Descriptor Blocks:

* 172.21.63.13, from 10.100.255.58, 00:00:09 ago, via Serial0/2

Route metric is 1, traffic share count is 1

router#ping 10.100.70.253

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.100.70.253, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/12/12 ms

GillieLucent Wed, 08/01/2007 - 22:01

Hi,

Is Area 10 a stub area ?

In that case A3 won't advertise external routes into Area 10.

A4 have to use default route advertised by A3 to reach external networks.

Thanks,

Vijaybabu

Actions

This Discussion