资源描述:
《17.动态路由选择协议rip》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、Pc的ip地址192.168.1.2;192.168.2.2;192.168.3.2;192.168.4.2;192.168.5.2;192.168.5.3路由器1:(设定ip地址,设时钟,设rip)Router>Router>enRouter#contRouter(config)#routeripRouter(config-router)#version2Router(config-router)#network192.168.1.0Router(config-router)#network192.168.3.0Router(config-router)#network10.0.0
2、.0Router(config-router)#network11.0.0.0Router(config-router)#exRouter(config)#intf0/0Router(config-if)#ipad192.168.1.1255.255.255.0Router(config-if)#noshutRouter(config-if)#intf0/1Router(config-if)#ipad192.168.3.1255.255.255.0Router(config-if)#noshutRouter(config-if)#ints0/0Router(config-if)#ip
3、ad10.0.0.1255.255.255.0Router(config-if)#clockr64000Router(config-if)#noshutRouter(config-if)#Router(config-if)#ints0/1Router(config-if)#ipad11.0.0.1255.255.255.0Router(config-if)#clockr64000Router(config-if)#noshutRouter(config-if)#endRouter#Router#Router#showiprCodes:C-connected,S-static,I-IG
4、RP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaE1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultU-per-userstaticrouteGatewayoflastresortisnotsetC192.168.1.0isdirectlyconnected,FastEthernet0/0C192.168.3.0isdirectlyco
5、nnected,FastEthernet0/110.0.0.0/24issubnetted,1subnetsC10.0.0.0isdirectlyconnected,Serial0/0R192.168.4.0[120/1]via10.0.0.2,00:05:17,Serial0/013.0.0.0/24issubnetted,1subnetsR13.0.0.0[120/1]via10.0.0.2,00:02:23,Serial0/011.0.0.0/24issubnetted,1subnetsC11.0.0.0isdirectlyconnected,Serial0/1R192.168
6、.5.0[120/1]via11.0.0.2,00:06:33,Serial0/112.0.0.0/24issubnetted,1subnetsR12.0.0.0[120/1]via11.0.0.2,00:03:44,Serial0/114.0.0.0/24issubnetted,1subnetsR14.0.0.0[120/1]via11.0.0.2,00:07:16,Serial0/1R192.168.2.0[120/2]via11.0.0.2,00:07:22,Serial0/1路由器2:Router>Router>enRouter#contEnterconfigurationc
7、ommands,oneperline.EndwithCNTL/Z.Router(config)#intf0/0Router(config-if)#ipad192.168.2.1255.255.255.0Router(config-if)#noshutRouter(config-if)#ints0/0Router(config-if)#ipad13.0.0.1255.255.255.0Router(config-if)#clr64000Router(conf