資源描述:
《配置動態(tài)路由協議》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。
1、第四章配置動態(tài)路由協議完成本章的學習后,您可以完成下面的任務:配置RIP和OSPF路由協議顯示路由表狀態(tài)顯示RIP路由信息顯示OSPF信息摘要目標配置IP路由Network10.1.2.0Network10.8.4.0Network10.1.1.0RoutingTableNetwork10.1.2.0E010.8.4.0S010.1.1.0To0InterfaceE0To0S0Network10.1.3.0TokenRing表中包含端口地址的內容最初的路由表靜態(tài)路由缺省路由動態(tài)路由利用IP路由選徑管轄距離(administivedistance)Interf
2、ace128.31.7.1AdministrativeDistance=100Interface128.5.1.3AdministrativeDistance=120RouterDRouterCRouterBRouterA我想發(fā)個包到D,從B和C都能到,我該怎么走?為一個目的網段或子網指定一條路徑iproutenetwork[mask]{address
3、interface}[distance][permanent]Router(config)#配置靜態(tài)路由172.16.2.0CiscoA172.16.1.0255.255.255.0172.16.2.1CiscoBE
4、0S0S1S2S0iproute172.16.1.0255.255.255.0172.16.2.1172.16.2.2靜態(tài)路由舉例定義一個缺省路由ipdefault-networknetwork-numberRouter(config)#配置缺省路由CompanyXPublicNetworkCiscoA缺省路由舉例192.168.17.0CiscoARoutingTableipdefault-network192.168.17.0routerripnetwork172.16.0.0network192.168.17.0ipdefault-network192.168
5、.17.0統一管理下的路由器的集合自治域系統AutonomousSystem100AutonomousSystem200內部網關協議RIPIGRP外部網關協議BGP內部和外部路由協議內部IP路由協議ApplicationTransportInternetNetworkInterfaceHardwareRoutingInformationProtocol(RIP)InteriorGatewayRoutingProtocol(IGRP)OpenShortestPathFirst(OSPF)ProtocolEnhancedIGRP(EIGRP)全局配置任務選擇路由協
6、議指定囊括的網段端口配置分配地址和子網掩碼Network160.89.0.0Network172.30.0.0IGRP,RIPNetwork172.16.0.0RIPRIPIGRPIP路由配置任務定義一個IP路由協議routerprotocol[keyword]Router(config)#所有的IP路由協議都需配置指明路由所囊括的直連網段networknetwork-numberRouter(config-router)#配置動態(tài)路由配置RIP19.2kbpsT1T1T1以跳數作為路徑好壞的衡量標準RIP概述啟動RIP路由進程routerripRouter(con
7、fig)#networknetwork-numberRouter(config-router)#選擇參與路由的直連網段配置RIP3.3.0.02.6.0.02.5.0.0CiscoACiscoBCiscoCCiscoDS0T0S1S2CiscoE2.4.0.01.4.0.02.1.0.0TokenRingTokenRing1.2.0.01.1.0.02.3.0.02.2.0.02.7.0.0routerripnetwork1.0.0.0network2.0.0.0CiscoARIP配置舉例顯示IP路由協議Router>showipprotocolRoutingP
8、rotocolis"rip"Sendingupdatesevery30seconds,nextduein13secondsInvalidafter180seconds,holddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisnotsetIncomingupdatefilterlistforallinterfacesisnotsetRedistributing:ripRoutingforNetworks:183.8.0.0144.253.0.0RoutingInfo