您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 项目三距离向量路由协议RIP和EIGRPv10
1[项目三]距离向量路由协议RIP和EIGRP[项目内容]任务一:如图3.1所示的网络拓扑,实现计算机A和B的数据传输。R1、R2与R3分别通过Serial端口相连。要求:(1)采用路由协议RIPv2,使整个网络可以通信;(2)将R2的S1/0设置成被动接口,查看路由器的路由表;图3.1网络拓扑任务二:如图3.1所示的网络拓扑,实现计算机A和B的数据传输。R1、R2与R3分别通过Serial端口相连。要求:(1)采用路由协议EIGRP,使整个网络可以通信;(2)在图3.1中的R1与R2之间增加一条串行链路,查看等价链路的负载均衡;(3)在(2)的基础上,修改R1与R2之间的一条串行链路的带宽,查看非等价链路的负载均衡。(4)如图3.2所示,在R1设置4个环回口地址,然后在R1的S1/0接口进行汇总,观察R2、R3的路由表。图3.2EIGRP手工路由汇总2[操作步骤]一.RIPv2的配置1.搭建网络环境绘制如图3.1所示的网络拓扑并配置好路由器和计算机的端口及IP地址。2.RIPv2的基本配置2.1基本配置(1)配置R1R1(config)#routerripR1(config-router)#version2R1(config-router)#network10.0.0.0R1(config-router)#network12.0.0.0(2)配置R2R2(config)#routerripR2(config-router)#version2R2(config-router)#network12.0.0.0R2(config-router)#network23.0.0.0(3)配置R3R3(config)#routerripR3(config-router)#version2R3(config-router)#network23.0.0.0R3(config-router)#network192.168.1.02.2认证(1)showiprouteR1#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsC10.1.1.0isdirectlyconnected,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/0R23.0.0.0/8[120/1]via12.12.12.2,00:00:03,Serial1/0//自动汇总R192.168.1.0/24[120/2]via12.12.12.2,00:00:03,Serial1/03关闭自动汇总:R1(config)#routerripR1(config-router)#noauto-summaryR2(config)#routerripR2(config-router)#noauto-summaryR3(config)#routerripR3(config-router)#noauto-summary重新认证:R1#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsC10.1.1.0isdirectlyconnected,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/023.0.0.0/24issubnetted,1subnetsR23.23.23.0[120/1]via12.12.12.2,00:00:08,Serial1/0R192.168.1.0/24[120/2]via12.12.12.2,00:00:08,Serial1/0R2#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsR10.1.1.0[120/1]via12.12.12.1,00:00:06,Serial1/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/023.0.0.0/24issubnetted,1subnetsC23.23.23.0isdirectlyconnected,Serial1/1R192.168.1.0/24[120/1]via23.23.23.3,00:00:01,Serial1/1R3#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsR10.1.1.0[120/2]via23.23.23.2,00:00:23,Serial1/012.0.0.0/24issubnetted,1subnetsR12.12.12.0[120/1]via23.23.23.2,00:00:23,Serial1/023.0.0.0/24issubnetted,1subnets4C23.23.23.0isdirectlyconnected,Serial1/0C192.168.1.0/24isdirectlyconnected,FastEthernet0/0(2)showipprotocolR1#showipprotocolRoutingProtocolisripSendingupdatesevery30seconds,nextduein19secondsInvalidafter180seconds,holddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisnotsetIncomingupdatefilterlistforallinterfacesisnotsetRedistributing:ripDefaultversioncontrol:sendversion2,receive2InterfaceSendRecvTriggeredRIPKey-chainFastEthernet0/022Serial1/022AutomaticnetworksummarizationisnotineffectMaximumpath:4RoutingforNetworks:10.0.0.012.0.0.0PassiveInterface(s):RoutingInformationSources:GatewayDistanceLastUpdate12.12.12.212000:00:01Distance:(defaultis120)(3)showipdatabaseR1#showipripdatabase10.1.1.0/24directlyconnected,FastEthernet0/012.12.12.0/24directlyconnected,Serial1/023.23.23.0/24[1]via12.12.12.2,00:00:10,Serial1/0192.168.1.0/24[2]via12.12.12.2,00:00:10,Serial1/0(4)debugipripR1#debugipripR1#cleariproute*R1#RIP:receivedv2updatefrom12.12.12.2onSerial1/023.23.23.0/24via0.0.0.0in1hops192.168.1.0/24via0.0.0.0in2hopsRIP:sendingv2updateto224.0.0.9viaFastEthernet0/0(10.1.1.1)5RIP:buildupdateentries12.12.12.0/24via0.0.0.0,metric1,tag023.23.23.0/24via0.0.0.0,metric2,tag0192.168.1.0/24via0.0.0.0,metric3,tag0RIP:sendingv2updateto224.0.0.9viaSerial1/0(12.12.12.1)RIP:buildupdateentries10.1.1.0/24via0.0.0.0,metric1,tag0RIP:receivedv2updatefrom12.12.12.2onSerial1/023.23.23.0/24via0.0.0.0in1hops192.168.1.0/24via0.0.0.0in2hopsRIP:sendingv2updateto224.0.0.9viaFastEthernet0/0(10.1.1.1)RIP:buildupdateentries12.12.12.0/24via0.0.0.0,metric1,tag023.23.23.0/24via0.0.0.0,metric2,tag0192.168.1.0/24via0.0.0.0,metric3,tag0RIP:sendingv2updateto224.0.0.9viaSerial1/0(12.12.12.1)RIP:buildupdateentries10.1.1.0/24via0.0.0.0,metric1,tag0RIP:receivedv2updatefrom12.12.12.2onSerial1/023.23.23.0/24via0.0.0.0in1hops192.168.1.0/24via0.0.0.0in2hops3.设置被动接口R2(config)#routerripR2(config-router)#passive-interfaces1/0等待几分钟后:R1#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsC10.1.1.0isdirectlyconnected,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/0二、EIGRP的配置1.搭建网络环境将如图3.1所示的拓扑图另存为新文件或重新建立一个拓扑图。在此采用另存为新文件的方法,然后修改相关的配置。6R1(config)#norouterripR2(config)#norouterripR3(config)#norouterrip此时,R1的路由表如下:R1#showiprouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsC10.1.1.0isdirectlyconnected,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/0R2、R3的路由表内容类似R1。2.EIGRP的配置2.1基本配置(1)配置R1R1(config)#routereigrp100R1(config-router)#noauto-summaryR1(config-router)#network10.1.1.00.0.0.255R1(config-router)#network12.12.12.00.0.0.255(2)配置R2R2(config)#routereigrp100R2(config-router)#noauto-summaryR2(config-router)#network12.12.12.00.0.0.255R2(config-router)#network23.23.23.00.0.0.255(3)配置R2R3(config)#routereigrp100R3(config-r
本文标题:项目三距离向量路由协议RIP和EIGRPv10
链接地址:https://www.777doc.com/doc-1982894 .html