What is Redistribution | Redistribution between EIGRP and RIP

For communication between two different networks, we configure the routing protocol. But basic configuration is required in all routers.

Basic Configuration

For Router 1

Router>enable

Router#configure terminal

Router(config)#interface FastEthernet0/0

Router(config-if)#ip address 192.168.0.1 255.255.255.192

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#interface Serial0/0/0

Router(config-if)#ip address 192.168.0.97 255.255.255.192

Router(config-if)#clock rate 64000

Router(config-if)#no shutdown

Router(config-if)#^Z

Router#wr

For Router 2

Router>enable

Router#configure terminal

Router(config)#interface FastEthernet0/0

Router(config-if)#ip address 192.168.0.65 255.255.255.224

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#interface Serial0/1/0

Router(config-if)#ip address 192.168.0.98 255.255.255.252

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#interface Serial0/0/0

Router(config-if)#ip address 192.168.0.101 255.255.255.252

Router(config-if)#clock rate 64000

Router(config-if)#no shutdown

Router(config-if)#^Z

Router#wr

For Router 3

Router>enable

Router#configure terminal

Router(config)#interface FastEthernet0/0

Router(config-if)#ip address 192.168.0.105 255.255.255.252

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#interface Serial0/1/0

Router(config-if)#ip address 192.168.0.102 255.255.255.252

Router(config-if)#no shutdown

Router(config-if)#^Z

Router#wr

Download Free LAB e-book.


Redistribution Configuration

we are doing redistribution of RIP and EIGRP, so on one router we have to configure RIP and on third router we have to configure EIGRP or visa versa and on the middle router or the router which have both others routers route that is middle router, we have to configure one interface in RIP and other interface in EIGRP. After that we configure redistribution.



on router 1

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#router rip

Router(config-router)#no au

Router(config-router)#ver

Router(config-router)#version 2

Router(config-router)#do sh ip ro co

 C   192.168.0.0/26  is directly connected, FastEthernet0/0

 C   192.168.0.96/30  is directly connected, Serial0/0/0

Router(config-router)#net

Router(config-router)#network 192.168.0.0

Router(config-router)#network 192.168.0.96

Router(config-router)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#wr

Building configuration…

[OK]


On router 3

Router>en

Router#sh ip ro co

 C   192.168.0.100/30  is directly connected, Serial0/1/0

 C   192.168.0.104/30  is directly connected, FastEthernet0/0

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#router eigrp 10

Router(config-router)#no au

Router(config-router)#network 192.168.0.100

Router(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 10: Neighbor 192.168.0.101 (Serial0/1/0) is up: new adjacency


Router(config-router)#network 192.168.0.104

Router(config-router)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console


Router#wr

Building configuration…

[OK]


On router 2

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#router rip

Router(config-router)#no au

Router(config-router)#ver 2

Router(config-router)#network 192.168.0.98

Router(config-router)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console


Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#router eigrp 10

Router(config-router)#no au

Router(config-router)#network 192.168.0.101 0.0.0.0

Router(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 10: Neighbor 192.168.0.102 (Serial0/0/0) is up: new adjacency


Router(config-router)#^Z

Router#sh ip ro

Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP

       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area

       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2

       E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP

       i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area

       * – candidate default, U – per-user static route, o – ODR

       P – periodic downloaded static route


Gateway of last resort is not set


     192.168.0.0/24 is variably subnetted, 5 subnets, 3 masks

R       192.168.0.0/26 [120/1] via 192.168.0.97, 00:00:21, Serial0/1/0

C       192.168.0.64/27 is directly connected, FastEthernet0/0

C       192.168.0.96/30 is directly connected, Serial0/1/0

C       192.168.0.100/30 is directly connected, Serial0/0/0

D       192.168.0.104/30 [90/2172416] via 192.168.0.102, 00:00:39, Serial0/0/0


Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#router rip

Router(config-router)#redistribute eigrp ?

  <1-65535>  Autonomous system number

Router(config-router)#redistribute eigrp 10 ?

  metric  Metric for redistributed routes

  <cr>

Router(config-router)#redistribute eigrp 10 met

Router(config-router)#redistribute eigrp 10 metric ?

  <0-16>       Default metric

  transparent  Transparently redistribute metric

Router(config-router)#redistribute eigrp 10 metric 2 ?

  <cr>

Router(config-router)#redistribute eigrp 10 metric 2 

Router(config-router)#ex


Router(config)#router eigrp 10

Router(config-router)#redistribute rip metric ?

  <1-4294967295>  Bandwidth metric in Kbits per second

Router(config-router)#redistribute rip metric 1 ?

  <0-4294967295>  EIGRP delay metric, in 10 microsecond units

Router(config-router)#redistribute rip metric 1 2 ?

  <0-255>  EIGRP reliability metric where 255 is 100% reliable

Router(config-router)#redistribute rip metric 1 2 3 ?

  <1-255>  EIGRP Effective bandwidth metric (Loading) where 255 is 100% loaded

Router(config-router)#redistribute rip metric 1 2 3 4 ?

  <1-65535>  EIGRP MTU of the path

Router(config-router)#redistribute rip metric 1 2 3 4 5 ?

  <cr>

Router(config-router)#redistribute rip metric 1 2 3 4 5 

Router(config-router)#^Z

Router#

%SYS-5-CONFIG_I: Configured from console by console


Router#wr

Building configuration…

[OK]


Router 1 has rip route and router 3 has eigrp route, router 2 have both rip and eigrp route after configure interface of router 2 in respective protocol.

After configuration of redistribution, apply verification command in router 3.

Router#sh ip ro

Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP

       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area

       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2

       E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP

       i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area

       * – candidate default, U – per-user static route, o – ODR

       P – periodic downloaded static route


Gateway of last resort is not set


     192.168.0.0/24 is variably subnetted, 5 subnets, 3 masks

D EX    192.168.0.0/26 [170/2560512512] via 192.168.0.101, 00:00:16, Serial0/1/0

D EX    192.168.0.64/27 [170/2560512512] via 192.168.0.101, 00:00:16, Serial0/1/0

D EX    192.168.0.96/30 [170/2560512512] via 192.168.0.101, 00:00:16, Serial0/1/0

C       192.168.0.100/30 is directly connected, Serial0/1/0

C       192.168.0.104/30 is directly connected, FastEthernet0/0

D EX is known as external eigrp. 

<==Access CCNA LAB’s for Free==>

Earn Money with Affiliate Marketing – Download 10+ eBooks

I hope you find this article helpful, you can support us by donating just $1. It will really encourage us. EIHeducation


Leave a Reply

Your email address will not be published. Required fields are marked *