3.4.a Implement and troubleshoot RIPv2

ripv2

rip v2 is on r3 and r2, eigrp is on r1, r2 and r4…

router rip
version 2
network 0.0.0.0

redistribution occurs on r2…

R2#sh run | sec router rip
router rip
version 2
redistribute eigrp 1 metric 5
network 192.168.23.0

R2#sh run | sec eigrp
router eigrp 1
network 192.168.12.0
network 192.168.24.0
 redistribute rip metric 1 1 255 255 1500

R1#sh ip route eigrp | b Gate
Gateway of last resort is not set

D EX  3.0.0.0/8 [170/2560002816] via 192.168.12.2, 00:11:23, FastEthernet0/0
4.0.0.0/24 is subnetted, 1 subnets
D        4.4.4.0 [90/158720] via 192.168.12.2, 00:12:35, FastEthernet0/0
D EX  192.168.23.0/24
           [170/2560002816] via 192.168.12.2, 00:11:23, FastEthernet0/0
D     192.168.24.0/24 [90/30720] via 192.168.12.2, 00:14:52, FastEthernet0/0

rip authentication like eigrp uses key chains…

R3#sh run | sec key
key chain RIP
key 1
key-string cisco

R2(config-if)#do sh run int f1/0
Building configuration…

Current configuration : 166 bytes
!
interface FastEthernet1/0
ip address 192.168.23.2 255.255.255.0
ip rip authentication mode md5
ip rip authentication key-chain RIP

R3#debug ip rip
RIP protocol debugging is on
R3#
*Apr 17 14:37:23.399: RIP: sending v2 update to 224.0.0.9 via FastEthernet1/0 (192.168.23.3)
*Apr 17 14:37:23.399: RIP: build update entries
*Apr 17 14:37:23.403:   3.0.0.0/8 via 0.0.0.0, metric 1, tag 0
R3#
*Apr 17 14:37:25.399: RIP: sending v2 update to 224.0.0.9 via Loopback0 (3.3.3.3)
*Apr 17 14:37:25.399: RIP: build update entries
*Apr 17 14:37:25.403:   1.0.0.0/8 via 0.0.0.0, metric 6, tag 0
*Apr 17 14:37:25.403:   4.0.0.0/8 via 0.0.0.0, metric 6, tag 0
*Apr 17 14:37:25.407:   192.168.12.0/24 via 0.0.0.0, metric 6, tag 0
*Apr 17 14:37:25.411:   192.168.23.0/24 via 0.0.0.0, metric 1, tag 0
*Apr 17 14:37:25.411:   192.168.24.0/24 via 0.0.0.0, metric 6, tag 0
*Apr 17 14:37:25.423: RIP: ignored v2 packet from 3.3.3.3 (sourced from one of our addresses)
R3#
*Apr 17 14:37:36.311: RIP: received packet with MD5 authentication
*Apr 17 14:37:36.311: RIP: received v2 update from 192.168.23.2 on FastEthernet1/0
*Apr 17 14:37:36.315:      1.0.0.0/8 via 0.0.0.0 in 5 hops
*Apr 17 14:37:36.315:      4.0.0.0/8 via 0.0.0.0 in 5 hops
*Apr 17 14:37:36.319:      192.168.12.0/24 via 0.0.0.0 in 5 hops
*Apr 17 14:37:36.319:      192.168.24.0/24 via 0.0.0.0 in 5 hops
R3#un all
All possible debugging has been turned off