cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
685
Views
0
Helpful
10
Replies

ospf problem? help

wilsonyong
Level 1
Level 1

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

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

View solution in original post

10 Replies 10

Pavel Bykov
Level 5
Level 5

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.

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.

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

network diagram please see attachment.

Please post Area 10 configuration on A4 and A3.

Is Area 10 a form of stub area?

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
Level 1
Level 1

Hi

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

-Minu

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

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

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

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:

Review Cisco Networking products for a $25 gift card