R1
config terminal router eigrp 1 network 172.16.13.0 network 172.16.164.0 network 192.168.5.0 end
R2
config terminal router eigrp 1 network 172.16.13.0 network 172.16.10.0 network 192.168.6.0 end
Testing
show ip eigrp neighbour show ip route
config terminal router eigrp 1 network 172.16.13.0 network 172.16.164.0 network 192.168.5.0 end
config terminal router eigrp 1 network 172.16.13.0 network 172.16.10.0 network 192.168.6.0 end
show ip eigrp neighbour show ip route
config terminal router rip version 2 network 172.16.1.0 network 172.16.2.0 end
config terminal router rip version 2 network 172.16.2.0 network 192.168.1.0 end
show ip route
config terminal interface gig0/0 ip address 172.16.1.1 255.255.255.0 no shutdown exit interface se0/0/0 ip address 172.16.2.1 255.255.255.252 clock rate 64000 no shutdown exit ip route 192.168.1.0 255.255.255.0 172.16.2.2
config terminal interface gig0/0 ip address 192.168.1.1 255.255.255.0 no shutdown exit interface se0/0/0 ip address 172.16.2.2 255.255.255.252 no shutdown exit ip route 192.168.1.0 255.255.255.0 172.16.2.1