cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1756
Views
5
Helpful
2
Replies

OSPF default route into EIGRP

Not applicable

Hi, I have default route learned from OSPF and i want to redistribute it into EIGRP in a 4948 switch but it doesn't work:

 

SW49:48:

************************************************************************

router eigrp 100
 network 192.168.1.0 0.0.0.3
 redistribute static
 redistribute ospf 2 match internal external 1 external 2
!
router ospf 2
 router-id 10.10.10.1
 log-adjacency-changes
 redistribute connected subnets
 redistribute static subnets
 network 10.10.10.0 0.0.0.3 area 2

 

Switch#sh ip ro ospf
O*E2 0.0.0.0/0 [110/1] via 10.10.10.2, 17:08:49, Vlan7

 

R2:

*****************************************************************

router eigrp 100
 network 192.168.1.0 0.0.0.3
 redistribute static

 

R2#sh ip ro
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback1
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/30 is directly connected, FastEthernet1
L        192.168.1.2/32 is directly connected, FastEthernet1

Could somebody help me?

2 Replies 2

Try adding this command under router eigrp

 

default-metric 10000 10 255 1 1500

Hello

This metric is required as eigrp doesnt understand the ospf metric it is redistributing

You can also apply the metric to the redistribution :command:

router eigrp xxxx
redistribute ospf  metric 10000 100 255 1 150 match internal external 1 external 2


res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card