CCNA实验10各种路由协议详情详情认识_第1页
CCNA实验10各种路由协议详情详情认识_第2页
CCNA实验10各种路由协议详情详情认识_第3页
CCNA实验10各种路由协议详情详情认识_第4页
CCNA实验10各种路由协议详情详情认识_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

该生用模拟器输入配置,且直接拷屏,没有做一引起处理,内容不可取,暂不修改purpose:目标1、staticrouter<iproute[network][subnetwork][ip]>静态路由2、defaultrouter默认路由iproute0.0.0.00.0.0.0.0[ip]ipdefault-network[network]3、dynamicrouter<rip>动态路由NetworkTopology网络拓扑图Weneed:要求configureRIPbetweenR1,R2andR3在R1,R2andR3配置RIP路由协议configuredefaultnetworkinR1,配置默认路由#####################################################问题:在模拟器中R1的〔config〕中不能配置default-networkproblem:ican'tconfiguredefault-networkinR1withsimulation#####################################################R1PressEntertoStartRouter>enRouter#conftEnterconfigurationmands,oneperline.EndwithTL/Z.Router<config>#hostnameR1更改主机名R1<config>#ints0配置serial。R1<config-if>#ipadd2.2.2.1255.255.255.0配置ipR1<config-if>#clockrate56000在DCE端配置时钟频率R1<config-if>#noshut开启端口%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoupR1<config-if>#exit%LINK-3-UPDOWN:InterfaceSerial0,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial0,changedstatetodownR1<config>#inte0酉己置Ethernet0R1<config-if>#ipadd1.1.1.1255.255.255.0配置ipR1<config-if>#noshut开启端口%LINK-3-UPDOWN:InterfaceEthernet0,changedstatetoupR1<config-if>#exitR1<config>#intsi 酉己置seriallR1<config-if>#ipadd5.5.5.1255.255.255.0配置ipR1<config-if>#noshut开启端口%LINK-3-UPDOWN:InterfaceSerial1,changedstatetoup%LINK-3-UPDOWN:InterfaceSerial1,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial1,changedstatetodownR1<config-if>#%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial0,changedstatetoup%LINK-3-UPDOWN:InterfaceSerial1,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial1,changedstatetoupR1<config-if>#eixt%Invalidinputdetectedat'A'marker.R1<config-if>#exitR1<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR1#showiproute显示路由表Codes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC1.1.1.0/24isdirectlyconnected,Ethernet0C2.2.2.0/24isdirectlyconnected,Serial0C5.5.5.0/24isdirectlyconnected,Serial1R1#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R1<config>#routerrip启用rip路由协议R1<config-router>#net1.0.0.0设置宣告网段R1<config-router>#net2.0.0.0设置宣告网段R1<config-router>#net5.0.0.0设置宣告网段R1<config-router>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR1#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC1.1.1.0/24isdirectlyconnected,Ethernet0C2.2.2.0/24isdirectlyconnected,Serial0C5.5.5.0/24isdirectlyconnected,Serial1R1#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R1<config>#ip?问题?这里没有配置default<模拟器上没有此命令>access-list Namedaccess-listdhcpdomain-lookuphostnatConfigureDHCPserverandrelayparametersEnableIPDomainNameSystemhostnametranslationAddanentrytotheiphostnametableserverconfigurationNATconfigurationmandsrouteEstablishstaticroutessubnet-zeroAllow'subnetzero'subnets%Invalidinputdetectedat'A'marker.R1<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR1#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC1.1.1.0/24isdirectlyconnected,Ethernet0C 2.2.2.0/24 isdirectlyconnected,Serial0C 5.5.5.0/24 isdirectlyconnected,Serial1R 3.3.3.0/24 [120/1]via2.2.2.2,00:03:23,Serial0R 6.6.6.0/24 [120/1]via5.5.5.2,00:05:41,Serial1R1<config>#ip?access-list Namedaccess-listdhcpdomain-lookuphostnatroutesubnet-zeroConfigureDHCPserverandrelayparametersEnableIPDomainNameSystemhostnametranslationAddanentrytotheiphostnametableserverconfigurationNATconfigurationmandsEstablishstaticroutesAllow'subnetzero'subnets##############################################################R2Router>enRouter#conftEnterconfigurationmands,oneperline.EndwithTL/Z.Router<config>#hostnameR2R2<config>#ints1R2<config-if>#noshut%LINK-3-UPDOWN:InterfaceSerial1,changedstatetoupR2<config-if>#exitR2<config>#ints0R2<config-if>#clockrate56000R2<config-if>#noshut%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoupR2<config-if>#exitR2<config>#R2<config>#R2<config>#『配置各个端口ip』%LINK-3-UPDOWN:InterfaceSerial0,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial0,changedstatetodownR2<config>#inte0R2<config-if>#noshut%LINK-3-UPDOWN:InterfaceEthernet0,changedstatetoup%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial0,changedstatetoupR2<config-if>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR2#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC2.2.2.0/24isdirectlyconnected,Serial1C3.3.3.0/24isdirectlyconnected,Ethernet0C6.6.6.0/24isdirectlyconnected,Serial0R2#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R2<config>#routerrip 酉己置rip动态路由R2<config-router>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR2#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresort isnotsetC 2.2.2.0/24 is directlyconnected, Serial1C 3.3.3.0/24 is directlyconnected, Ethernet0C 6.6.6.0/24 is directlyconnected, Serial0R2#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 2.2.2.0/24isdirectlyconnected,Serial1C 3.3.3.0/24isdirectlyconnected,Ethernet0C6.6.6.0/24isdirectlyconnected,Serial0R2#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 2.2.2.0/24isdirectlyconnected,Serial1C 3.3.3.0/24isdirectlyconnected,Ethernet0C 6.6.6.0/24isdirectlyconnected,Serial0R 1.1.1.0/24[120/1]via2.2.2.1,00:05:41, Serial1R 5.5.5.0/24[120/1]via2.2.2.1,00:02:44, Serial1R2#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R2<config>#iproute0.0.0.00.0.0.03.3.3.2 『添加缺省路由』R2<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR2#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteC 2.2.2.0/24isdirectlyconnected,Serial1C 3.3.3.0/24isdirectlyconnected,Ethernet0C 6.6.6.0/24isdirectlyconnected,Serial0R 1.1.1.0/24[120/1]via2.2.2.1,00:09:16, Serial1R 5.5.5.0/24[120/1]via2.2.2.1,00:04:25, Serial1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto1.1.1.1,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4ms%Unrecognizedhostoraddress,orprotocolnotrunning.Typeescapesequencetoabort.Sending5,100-byteICMPEchosto4.4.4.1,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4ms##############################################################R3Router>enRouter#conftEnterconfigurationmands,oneperline.EndwithTL/Z.Router<config>#hostnameR3R3<config>#ints0 『配置各个端口ip』R3<config-if>#clockrate56000R3<config-if>#noshut%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoupR3<config-if>#exitR3<config>#ints1R3<config-if>#noshut%LINK-3-UPDOWN:InterfaceSerial1,changedstatetoupR3<config-if>#exitR3<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR3#showiproute%Invalidinputdetectedat'A'marker.R3#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 5.5.5.0/24isdirectlyconnected,Serial0C 6.6.6.0/24isdirectlyconnected,Serial1R3#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R3<config>#routerrip 『配置rip路由协议』R3<config-router>#exitR3<config>#R3<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR3#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 5.5.5.0/24isdirectlyconnected,Serial0C 6.6.6.0/24isdirectlyconnected,Serial1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto6.6.6.2,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4msTypeescapesequencetoabort.Sending5,100-byteICMPEchosto3.3.3.1,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4msTypeescapesequencetoabort.Sending5,100-byteICMPEchosto2.2.2.1,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4msTypeescapesequencetoabort.Sending5,100-byteICMPEchosto5.5.5.1,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4msTypeescapesequencetoabort.Sending5,100-byteICMPEchosto5.5.5.2,timeoutis2seconds:Successrateis100percent<5/5>,round-tripmin/avg/max=1/2/4msR3#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 5.5.5.0/24isdirectlyconnected,Serial0C 6.6.6.0/24isdirectlyconnected,Serial1R 3.3.3.0/24[120/1]via6.6.6.2,00:01:31,Serial1R 1.1.1.0/24[120/1]via5.5.5.1,00:02:42,Serial0R 2.2.2.0/24[120/1]via5.5.5.1,00:07:17,Serial0##############################################################R4Router>enRouter#conftEnterconfigurationmands,oneperline.EndwithTL/Z.Router<config>#hostnameRR<config>#hostnameR4R4<config>#inte1R4<config-if>#noshut%LINK-3-UPDOWN:InterfaceEthernet1,changedstatetoupR4<config-if>#exitR4<config>#inte0R4<config-if>#noshut%LINK-3-UPDOWN:InterfaceEthernet0,changedstatetoupR4<config-if>#showiproute%Invalidinputdetectedat'A'marker.R4<config-if>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR4#showiprouteCodes:C-connected,S-static,I-IGRP,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-userstaticrouteGatewayoflastresortisnotsetC 3.3.3.0/24isdirectlyconnected,Ethernet1C 4.4.4.0/24isdirectlyconnected,Ethernet0R4#conftEnterconfigurationmands,oneperline.EndwithTL/Z.R4<config>#AZ%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR4#showiprouteCodes:C-connected,S-static,I-IGRP,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,*-can

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论