4255.255.255.0R1(config)#intf0/1R1(config-if)#noshutdown R1(config-subif)#exitR1(config)#interfaceSerial0/3/0R1(config-if)#ipaddress11.10.20.13255.255.255.0R1(config-if)#noshutdown R1(config-if)#exitR1(config)#intf0/0R1(config-if)#ipaddress172.16.1.1255.255.255.0R1(config-if)#noshutdown R1(config-if)#interfaceSerial0/2/0R1(config-if)#ipaddress10.1.1.1255.255.255.0R1(config-if)#noshutdown R1#conftR1(config)#routerrip R1(config-router)#version2R1(config-router)#network172.16.0.0R1(config-router)#network192.168.1.0R1(config-router)#network10.0.0.0R1(config-router)#R1(config-router)#noauto-summary R1(config)#iproute192.168.2.0255.255.255.0172.16.1.4119 Router2配置:代码如下:Router>Router>enRouter#conftRouter(config)#hostnameR2R2(config)#interfaceSerial0/1/0R2(config-if)#ipaddress10.1.1.2255.255.255.0