Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname R3
R3(config)#ip routing
R3(config)#int fa0/1
R3(config-if)#no switchport 
R3(config-if)#ip address 10.7.0.254 255.255.0.0
R3(config-if)#no shut
R3(config-if)#int fa0/2
R3(config-if)#no switchport 
R3(config-if)#ip address 10.5.0.253 255.255.0.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#router rip
R3(config-router)#network 10.0.0.0
R3(config-router)#exit
R3(config)#exit
R3#