Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#interface s0
R1(config-if)#ip add 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
R1(config-if)#interface e0
R1(config-if)#ip add 192.168.10.1 255.255.255.0
R1(config-if)#ip route 192.168.10.0 255.255.255.0 10.0.0.2
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#interface s0
R2(config-if)#ip add 10.0.0.2 255.0.0.0
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
R1(config-if)#interface e0
R1(config-if)#ip add 192.168.20.1 255.255.255.0
R1(config-if)#ip route 192.168.20.0 255.255.255.0 10.0.0.1