Sunday, August 24, 2014

Configuring RIP with MD5 authentication on Cisco routers

Title : Configuring RIPv2 + MD5 authentication on Cisco 7200 router

In this tutorial:
  • Configuring RIPv2 + MD5 authentication.
  • Verify RIPv2 + MD5 authentication
  • View routes learned on Cisco 7200

Topology:

 
Configuration on Local Router (R1) :

!
 key chain RIPv2keychain
 key 1234
  key-string RIPv2keystring
!
interface Loopback10
 ip address 11.11.11.11 255.255.255.0
 no ip directed-broadcast
!
interface FastEthernet0
 ip address 10.1.2.1 255.255.255.0
 no ip directed-broadcast
 ip rip authentication mode md5
 ip rip authentication key-chain RIPv2keychain
!
router rip
 version 2
 redistribute connected
 network 10.0.0.0
 no auto-summary
!

Configuration on Remote Router (R2):

!
 key chain RIPv2keychain
 key 1234
  key-string RIPv2keystring
!
interface Loopback10
 ip address 22.22.22.22 255.255.255.0
 no ip directed-broadcast
!
interface FastEthernet0
 ip address 10.1.2.2 255.255.255.0
 no ip directed-broadcast
 ip rip authentication mode md5
 ip rip authentication key-chain RIPv2keychain
!
router rip
 version 2
 redistribute connected
 network 10.0.0.0
 no auto-summary
!

Verify the routes on R1 and R2

R1#show ip route 

# ---- Output Truncated ---- #

     22.0.0.0/24 is subnetted, 1 subnets
R       22.22.22.0 [120/1] via 10.1.2.2, 00:00:20, FastEthernet0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.2.0 is directly connected, FastEthernet0
     11.0.0.0/24 is subnetted, 1 subnets
C       11.11.11.0 is directly connected, Loopback10
R1#

R2#show ip route 

# ---- Output Truncated ---- # 
 
     22.0.0.0/24 is subnetted, 1 subnets
C       22.22.22.0 is directly connected, Loopback10
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.2.0 is directly connected, FastEthernet0
     11.0.0.0/24 is subnetted, 1 subnets
R       11.11.11.0 [120/1] via 10.1.2.1, 00:00:25, FastEthernet0
R2#

Disclaimer
Information above is either from RFCs or it's Googled. This blog is result of my enthusiasm, desire and hard work to lean networking and share my leanings. Most of the times I’ll be using GNS3 network simulator. All I've here is collection of my findings, thanks to Google. Please do not ask for any of the software from CISCO/Juniper, it's better to Google it and try your luck.

No comments:

Post a Comment