In order for network 184.108.40.206/24 and 220.127.116.11/24 to have connectivity, we need to create static routes on R1 and R2 so that R1 will know about the 18.104.22.168/24 network on R2 and R2 will know about the 22.214.171.124/24 on R1.
To create a static route, we use the command ip route on the global config mode. The command’s format is something like this.
# ip route (destination address) (destination subnet mask) (forwarding router's address)
For the scenario above.
R1# conf t R1# ip route 126.96.36.199 255.255.255.0 188.8.131.52 R2# conf t R2# ip route 184.108.40.206 255.255.255.0 220.127.116.11
R1# ping 18.104.22.168 source 22.214.171.124 R2# ping 126.96.36.199 source 188.8.131.52
To create a default route, simply set the destination address and subnet mask as 0.0.0.0.
R1# conf t R1# ip route 0.0.0.0 0.0.0.0 184.108.40.206 R2# conf t R2# ip route 0.0.0.0 0.0.0.0 220.127.116.11