cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1120
Views
0
Helpful
8
Replies

OSPF redistribution intra-area

cbrun
Level 1
Level 1

I have a static route in an ABR that I would like to have advertised in OSPF. The router config is:

router ospf 100

log-adjacency-changes

summary-address 106.40.0.0 255.255.240.0

summary-address 106.40.16.0 255.255.240.0

redistribute static subnets

network 106.40.0.0 0.0.15.255 area 0.0.0.0

network 106.40.16.0 0.0.15.255 area 11.11.11.11

!

ip classless

ip route 106.40.29.17 255.255.255.255 106.40.19.242

ip route 106.40.178.18 255.255.255.255 106.40.19.244

What is interesting is the the static route for the intER-area address (106.40.178.18) works and is seen in the routing tables across the network. However, the static entry for the subnet that is intRA-area (106.40.29.17) is NOT distributed. Why?

Thanks.

1 Accepted Solution

Accepted Solutions

summary-address summarizes external routes while area range summarizes inter-area routes.

The routes in question are both external, they are brought into OSPF via redistribution. They aren't neither intra-area nor inter-area.

HTH,

__

Edison.

View solution in original post

8 Replies 8

Richard Burts
Hall of Fame
Hall of Fame

Chris

I believe that it is because that static route is included within the range of one of your summary routes:

summary-address 106.40.16.0 255.255.240.0

The details included within the summary are not advertised as the summary is advertised.

HTH

Rick

HTH

Rick

Edison Ortiz
Hall of Fame
Hall of Fame

Please post the output from typing

show ip route 106.40.29.17

and

show ip ospf data | i 106.40.29.

from this router.

Edit: Nevermind, good catch by Rick. The summary-address is the culprit here.

__

Edison.

Mohamed Sobair
Level 7
Level 7

Hi,

Rick , Edison , I guess you didnt check the exact summary-address and the static route.

The summary: 106.40.16.0 255.255.240.0, doesnt include 106.40.178.18/32

this summary will start match the 3rd octet of 106.40.16.0 till 31.

so it would be: 106.40.16.0 -- 106.40.31.255

Hence: The static for 106.40.29.17/32 is part of the summary:106.40.16.0 255.255.240.0 , That's why its not included.

HTH

Mohamed

Mohamed

In what way do you think that I did not check the exact summary-address? The point that I made is exactly the same as the point that you make here. And the summary address command that I included in my post is exactly the one that you discuss in your post.

HTH

Rick

HTH

Rick

Mohamed,

Read the question again, the OP says that 106.40.178.18/32 works and he wants 106.40.29.17/32 to work the same way. The reason it doesn't work is due to the summary-address. I believe we are all in agreement, right?

cbrun
Level 1
Level 1

Thanks guys ... but shouldn't the summary only take effect on interAREA routes? No summarization should be taking place within the area ... right?

summary-address summarizes external routes while area range summarizes inter-area routes.

The routes in question are both external, they are brought into OSPF via redistribution. They aren't neither intra-area nor inter-area.

HTH,

__

Edison.

Mohamed Sobair
Level 7
Level 7

Rick , Edison,

I apologize. I didnt read the question well.

HTH

Mohamed

Review Cisco Networking for a $25 gift card