How to configure EIGRP routing protocol on Cisco routers

CCNA

This article is all about how to configure EIGRP (Enhanced Interior Gateway Routing Protocol) routing on Cisco routers. It is quite easy to configure EIGRP routing protocol router than Static routing but it is less secure than Static routing. EIGRP is a distance vetor routing protocol that is based on IGRP. It is also known as hybrid routing protocol because it has characteristics of both Distance and Link state routing protocol. EIGRP offer load balancing across six paths (equal or unequal). EIGRP is Cisco proprietary that means EIGRP only works on Cisco routers. EIGRP routing protocol uses DUAL (Diffused Update Algorithm) to calculate the shortest path for the destination. So, here we learn how to configure EIGRP in simplest and easier way.

Also Read: Fascinating facts about Administrative distance in Routers

Now we take a lab to understand this whole configuration with ease. We can use Cisco Packet Tracer as well as GNS3 software for doing this lab on your system. Here I do this whole lab in GNS3 software because Packet Tracer student only supports CCNA commands while GNS3 support all the commands which are used in CCNA as well as CCNP also. In this lab, we take three Cisco routers, three switches, three PCs and Connecting wires for performing this lab successfully. So let’s start here how to configure EIGRP routing protocol on Cisco routers. Topology diagram for this lab is given below

configure eigrp routing protocol

First of all, connect all the routers, switches and PCs using connecting wires according to the above-given diagram. After that Assign IP address on all the interfaces of the routers using given below commands
For Router R1

R1#config t

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

R1(config)#int fa0/0

R1(config-if)#ip address 1.0.0.1 255.0.0.0

R1(config-if)#no shut

R1(config-if)#exit

R1(config)#

*Mar 1 00:02:14.679: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:02:15.679: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config)#

R1(config)#int fa0/1

R1(config-if)#ip address 2.0.0.1 255.0.0.0

R1(config-if)#no shut

R1(config-if)#

*Mar 1 00:02:50.999: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up

*Mar 1 00:02:51.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R1(config-if)#exit
For router R2

R2#config t

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

R2(config)#int fa0/0

R2(config-if)#ip address 2.0.0.2 255.0.0.0

R2(config-if)#no shut

R2(config-if)#exit

R2(config)#

*Mar 1 00:02:14.679: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:02:15.679: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config)#

R2(config)#int fa0/1

R2(config-if)#ip address 3.0.0.1 255.0.0.0

R2(config-if)#no shut

R2(config-if)#

*Mar 1 00:02:50.999: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up

*Mar 1 00:02:51.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R2(config-if)#exit

R2(config)#

R2(config)#int fa1/0

R2(config-if)#ip address 4.0.0.1 255.0.0.0

R2(config-if)#no shut

R2(config-if)#

*Mar 1 00:02:50.999: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up

*Mar 1 00:02:51.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

R2(config-if)#exit
For router R3

R3#config t

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

R3(config)#int fa0/0

R3(config-if)#ip address 4.0.0.2 255.0.0.0

R3(config-if)#no shut

R3(config-if)#

*Mar 1 00:10:00.047: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

*Mar 1 00:10:01.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R3(config-if)#exit

R3(config)#

R3(config)#int fa0/1

R3(config-if)#ip address 5.0.0.1 255.0.0.0

R3(config-if)#no shut

R3(config-if)#

*Mar 1 00:10:31.711: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up

*Mar 1 00:10:32.711: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R3(config-if)#exit

By these commands, IP address will be assigned to all the interfaces and all the interfaces are UP now resulting in no shut command.

Also Read: Learn all the troubleshooting commands for OSPF routing protocol

Now we configure EIGRP routing protocol on all the routers so routers can communicate with each other. For doing this use given below commands on your router.
For Router R1

R1(config)#router eigrp 1

R1(config-router)#network 1.0.0.0

R1(config-router)#network 2.0.0.0

R1(config-router)#exit
For router R2

R2(config)#router eigrp 1

R2(config-router)#network 2.0.0.0

R2(config-router)#

*Mar 1 00:19:17.507: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 2.0.0.1 (FastEthernet0/0) is up: new adjacency

R2(config-router)#

R2(config-router)#network 3.0.0.0

R2(config-router)#network 4.0.0.0

R2(config-router)#exit
For Router R3

R3(config)#router eigrp 1

R3(config-router)#network 4.0.0.0

R3(config-router)#

*Mar 1 00:23:09.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 4.0.0.1 (FastEthernet0/0) is up: new adjacency

R3(config-router)#

R3(config-router)#network 5.0.0.0

R3(config-router)#exit

Now EIGRP routing will be configured on all the routers and your routers are ready now to send packets from source to destination. So for send packets from one host to another host simply provide IP address on the PCs which are connected from routers using switches.

For providing IP address to the PCs in Cisco Packet tracer you can use the graphical method. But in GNS3 you can only provide IP address to a PC using Console of the PC.

For setting up the IP address on the PCs use given below commands.
For PC1

PC1> ip 1.0.0.2 255.0.0.0 1.0.0.1
Checking for duplicate address…
PC1 : 1.0.0.2 255.0.0.0 gateway 1.0.0.1
For PC2

PC2> ip 3.0.0.2 255.0.0.0 3.0.0.1
Checking for duplicate address…
PC1 : 3.0.0.2 255.0.0.0 gateway 3.0.0.1
For PC3

PC3> ip 5.0.0.2 255.0.0.0 5.0.0.1
Checking for duplicate address…
PC1 : 5.0.0.2 255.0.0.0 gateway 5.0.0.1

Now all the PCs and routers are configured and ready to send and receive packets. So to check whether routing is correctly installed on your routers or not you can use ping command on a PC. For example, here we ping PC1 from PC3. So we use Ping command on PC1 output is shown below

PC1> ping 5.0.0.1
84 bytes from 5.0.0.2 icmp_seq=1 ttl=64 time=1.005 ms
84 bytes from 5.0.0.2 icmp_seq=2 ttl=64 time=0.000 ms
84 bytes from 5.0.0.2 icmp_seq=3 ttl=64 time=1.003 ms
84 bytes from 5.0.0.2 icmp_seq=4 ttl=64 time=0.000 ms
84 bytes from 5.0.0.2 icmp_seq=5 ttl=64 time=0.000 ms

PC1>

If Ping is successful that means your routing is configured correctly on all the routers.
THAT’S IT

These are the steps by which you can easily learn EIGRP routing protocol configuration. In the upcoming article, we learn about troubleshooting command for EIGRP routing protocol. If you found this article helpful for you then share this article with your friends and family members. If you have any queries regarding this then simply solved out through comment section. Also, follow our blog for interesting articles and stay updated with us.

Leave a Reply