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

OSPF redistribution into EIGRP

pfrancis3
Level 1
Level 1

Hello, I have router 5 and router 7 as OSPF neighbours connected via area 24.

Router 5 is running EIGRP and OSPF. Router 7 is only running OSPF. I am trying to redistribute the OSPF route 172.16.100.0/25 from router 7 into router 5's EIGRP instance.

However, I cannot seem to redistribute that network into Router 5.

Can someone please take a quick look at the configs below. I am sure it is something simple.

Thank you kindly for any help.

 

******************************************************
ROUTER 5 (EIGRP and OSPF)
*****************************************************

ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524HT0O

!
spanning-tree mode pvst

!
interface GigabitEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 redistribute ospf 1 metric 1000000 10 255 1 1500
 network 192.168.2.0
 network 192.168.1.0
 auto-summary
!
router ospf 1
 log-adjacency-changes
 redistribute eigrp 100 metric-type 1 subnets
 network 192.168.3.0 0.0.0.255 area 24
!
ip classless
!
ip flow-export version 9

!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end


************************************************************************************************************
ROUTER 7 (only OSPF)
***********************************************************************************************************

hostname Router

!
ip cef
no ipv6 cef

!
license udi pid CISCO2911/K9 sn FTX1524D5LZ

!
spanning-tree mode pvst
!

interface GigabitEthernet0/0
 ip address 192.168.3.2 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 ip address 172.16.100.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 ip address 192.168.4.2 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 172.16.100.0 0.0.0.255 area 44
 network 192.168.3.0 0.0.0.255 area 24
 network 192.168.4.0 0.0.0.255 area 34
!
ip classless
!
ip flow-export version 9
!

!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
end

 

1 Accepted Solution

Accepted Solutions

Are you trying to connect 2 areas together without area 0?

change "network 172.16.100.0 0.0.0.255 area 44" to network 172.16.100.0 0.0.0.255 area 24

and test again

HTH

View solution in original post

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Can you post the output of "sh ip route" from both routers?

Is OSPF peering up between the 2 routers?

sh ip os nei

HTH

here is show ip route from router 5:

" 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C 192.168.1.0/24 is directly connected, GigabitEthernet0/1

L 192.168.1.1/32 is directly connected, GigabitEthernet0/1

192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks

C 192.168.2.0/24 is directly connected, GigabitEthernet0/2

L 192.168.2.1/32 is directly connected, GigabitEthernet0/2

192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks

C 192.168.3.0/24 is directly connected, GigabitEthernet0/0

L 192.168.3.1/32 is directly connected, GigabitEthernet0/0

D EX 192.168.4.0/24 [105/5376] via 192.168.2.2, 01:26:47, GigabitEthernet0/2"

 

Here is show ip route from router 7:

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

 

C 172.16.100.0/24 is directly connected, GigabitEthernet0/1

L 172.16.100.1/32 is directly connected, GigabitEthernet0/1

O E1 192.168.1.0/24 [110/21] via 192.168.3.1, 01:43:21, GigabitEthernet0/0

[110/21] via 192.168.4.1, 01:41:43, GigabitEthernet0/2

O E1 192.168.2.0/24 [110/21] via 192.168.3.1, 01:43:21, GigabitEthernet0/0

[110/21] via 192.168.4.1, 01:41:43, GigabitEthernet0/2

192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks

C 192.168.3.0/24 is directly connected, GigabitEthernet0/0

L 192.168.3.2/32 is directly connected, GigabitEthernet0/0

192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks

C 192.168.4.0/24 is directly connected, GigabitEthernet0/2

L 192.168.4.2/32 is directly connected, GigabitEthernet0/2

Yes, neighbor relationships seem good.

 

show ip ospf neighbor from Router 5:

Neighbor ID Pri State Dead Time Address Interface

172.16.100.1 1 FULL/BDR 00:00:38 192.168.3.2

 

show ip ospf neighbor from router 7:

172.16.100.2 1 FULL/DR 00:00:35 172.16.100.2 GigabitEthernet0/1

192.168.3.1 1 FULL/DR 00:00:34 192.168.3.1 GigabitEthernet0/0

192.168.4.1 1 FULL/DR 00:00:39 192.168.4.1 GigabitEthernet0/2

Are you trying to connect 2 areas together without area 0?

change "network 172.16.100.0 0.0.0.255 area 44" to network 172.16.100.0 0.0.0.255 area 24

and test again

HTH

Leonir Hoxha
Cisco Employee
Cisco Employee

You are running multi-area OSPF without a backbone area (area 0), which from design point of view will not work.

The reason why on R5 routing table you see only 192.168.3.0 (area 24) prefix and not  172.16.100.0 or 192.168.4.0 is because the last two prefixes are part of OSPF area 44 and 34 (on R7), and as I said earlier by design the prefixes from area 44 and 34 will not make it to area 24 (the Point-2-Point between R7 and R5), so in this case the ABR (R7) will not be able to forward LSA type-3 (inter-area routes) to area 24. 

You need to introduce a backbone area or run the same area number on all interfaces respectively on R7.

Review Cisco Networking for a $25 gift card