欢迎来到天天文库
浏览记录
ID:47621691
大小:1014.50 KB
页数:16页
时间:2019-08-26
《实验04静态路由的配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验4静态路由的配置实验目的:掌握路由器静态路由、默认路由的配置方法实验要点:通过对路由器A和路由器B在路由表里添加静态路由、默认路由,使路由器A可Ping通路由器B所连的各个网络,反Z亦然.实验环境:路由器Cisco2501两台,带有网卡的工作站PC两台。S0:10.0.0.V24SO:10.0.0.2/24R2HostlIPAddress192168丄.2/24DefaultGateway:192168.1.1E0192168.2U24Host2IPAddress:19Z16822/24DefaultGate^aY:192.168.21图4.1静态路由
2、拓扑结构图实验工具BosonNetsim模拟器实验步骤1.用BosonNetworkDesigner设计实验拓扑图注:在连接两个路由器时,如果DCE端选择R2Serial0,为此后面要为R2的Serial0接口设置时钟频率。PleaseselectthePHYSICALTelcoConnectivityconnectionyouwouldliketomake.PointtoPointSerialconnection(SerialCable)Thi$willbeu$edlomakenormalpointtopointserialconnections.Whe
3、nyouproceedwiththisstepyouwillbeaskedtoselectthedeviceandinterfaceyouwouldliketoconnectonbothsides・AfteryouselectthedevicesusedyouwilhavetopicktheDCEsideoftheserialconnection.Thiswillbethesidethatyouwillhavetoproviceclockingforwhenyouloadyourtopologyintothesimulator.「PointtoMulti-
4、PointSerialConnection(FrameRelay)Thiswillallowyoutomakeuptoan8pointfullmeshframerelayconnection.ForeachcomectioyouwillneedtospecifytheRouterandinterfacetousefromthelistofavailabledevices.Next•>Cancel2、路由器的配置选择Rl,配置命令如下Router>enableRouterWconftRouter(config)#hostR1R1(config-line)#i
5、ntcORl(config-if)#ipadd192.168.1.1255.255.255.0R1(config-if)#noshutR1(config-if)#intsOR1(config-if)#ipadd10.0.0.1255.255.255.0R1(config-if)#noshutR1(config-if)WendR2的配置也类同Router>enableRouterWconftRouter(config)#hostR2R2(config-line)#intcOR2(config-if)#ipadd192.168.2.1255.255.255.0
6、R2(config-if)#noshutR2(config-if)SintsOR2(config-if)#ipadd10.0.0.2255.255.255.0R2(config-if)Wclockrate64000R2(config-if)#noshutR2(config~if)#end3、PC机的配置选择PCI,配置其ip地址为:192.168.1.2,掩码:255.255.255.0,网关:192.168.1.1选择PC2,配置其ip地址为:192.168.2.2,掩码:255.255.255.0,网关:192.168.2.14、静态路由的配置与测试R
7、1的配置RISconftR1(config)#iproute192.168.2.0255.255.255.010.0.0.2R1(config)ttendRISshowiproute(截图)R2的配置R2#conftR2(config)#iproute192.16&1.0255.255.255.010.0.0.1R2(config)SendR2#showiproute(截图)PCI的测试:ping192.168.2.2,能否ping通?通tracert192.16&2.2,返冋结果如何?PC2的测试:ping192.168.1.2,能否ping通?通tra
8、cert192.168.1.2,返回结果如何?5、缺省路由的配置与
此文档下载收益归作者所有