3. • 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.
4. 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#
5. Access Lists definition (R1)
• 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.
6. Route Map definition (R1)
• 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
7. • 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.
9. • 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