2. – When a network consist of more than one routing protocol, there
could be need to advertise routes learned by one routing protocol
into another and vice versa.
– In such a case you may want to take advantage of route
redistribution feature. A simple redistribution is quite easy to do.
The main configuration command is ‘redistribute’ which is used in
EIGRP configuration mode.
7. Now R1 with R3 should be EIGRP neighbors and R1 with R2
OSPF neighbors, check them with show ip eigrp
neighbors and show ip ospf neighbor commands.
To do redistribution from another routing protocol into EIGRP you have to
use redistribute command as a router eigrp subcommand. Further there are
several options: protocol from which to take routes, it could be Connected, Static,
OSPF, EIGRP, ISIS, BGP, RIP. If choose OSPF, further you must type OSPF Process
from which to take routes, optional there is match keyword which let you choose
routes, external or NSSA external routes to be redistributed. Besides all these you
must configure metric values on Router R1: you can set them for all redistributions
commands by using default-metric command, for single redistributions command
by setting metric under it, and the third method is setting different component
metrics to different routes from a route source by using route-map under
redistribution command. We use default-metric and you can see that in next
config.