03-04-2008 08:08 AM - edited 03-03-2019 08:58 PM
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.
Solved! Go to Solution.
03-04-2008 09:57 AM
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.
03-04-2008 08:37 AM
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
03-04-2008 08:38 AM
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.
03-04-2008 09:05 AM
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
03-04-2008 09:08 AM
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
03-04-2008 09:10 AM
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?
03-04-2008 09:15 AM
Thanks guys ... but shouldn't the summary only take effect on interAREA routes? No summarization should be taking place within the area ... right?
03-04-2008 09:57 AM
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.
03-04-2008 09:40 AM
Rick , Edison,
I apologize. I didnt read the question well.
HTH
Mohamed
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: