资源描述:
《RIPv2的不连续子网基本配置.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、RIPv2的不连续子网基本配置。我们先做如下配置看看是什么结果:R1:R1(config)#intf0/0 R1(config-if)#ipaddress172.16.1.254255.255.255.0R1(config-if)#noshutdownR1(config-if)#ints1/0R1(config-if)#ipaddress192.1.1.1255.255.255.0R1(config-if)#noshutdownR1(config)#routerripR1(config-router)#version2R1(c
2、onfig-router)#network172.16.1.0R1(config-router)#network192.1.1.0R2:R2(config)#ints1/0R2(config-if)#ipaddress192.1.1.2255.255.255.0R2(config-if)#noshutdownR2(config-if)#clockrate64000R2(config-if)#ints1/1R2(config-if)#ipaddress193.1.1.1255.255.255.0R2(config-if)#noshu
3、tdownR2(config-if)#clockrate64000R2(config)#routerripR2(config-router)#version2R2(config-router)#network192.1.1.0R2(config-router)#network193.1.1.0R3:R3(config)#ints1/1R3(config-if)#ipaddress193.1.1.2255.255.255.0R3(config-if)#noshutdownR3(config-if)#intf0/0R3(config-
4、if)#ipaddress172.16.2.254255.255.255.0R3(config-if)#noshutdownR3(config)#routerripR3(config-router)#version2R3(config-router)#network193.1.1.0R3(config-router)#network172.1.2.0我们查看一下各个路由器的路由表:R1:R1#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGR
5、P,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2 E1-OSPFexternaltype1,E2-OSPFexternaltype2 i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2 ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrou
6、te o-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset 172.16.0.0/24issubnetted,1subnetsC 172.16.1.0isdirectlyconnected,FastEthernet0/0R 193.1.1.0/24[120/1]via192.1.1.2,00:00:01,Serial1/0C 192.1.1.0/24isdirectlyconnected,Serial1/0R2:R2#sh
7、owiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2 E1-OSPFexternaltype1,E2-OSPFexternaltype2 i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISl
8、evel-2 ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute o-ODR,P-periodicdownloadedstaticrouteGatewayofla