cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
497
Views
0
Helpful
3
Replies

OSPF and static redistribution

wightman.a
Level 1
Level 1

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 3

mark-obrien
Level 4
Level 4

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

ipotts
Level 1
Level 1

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

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