欢迎来到天天文库
浏览记录
ID:27544587
大小:554.63 KB
页数:7页
时间:2018-12-03
《ccna实验攻略(8)配置动态路由rip》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、PacketTracer5.0建构CCNA实验攻略⑻——配置动态路由RIP动态路由协议釆用自适应路由算法,能够根据网络拓扑的变化而重新计算机最佳路由。由于路由的复杂性,路由算法也是分层次的,通常把路由协议(算法)划分为自治系统(AS)内的(TGP,TnteHorGatewayProtocol)与自治系统之间(EGP,ExternalGatewayProtocol)的路由协议。RIP的全称是RoutingInformationProtocol,是IGP,采用Bellman-Ford算法。RFC1058是RIPversion1标
2、准文件,RFC2453是RIPVersion2的标准文档。一、实验环境构建图一实验环境中各个网段与路由器接口1P地址分配如上阁所示二、RIP协议基本配置命令Router(config)#ipclassless让路由器支持无夾编址,RIPvl是不支持无焚IP编址的。RTP基本配置命令:Router(config)#routerripRouter(config-router)finetworkw.x.y.z可选的配置命令:Router(config)#norouterrip在路由器上关朗RIP协议Router(config-ro
3、uter)#nonetworkw.x.y.z从RIP协议中移除w.x.y.z网络Router(config-router)Aversion2RIP协议力第2版Router(config-if)#ipripsendversion2该接口仅发送RIPver2报文Router(config-if)#ipripsendversion1该接U仅发送RIPver1报文2报文Router(conifg-if)#ipripsendversion12该接口发送RTPver1报文和RTPverRouter(config-if)#ipriprec
4、eiveversion2该接口仅接收RIPver2报文Router(config-router)#noauto-summary关朗路由协议的自动聚合功能Router(config-router)#ipsplit-horizon配置水平分割RouterO(config-if)#ipsplit-horizonRouterO(config-if)#图二三、RIP配置实验首选根据实验需要配罝好PC机及路由器各个接口的IP地址等参数1、三个路由器的基本配置R0:Router>Souter>Router>enSouter#confzEn
5、terconfigurationcommandsroneperline.2ndwithCNTL/Z.Souter(config)#intfaO/ORouter6、statetoupRouterenRouter#conftEnterc7、onfigurationccmmands,oneperline-EndwithCNTL/Z.Router(config)thoatnameRouterlRouterl(config)#intfaO/ORouterl(config-if)#ipadd10.2.1.1255.255.255.0Routerl(config-if)?noshut%LINK-5-CHANGSD:InterfaceFastSthernetO/Orchangedstatetoup%LINZPROTO-5-UPDOrIN:LineprotocolonInt8、erfaceFastSthernetO/0rchangedstatetoupRouter1《config-if)#Routerl(config-if)?intse0/0/0Routerl
6、statetoupRouterenRouter#conftEnterc
7、onfigurationccmmands,oneperline-EndwithCNTL/Z.Router(config)thoatnameRouterlRouterl(config)#intfaO/ORouterl(config-if)#ipadd10.2.1.1255.255.255.0Routerl(config-if)?noshut%LINK-5-CHANGSD:InterfaceFastSthernetO/Orchangedstatetoup%LINZPROTO-5-UPDOrIN:LineprotocolonInt
8、erfaceFastSthernetO/0rchangedstatetoupRouter1《config-if)#Routerl(config-if)?intse0/0/0Routerl
此文档下载收益归作者所有