How to configure EIGRP Authentication on cisco routers

Posted: 5 Jan 2018 in Network Security
Tags:

In this tutorial we will learn how to configure EIGRP Authentication on cisco router using cisco packet tracer.This lab is based on EIGRP Authentication using MD5 hashing Algorithm.To encrypt every message the MD5 algorithm is used. EIGRP Authentication is configured to prevent the hackers from forming the EIGRP neighbor relationship with your router and advertising incorrect routing information.

You can Also Read:


Configuring OSPF MD5 authentication
OSPF Clear Text authentication Configuration Lab
RIP MD5 Authentication configuration Lab
RIP Clear Text Authentication Lab

To perform this EIGRP Authenication Configuration Lab i have used Cisco Packet Tracer software here.

eigrp authentication
Step1:Configure IP address on Router R1

Router>enable

Router#config t

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

Router(config)#host R1

R1(config)#int fa0/0

R1(config-if)#ip add 1.0.0.1 255.0.0.0

R1(config-if)#no shut

 

EIGRP Configuration on Router R1

R1(config)#router eigrp 1

R1(config-router)#network 1.0.0.0

R1(config-router)#exit
Step2: Configure IP Address on Router R2

 

Router>enable

Router#config t

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

Router(config)#Host R2

R2(config)#int fa0/0

R2(config-if)#ip add 1.0.0.2 255.0.0.0

R2(config-if)#no shut

 

EIGRP Configuration on Router R2.

 

R2#config t

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

R2(config)#router eigrp 1

R2(config-router)#network 1.0.0.0

 

 

Now it’s time to EIGRP Authentication

 

Three steps are required to configure EIGRP authentication:


1. First create a keychain


2. Then specifying a key string for a key


3. And at last configuring EIGRP to use authentication.


 

EIGRP AUTHENTICATION ON ROUTER R1:


 

R1#config t

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

R1(config)#key chain satishkey

R1(config-keychain)#key 1

R1(config-keychain-key)#key-string 123

R1(config-keychain-key)#end

 

 

R1#config t

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

R1(config)#int fa0/0

R1(config-if)#ip authentication mode eigrp 1 md5

R1(config-if)#ip authentication key-chain eigrp 1 satishkey

 

 

EIGRP AUTHENTICATION ON ROUTER R2:


 

R2#config t

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

R2(config)#key chain satishkey

R2(config-keychain)#key 1

R2(config-keychain-key)#key-string 123

R2(config-keychain-key)#end

 

R2#config t

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

R2(config)#int fa0/0

R2(config-if)#ip authentication mode eigrp 1 md5

R2(config-if)#ip authentication key-chain eigrp 1 satishkey

 

  Testing EIGRP Authentication


R2#debug eigrp packets

EIGRP Packets debugging is on

(UPDATE, REQUEST, QUERY, REPLY, HELLO, ACK )

R2#

EIGRP: Received packet with MD5 authentication, key id = 1

EIGRP: Received HELLO on FastEthernet0/0 nbr 1.0.0.1

AS 1, Flags 0x0, Seq 2/0 idbQ 0/0

EIGRP: Sending HELLO on FastEthernet0/0

AS 1, Flags 0x0, Seq 2/0 idbQ 0/0 iidbQ un/rely 0/0
Advertisement
Comments
  1. […] How to configure EIGRP Authentication on cisco routers […]

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.