Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ospf problem? help

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!!!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: ospf problem? help

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

10 REPLIES
Silver

Re: ospf problem? help

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.

Re: ospf problem? help

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.

New Member

Re: ospf problem? help

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

New Member

Re: ospf problem? help

network diagram please see attachment.

Silver

Re: ospf problem? help

Please post Area 10 configuration on A4 and A3.

Is Area 10 a form of stub area?

Re: ospf problem? help

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.

Bronze

Re: ospf problem? help

Hi

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

-Minu

Re: ospf problem? help

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

New Member

Re: ospf problem? help

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

New Member

Re: ospf problem? help

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

123
Views
0
Helpful
10
Replies