资源描述:
《CCNA-RIP实验》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、实验介绍本实验所用设备为:三台带有S0口和一个E0口的路由器,三台PC实验目的灵活掌握RIP的动态路由配置实验拓扑图实验步骤1、R1的配置R1#enableR1#confR1#configureConfiguringfromterminal,memory,ornetwork[terminal]?tEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#inte1/0R1(config-if)#ipadd172.16.1.1255.255.255.0R1(config-if)#noshutdownR1(
2、config-if)#exitR1(config)#ints2/0R1(config-if)#ipaddr172.16.2.1255.255.255.0R1(config-if)#noshutdownR1(config-if)#clockrate56000R1(config-if)#noshutdownR1(config-if)#exitRIP协议启用前的路由表R1#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFintera
3、reaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotsetC172.16.1.0/24isdi
4、rectlyconnected,Ethernet1/0C172.16.2.0/24isdirectlyconnected,Serial2/0启用RIPR1#enR1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#routerripR1(config-router)#net172.16.0.0RIP协议启用后的路由表R1#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPe
5、xternal,O-OSPF,IA-OSPFinterareaE1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultU-per-userstaticrouteGatewayoflastresortisnotsetC172.16.1.0/24isdirectlyconnected,Ethernet1/0C172.16.2.0/24isdirectlyconnected,Serial2/0R172.16.3.0/24[1
6、20/1]via172.16.2.2,00:01:37,Serial2/0R172.16.4.0/24[120/1]via172.16.2.2,00:07:21,Serial2/0R172.16.5.0/24[120/2]via172.16.2.2,00:05:21,Serial2/01、R2的配置R2#enR2#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R2(config)#inte1/0R2(config-if)#ipadd172.16.3.1255.255.255.0R2(config-if)
7、#noshutdownR2(config-if)#exitR2(config)#ints2/0R2(config-if)#ipadd172.16.2.2255.255.255.0R2(config-if)#noshutdownR2(config-if)#clockrate56000R2(config-if)#noshutdownR2(config-if)#exitR2(config)#ints2/1R2(config-if)#ipadd172.16.4.1255.255.255.0R2(config-if)#noshutdownR2(co