EricaCheng

CCNA学习笔记33--RIPv2 MD5认证(实验)

实验目的:理解掌握RIP的手动汇总
实验拓扑:

实验步骤:
1.基本配置
2.端口ip
3.配置RIPv2
4.配置RIP MD5认证
R1(config)#key chain MD5    
R1(config-keychain)#key 1
R1(config-keychain-key)#key-string cisco
R1(config)#interface ethernet 0/0
R1(config-if)#ip rip authentication mode md5
R1(config-if)#ip rip authentication key-chain MD5
R2(config)#key chain MD5
R2(config-keychain)#key 1      //此处的KID最好保持一致
R2(config-keychain-key)#key-string cisco
R2(config)#interface ethernet 0/0
R2(config-if)#ip rip authentication mode md5
R2(config-if)#ip rip authentication key-chain MD5
5.检查
R1#show ip route     
      22.0.0.0/24 is subnetted, 1 subnets
R        22.1.1.0 [120/1] via 12.1.1.2, 00:00:02, Ethernet0/0
      23.0.0.0/24 is subnetted, 1 subnets
R        23.1.1.0 [120/1] via 12.1.1.2, 00:00:02, Ethernet0/0
      33.0.0.0/24 is subnetted, 1 subnets
R        33.1.1.0 [120/2] via 12.1.1.2, 00:00:02, Ethernet0/0
R1#  ping 33.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
R1#ping 22.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 22.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

分类:

技术点:

相关文章: