资源描述:
《实验3-路由协议详情详情》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实用标准文案实验三路由协议实验3.1静态路由【实验名称】静态路由【实验目的】掌握通过静态路由方式实现网络的连通性【背景描述】假设校园网通过一台路由器连接到校园外的另一台路由器上,现要在路由器上做适当配置,实现校园网内部主机与校园网外部主机的相互通信。【实现功能】实现网络的互连互通,从而实现信息的共享和传递【实验拓扑】172.16.1.0/24172.16.2.0/24172.16.3.0/24Router1Router2PC111112222PC2【实验设备】R2624(2台)、V35DTE线缆(1根)、V35DC
2、E线缆(1根)【实验步骤】第一步:在路由器Router1上配置接口的IP地址和串口上的时钟频率Router1(config)#interfacefastethernet0!进入接口F0的配置模式Router1(config-if)#ipaddress172.16.1.1255.255.255.0!配置路由器接口F0的IP地址Router1(config)#noshutdown!开启路由器fastethernet0接口!Router1(config)#interfaceserial0!进入接口S0配置模式Router
3、1(config-if)#ipaddress172.16.2.1255.255.255.0!配置路由器接口S0的IP地址Router1(config-if)#clockrate64000!配置Router1的时钟频率(DCE)Router1(config)#noshutdown!开启路由器fastethernet0接口验证测试:验证路由器接口的配置Router1#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet017
4、2.16.1.1YESmanualupupSerial0172.16.2.1YESmanualdowndownSerial1unassignedYESunsetadministrativelydowndown精彩文档实用标准文案Router1#showinterfaceserial0Serial0isdown,lineprotocolisdownHardwareisHDLC4530AInternetaddressis172.16.2.1/24MTU1500bytes,BW2048Kbit,DLY20000usec,
5、rely255/255,load1/255EncapsulationHDLC,loopbacknotset,keepaliveset(10sec)Lastinputnever,outputnever,outputhangneverLastclearingof"showinterface"countersneverInputqueue:0/75/0(size/max/drops);Totaloutputdrops:0Queueingstrategy:weightedfairOutputqueue:0/64/0(siz
6、e/threshold/drops)Conversations0/0(active/maxactive)ReservedConversations0/0(allocated/maxallocated)5minuteinputrate0bits/sec,0packets/sec5minuteoutputrate0bits/sec,0packets/sec0packetsinput,0bytes,0nobufferReceived0broadcasts0inputerrors,0CRC,0frame,0overrun,
7、0ignored,0abort0packetsoutput,0bytes,0underruns0outputerrors,0collisions,8interfaceresets0outputbufferfailures,0outputbuffersswappedout0carriertransitionsDCD=downDSR=downDTR=downRTS=downCTS=down第二步:在路由器Router1上配置静态路由Router1(config)#iproute172.16.3.0255.255.255
8、.0172.16.2.2或Router1(config)#iproute172.16.3.0255.255.255.0serial0验证测试:验证Router1上的静态路由配置Router1#showiprouteCodes:C-connected,S-static,R-RIPO-OSPF,IA-OSPFinterareaE1-OSPFexternaltyp