Redistribution into EIGRP with Route Maps

Written on by admin on. Posted in EIGRP, Route Maps

Redistribution into EIGRP by using Route Maps is done similarly as with OSPF. In an earlier entry there is a lab for configuring redistribution into EIGRP without using Route Maps, here we’ll use the same topology in GNS3.

Redistribution-into-EIGRP-with-Route-Maps

Our purpose is to redistribute routes learned from OSPF to EIGRP. Try to follow this guideline when doing redistribution with route maps:

  • Define one or more ACLs (Access Lists) in which specify routes that should be checked by the route-map;
  • Define an route-map with permit (redistribution will take place) or deny (redistribution will not take place) statements where ACLs are matched and attributes for routes are set;
  • Set the route-map parameter in redistribute command.

Configuring Redistribution

Ip address for fast ethernet and loopback interfaces were configured in advance, OSPF and EIGRP also. At this point R3 doesn’t know about any networks from OSPF domain.

R3#show ip route 

            ... output omitted ...

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, FastEthernet0/0
R3#

R1 will be configured to redistribute OSPF learned routes into EIGRP by using a route map.

Access Lists definition

ACL 10 used to specify which traffic will be redistributed 
ip access-list standard 10
 10 permit 192.168.0.0 0.0.1.255
ACL 20 used to specify which traffic will not be redistributed
ip access-list standard 20
 10 permit 10.0.1.0 0.0.0.255
In ACL 10, I included in one entry networks for both loopback interfaces of R2 (by using wildcard bits 0.0.1.255). In access list 20 is specified network for link between R1 and R2, I don’t want to redistribute this route in EIGRP.

Route Map definition

route-map OSPF-to-EIGRP permit 10
 match ip address 10
 set metric 10000 10 200 5 1500
route-map OSPF-to-EIGRP deny 20
 match ip address 20

Sequence 10 is a permit, so, routes of matched access list (10) will be redistributed and metrics is also set as follow:

  • Bandwidth – 10000 Kb/s;
  • Delay – 10 (In ten of microseconds);
  • Reliability – 200;
  • Loading – 20;
  • MTU – 1500.

Sequence 20 is a deny, and IP routes matched will not be redistributed.

Setting the metric is mandatory, because the default metric when redistributing routes into EIGRP from another protocol is 0, which is considered as infinity and redistribution will not take place.

Redistribution command (on R1)

router eigrp 1
 redistribute ospf 1 route-map OSPF-to-EIGRP

Now we can check, should be fine:

R3

R3#show ip route 

            ... output omitted ...

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, FastEthernet0/0
     192.168.0.0/32 is subnetted, 1 subnets
D EX    192.168.0.1 [170/284160] via 10.0.0.1, 00:03:45, FastEthernet0/0
     192.168.1.0/32 is subnetted, 1 subnets
D EX    192.168.1.1 [170/284160] via 10.0.0.1, 00:03:45, FastEthernet0/0
R3#
Pretty well!
That’s it!  Have you got any questions? Don’t hesitate to ask them. I hope I was informative in this lab. See you!

14528 views

Comments (4)

  • jose

    |

    I like this page and it will help me to pass my dream exam 642-902

    Reply

  • Sam

    |

    I have same out come of sho ip route but I can’t ping from 192.168. 0.0 to 10.0.0.2 even it is permit in access-list and route-map. Why? any comments?

    Reply

  • ehondo

    |

    I remember coming across this during my studies for the CCNP Route course. Funnily enough, many years after attaining the certification, I came across an almost similar problem but this time in the real world. I had to redistribute select static routes into EIGRP and this article certainly helped me refresh what I had studied eons ago.

    Reply

  • long

    |

    hi Same

    ” I have same out come of sho ip route but I can’t ping from 192.168. 0.0 to 10.0.0.2 even it is permit in access-list and route-map. Why? any comments? ”

    I think you need to do another redistribution from EIGRP to OSPF , because this is 1 way redistribution. if you want a ping back you need 2 ways Redistribution

    Reply

Leave a comment


× one = 5