資源描述:
《實(shí)驗(yàn)3-路由協(xié)議詳情詳情》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、實(shí)用標(biāo)準(zhǔn)文案實(shí)驗(yàn)三路由協(xié)議實(shí)驗(yàn)3.1靜態(tài)路由【實(shí)驗(yàn)名稱】靜態(tài)路由【實(shí)驗(yàn)?zāi)康摹空莆胀ㄟ^靜態(tài)路由方式實(shí)現(xiàn)網(wǎng)絡(luò)的連通性【背景描述】假設(shè)校園網(wǎng)通過一臺(tái)路由器連接到校園外的另一臺(tái)路由器上,現(xiàn)要在路由器上做適當(dāng)配置,實(shí)現(xiàn)校園網(wǎng)內(nèi)部主機(jī)與校園網(wǎng)外部主機(jī)的相互通信。【實(shí)現(xiàn)功能】實(shí)現(xiàn)網(wǎng)絡(luò)的互連互通,從而實(shí)現(xiàn)信息的共享和傳遞【實(shí)驗(yàn)拓?fù)洹?72.16.1.0/24172.16.2.0/24172.16.3.0/24Router1Router2PC111112222PC2【實(shí)驗(yàn)設(shè)備】R2624(2臺(tái))、V35DTE線纜(1根)、V35DC
2、E線纜(1根)【實(shí)驗(yàn)步驟】第一步:在路由器Router1上配置接口的IP地址和串口上的時(shí)鐘頻率Router1(config)#interfacefastethernet0!進(jìn)入接口F0的配置模式Router1(config-if)#ipaddress172.16.1.1255.255.255.0!配置路由器接口F0的IP地址Router1(config)#noshutdown!開啟路由器fastethernet0接口!Router1(config)#interfaceserial0!進(jìn)入接口S0配置模式Router
3、1(config-if)#ipaddress172.16.2.1255.255.255.0!配置路由器接口S0的IP地址Router1(config-if)#clockrate64000!配置Router1的時(shí)鐘頻率(DCE)Router1(config)#noshutdown!開啟路由器fastethernet0接口驗(yàn)證測(cè)試:驗(yàn)證路由器接口的配置Router1#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet017
4、2.16.1.1YESmanualupupSerial0172.16.2.1YESmanualdowndownSerial1unassignedYESunsetadministrativelydowndown精彩文檔實(shí)用標(biāo)準(zhǔn)文案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上配置靜態(tài)路由Router1(config)#iproute172.16.3.0255.255.255
8、.0172.16.2.2或Router1(config)#iproute172.16.3.0255.255.255.0serial0驗(yàn)證測(cè)試:驗(yàn)證Router1上的靜態(tài)路由配置Router1#showiprouteCodes:C-connected,S-static,R-RIPO-OSPF,IA-OSPFinterareaE1-OSPFexternaltyp