資源描述:
《路由器靜態(tài)路由的配置》由會(huì)員上傳分享,免費(fèi)在線(xiàn)閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、路由器靜態(tài)路由的配置一、實(shí)驗(yàn)?zāi)康?.掌握靜態(tài)態(tài)路由的配置方法2.理解靜態(tài)路III的工作過(guò)程和使用環(huán)境二、應(yīng)用環(huán)境1.在路由器較少而R網(wǎng)絡(luò)比較問(wèn)題的環(huán)境里,為了減少路由器的開(kāi)銷(xiāo)和帶寬的占用,通常手工配置靜態(tài)路2.該網(wǎng)絡(luò)的每個(gè)路由器都必須冇所冇冃的網(wǎng)絡(luò)的路由3.需要配置所有非肓連的路由三、實(shí)驗(yàn)設(shè)備臺(tái)條條三一一1.DCR-17022.CR-V35FC3.CR-V35MTU!實(shí)驗(yàn)拓?fù)銻outer-AF0/0Router-BRouter-CE1/0五、實(shí)驗(yàn)要求Router-ARouter-BRouter-CS1/KDCE)192.168.1.1S/1/()(DTE)192.168.1.2
2、F0/0192.168.2.2F0/0192.168.0」F0/0192.16&2.1El/0192.168.3.1六、實(shí)驗(yàn)步驟第一步:參照實(shí)驗(yàn)三,按照上表配置所有接口的IP地址,保證所有接口全部是up狀態(tài),測(cè)試連通性第二步:查看ROUTER-A的路山表Router-A#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-externalDEIGRP,O-OSPF,OIA-OSPFinterareaONI-OSPFNSSAexternaltype1,ON2-OSPFNSSAe
3、xternaltype2OE1?OSPFexternaltype1,OE2?OSPFexternaltype2DHCP-DHCPtypeVRFID:0C192.168.0.0/24isdirectlyconnected,FastEthernetO/O!直連的路由C192.168.1.0/24isdirectlyconnected,Seriall/1!直連的路由第三步:查看ROUTER-B的路由表Router-B#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-extern
4、alDEIGRP,O-OSPF,OIA-OSPFinterareaON1?OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1?OSPFexternaltype1,OE2?OSPFexternaltype2DHCP?DHCPtypeVRFID:0C192.168.1.0/24isdirectlyconnected,Serial1/()C192.168.2.0/24isdirectlyconnected,FastEthernet()/0第四步:杏看ROUTER-C的路由表Router-B#showiprouteCodes:C-con
5、nected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX?externalDEIGRP,O-OSPF,OIA?OSPFinterareaONI-OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1?OSPFexternaltype1,OE2?OSPFexternaltype2DHCP?DHCPtypeVRFID:0C192.168.1.0/24isdirectlyconnected,Seriall/0C192.168.2.0/24isdirectlyconnected,Fast
6、Ethernet()/0第五步:在ROUTER-A±PING路由器CRoutcr-A#ping192.16&2.2PING192」68.2.2(192.16822):56databytes…192.16&2.2pingstatistics■■-5packetstransmitted,0packetsreceived,100%packetloss!不通第六步:在路由器A上配置并查看路由表Router-A_config#iprouter192.168.2.0255.255.255.0192.168?1?2!配S192.168.2.0的路由Router-A_config#iprout
7、er192.16&3?0255.255.255.0192.168.1.2!配B192.168.3.0的路由Router-A#shiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-extemalDEIGRP,O-OSPF,OIA-OSPFinterareaONI-OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1-OSPFextemaltype1,