Professional Documents
Culture Documents
Routing Protocol Authentication With RIPv2
Routing Protocol Authentication With RIPv2
Task
RIPv2 is currently configured in your lab topology. Ensure that the routing protocol is authenticated
using clear-text authentication between R1 and R3.
Configure Strong Authentication for RIPv2 between R3 and R2.
Verification
To verify, use the debug ip rip command to see the updates being received with authentication
applied. Use the show ip route command to verify that expected routes are appearing in the
routing table.
R1 Cleartext Authentication
Jan 8 18:09:44.984: RIP: received packet with text authentication cisco123
Jan 8 18:09:44.984: RIP: received v2 update from 136.1.13.3 on GigabitEthernet0/
0
Jan 8 18:09:44.984:
Jan 8 18:09:44.984:
Jan 8 18:09:44.984:
Jan 8 18:09:44.984:
Recall that the key chain was already configured for the clear-text authentication. It is
recommended that you use a different key chain when configuring both authentication methods. In
this case, we use the same key for the sake of simplicity. In the CCIE lab exam, you do exactly
what you are told, whether or not is is the best practice.
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int f0/0.23
R3(config-subif)#ip rip authentication mode md5
R3(config-subif)#ip rip authentication key-chain RIPkey
R3(config-subif)#end
R2#debug ip rip
RIP protocol debugging is on
R2#
Jan 8 18:54:31.388: RIP: received packet with MD5 authentication
Jan 8 18:54:31.388: RIP: received v2 update from 136.1.23.3 on GigabitEthernet0/
0
Jan 8 18:54:31.388:
Jan 8 18:54:31.388:
Jan 8 18:54:31.388:
Jan 8 18:54:31.388:
R2#sh ip route
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, + - replicated route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 2 subnets
R
R2#