cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3742
Views
0
Helpful
5
Replies

OSPF Redistribution - Multiple Areas

CSCO12006174
Level 1
Level 1

Guys, I have the next issue:

*I have three routers conected among them, Router 01 has 3 OSPF áreas (0, 10, 30) configured in different processes, in order to connect the other Routers in different áreas, as seen in the diagram attached.

Then, there is a redistribution of Area 10 (Router 02) and Area 30 (Router 03) into Area 0 of Router 01 and viceversa, and it works fine but the only problema I have is that I cannot see the route to the Loopback of Router 02 in the routing table of Router 03 and viceversa, even though I redistributed the different áreas among them.

There is a chance to redistribute Area 10 into Area 30 to get the loopbacks, but I would like to know if there is any other option to get the same results. Thanks....

 

Configurations:

Router 01:

interface Loopback0

ip address 1.1.1.1 255.255.255.255

!

interface GigabitEthernet0/0

ip address 10.10.0.1 255.255.255.0

duplex auto

speed auto

!

interface GigabitEthernet1/0

ip address 10.10.1.1 255.255.255.0

duplex auto

speed auto

!

interface GigabitEthernet2/0

ip address 10.10.3.1 255.255.255.0

duplex auto

speed auto

!
router ospf 1

log-adjacency-changes

redistribute connected metric-type 1 subnets

network 10.10.0.0 0.0.0.255 area 0

!

router ospf 10

log-adjacency-changes

redistribute ospf 1 metric-type 1 subnets

redistribute connected metric 1 metric-type 1 subnets

network 10.10.1.0 0.0.0.255 area 1

!

router ospf 30

log-adjacency-changes

redistribute ospf 1 metric-type 1 subnets

redistribute connected metric 1 subnets

network 10.10.3.0 0.0.0.255 area 3

 

 

Router 02:

interface Loopback0

ip address 1.1.1.2 255.255.255.255

!

interface GigabitEthernet0/1

ip address 10.10.1.2 255.255.255.0

duplex auto

speed auto

!

router ospf 10

log-adjacency-changes

redistribute connected metric-type 1 subnets
network 10.10.1.0 0.0.0.255 area 1

 

 

Router 03:

interface Loopback0

ip address 1.1.1.3 255.255.255.255

!

interface GigabitEthernet0/0

ip address 10.10.3.2 255.255.255.0

duplex auto

speed auto
!

router ospf 30

log-adjacency-changes

redistribute connected metric-type 1 subnets

network 10.10.3.0 0.0.0.255 area 3

 

 

Show IP ROUTE:

 

Router 01 Routes: There are R2 & R3 Loopbacks announced

 

C 1.1.1.1 is directly connected, Loopback0

O 1.1.1.2 [110/2] via 10.10.1.2, 00:45:56, GigabitEthernet1/0

O E1 1.1.1.3 [110/21] via 10.10.3.2, 05:14:57, GigabitEthernet2/0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1 [110/21] via 10.10.0.2, 02:12:13, GigabitEthernet0/0

10.0.0.0/24 is subnetted, 5 subnets

C 10.10.0.0 is directly connected, GigabitEthernet0/0

C 10.10.1.0 is directly connected, GigabitEthernet1/0

O E1 10.10.2.0 [110/21] via 10.10.0.2, 02:12:13, GigabitEthernet0/0

C 10.10.3.0 is directly connected, GigabitEthernet2/0

O E1 10.10.4.0 [110/21] via 10.10.0.2, 02:12:13, GigabitEthernet0/0

 

Router 02 - Routes: There is no R03 Loopback announced

 

     1.0.0.0/32 is subnetted, 2 subnets

O E1 1.1.1.1/32 [110/2] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

C 1.1.1.2/32 is directly connected, Loopback0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1/32 [110/21] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

O E1 10.10.0.0/24 [110/2] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

C 10.10.1.0/24 is directly connected, GigabitEthernet0/1

L 10.10.1.2/32 is directly connected, GigabitEthernet0/1

O E1 10.10.2.0/24 [110/21] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

O E1 10.10.3.0/24 [110/2] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

O E1 10.10.4.0/24 [110/21] via 10.10.1.1, 00:45:17, GigabitEthernet0/1

 

Router 03 - Routes: There is no R02 Loopback announced

 

     1.0.0.0/32 is subnetted, 2 subnets

O E2 1.1.1.1/32 [110/1] via 10.10.3.1, 01:54:47, GigabitEthernet0/0

C 1.1.1.3/32 is directly connected, Loopback0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1/32 [110/21] via 10.10.3.1, 02:11:43, GigabitEthernet0/0

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

O E2 10.10.0.0/24 [110/1] via 10.10.3.1, 01:54:47, GigabitEthernet0/0

O E2 10.10.1.0/24 [110/1] via 10.10.3.1, 00:50:21, GigabitEthernet0/0

O E1 10.10.2.0/24 [110/21] via 10.10.3.1, 02:11:43, GigabitEthernet0/0

C 10.10.3.0/24 is directly connected, GigabitEthernet0/0

L 10.10.3.2/32 is directly connected, GigabitEthernet0/0

O E1 10.10.4.0/24 [110/21] via 10.10.3.1, 02:11:43, GigabitEthernet0/0

5 Replies 5

Mark Malone
VIP Alumni
VIP Alumni

You could try this set your RID as the loopback under each process , set ip ospf network type point-to-point under each loopback and then clear ip ospf process *

Hi Mark, I configured your recommendations but I am still not getting the Loopback Routes in R02 (Area 10) and Router 03 (Area 30). The only way I made it so far is redistributing Area 10 into Area 30 and viceversa but I think it may cause overload in a bigger network, so I am trying to get another solution. Can you help me find out for some other ideas please?


R01:
interface Loopback0

ip address 1.1.1.1 255.255.255.255

ip ospf network point-to-point
!

router ospf 1

router-id 1.1.1.1

log-adjacency-changes

redistribute connected metric-type 1 subnets

network 10.10.0.0 0.0.0.255 area 0

!

router ospf 10

log-adjacency-changes

redistribute ospf 1 metric-type 1 subnets

redistribute connected metric 1 metric-type 1 subnets

network 10.10.1.0 0.0.0.255 area 1

!

router ospf 30

log-adjacency-changes

redistribute ospf 1 metric-type 1 subnets

redistribute connected metric 1 subnets

network 10.10.3.0 0.0.0.255 area 3

!


R02:

interface Loopback0

ip address 1.1.1.3 255.255.255.255

ip ospf network point-to-point

!
router ospf 30

router-id 1.1.1.3

log-adjacency-changes

redistribute connected metric-type 1 subnets

network 10.10.3.0 0.0.0.255 area 3

!

 

 

R03:

interface Loopback0

ip address 1.1.1.2 255.255.255.255

ip ospf network point-to-point

!
router ospf 10

router-id 1.1.1.2

log-adjacency-changes

network 10.10.1.0 0.0.0.255 area 1

network 1.1.1.2 0.0.0.0 area 1

!

 

 

 

SHOW IP ROUTE:

R01:


r1.1.1.1#sh ip route

1.0.0.0/32 is subnetted, 3 subnets

C 1.1.1.1 is directly connected, Loopback0

O 1.1.1.2 [110/2] via 10.10.1.2, 00:34:57, GigabitEthernet1/0

O E1 1.1.1.3 [110/21] via 10.10.3.2, 00:34:57, GigabitEthernet2/0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1 [110/21] via 10.10.0.2, 00:34:57, GigabitEthernet0/0

10.0.0.0/24 is subnetted, 5 subnets

C 10.10.0.0 is directly connected, GigabitEthernet0/0

C 10.10.1.0 is directly connected, GigabitEthernet1/0

O E1 10.10.2.0 [110/21] via 10.10.0.2, 00:34:57, GigabitEthernet0/0

C 10.10.3.0 is directly connected, GigabitEthernet2/0

O E1 10.10.4.0 [110/21] via 10.10.0.2, 00:34:57, GigabitEthernet0/0

 

 

R02: Still not getting route for R03 Loopback

 

     1.0.0.0/32 is subnetted, 2 subnets

O E1 1.1.1.1/32 [110/2] via 10.10.1.1, 00:35:38, GigabitEthernet0/1

C 1.1.1.2/32 is directly connected, Loopback0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1/32 [110/21] via 10.10.1.1, 00:35:28, GigabitEthernet0/1

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

O E1 10.10.0.0/24 [110/2] via 10.10.1.1, 00:35:38, GigabitEthernet0/1

C 10.10.1.0/24 is directly connected, GigabitEthernet0/1

L 10.10.1.2/32 is directly connected, GigabitEthernet0/1

O E1 10.10.2.0/24 [110/21] via 10.10.1.1, 00:35:28, GigabitEthernet0/1

O E1 10.10.3.0/24 [110/2] via 10.10.1.1, 00:35:38, GigabitEthernet0/1

O E1 10.10.4.0/24 [110/21] via 10.10.1.1, 00:35:28, GigabitEthernet0/1

 

 

R03: Still not getting route for R02 Loopback

 

     1.0.0.0/32 is subnetted, 2 subnets

O E2 1.1.1.1/32 [110/1] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

C 1.1.1.3/32 is directly connected, Loopback0

2.0.0.0/32 is subnetted, 1 subnets

O E1 2.2.2.1/32 [110/21] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks

O E1 10.10.0.0/24 [110/21] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

O E2 10.10.1.0/24 [110/1] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

O E1 10.10.2.0/24 [110/21] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

C 10.10.3.0/24 is directly connected, GigabitEthernet0/0

L 10.10.3.2/32 is directly connected, GigabitEthernet0/0

O E1 10.10.4.0/24 [110/21] via 10.10.3.1, 00:25:23, GigabitEthernet0/0

I am thinking, loopbacks in Areas 10 and 30 dont belong to backbone área which is Area 0, so thats why they are not published into Areas that are not backbone. Is that correct? If so, can you recommend some ways to published them besides redistribution? thanks...

[Wrong answer. Sorry, my bad. Removed.]

Thanks Rolf, so the only chance I have is to redistribute Area 10 into Area 30 and viceversa?

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