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

OSPF and static redistribution

I am attempting to add a new segment to my network. The new segment is on the far side of a Linux router and I cannot run OSPF on the Linux router. I would like to have my IOS perform the distribution from a static entry to my OSPF database. However, I am having problems - it does not happen. Here is my config:

router ospf 9000

log-adjacency-changes

area 1 authentication message-digest

area 1 stub

redistribute static

network 172.30.100.0 0.0.0.255 area 1

network 172.30.101.0 0.0.0.255 area 1

default-metric 1

!

ip classless

ip route 172.30.101.64 255.255.255.192 172.30.101.2

ip route 172.30.102.0 255.255.255.0 172.30.101.2

Any ideas why this is not working?

3 REPLIES
Bronze

Re: OSPF and static redistribution

Area 1 is a stub area. You can not have external LSAs in a stub area. You need to change the area to a "normal (non-stub)" area or to a Not-So-Stubby area (NSSA). Remember to make all routers in the area consistent with each other, i.e. all NSSA or all of them as non-stubby.

HTH

Mark

Community Member

Re: OSPF and static redistribution

Please change redistribute static to redistribute static subnet . Without this it will only redist statics with a classful mask.

Silver

Re: OSPF and static redistribution

to verify you can use the sh ip ospf database external 172.30.102.0 255.255.255.0 , this will display the information in the external database for this subnet

326
Views
0
Helpful
3
Replies
CreatePlease to create content