資源描述:
《ospf手工匯總:區(qū)域間匯總、外部路由匯總》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應用文檔-天天文庫。
1、OSPF手工匯總:區(qū)域間匯總、外部路由匯總1.實驗目的通過本實驗可以掌握:(1)路由匯總的目的(2)區(qū)域間路由匯總(3)外部自治系統(tǒng)路由匯總2.實驗拓撲本實驗的拓撲結(jié)構(gòu)如圖7-3所示。?圖7-3OSPF手工匯總路由器R1、R2和R3之間運行OSPF,路由器R3和R4之間運行RIPv2,路由器R1上的四個環(huán)回接口是為在路由器R2上做區(qū)域間路由匯總準備的,路由器R4上的四個環(huán)回接口是為在路由器R3上做外部路由匯總準備的。由于路由器R3是邊界路由器,所以要完成雙向重分布。3.實驗步驟(1)步驟1:配置路由器R1R1(config)#routerospf1R1(config-router)#route
2、r-id1.1.1.1R1(config-router)#network1.1.4.0??0.0.0.255??area1R1(config-router)#network1.1.5.0??0.0.0.255??area1R1(config-router)#network1.1.6.0??0.0.0.255??area1R1(config-router)#network1.1.7.0??0.0.0.255????area1R1(config-router)#network?192.168.12.0?0.0.0.255?area1(2)步驟2:配置路由器R2R2(config)#routeros
3、pf1R2(config-router)#router-id2.2.2.2R2(config-router)#network192.168.12.0??0.0.0.255??area1R2(config-router)#network192.168.23.0??0.0.0.255?area0R2(config-router)#network2.2.2.0??0.0.0.255??area0R2(config-router)#area??1?range??1.1.4.0??255.255.252.0??//配置區(qū)域間路由匯總(3)步驟3:配置路由器R3R3(config)#routerospf1
4、R3(config-router)#router-id3.3.3.3R3(config-router)#network3.3.3.00.0.0.255area0R3(config-router)#network192.168.23.00.0.0.255area0R3(config-router)#summary-address??4.4.0.0???255.255.252.0//配置外部自治系統(tǒng)路由匯總R3(config-router)#redistributeripsubnets//將RIP路由重分布到OSPF中R3(config)#routerripR3(config-router)#ve
5、rsion2R3(config-router)#noauto-summaryR3(config-router)#network192.168.34.0R3(config-router)#redistributeospf1metric2//將OSPF路由重分布到RIP中(4)步驟4:配置路由器R4R4(config)#routerripR4(config-router)#version2R4(config-router)#noauto-summaryR4(config-router)#network4.0.0.0R4(config-router)#network192.168.34.0【技術(shù)要點
6、】(1)區(qū)域間路由匯總必須在ABR上完成;(2)外部路由匯總必須在ASBR上完成。4.實驗調(diào)試(1)在R2上查看路由表,顯示如下:R2#showiprouteospf1.0.0.0/8isvariablysubnetted,5subnets,3masksO1.1.5.1/32[110/65]via192.168.12.1,00:17:16,Serial0/0/0O1.1.4.0/24[110/65]via192.168.12.1,00:17:16,Serial0/0/0O1.1.4.0/22isasummary,00:17:16,?Null0O1.1.7.1/32[110/65]via192.
7、168.12.1,00:17:16,Serial0/0/0O1.1.6.1/32[110/65]via192.168.12.1,00:17:16,Serial0/0/03.0.0.0/24issubnetted,1subnetsO3.3.3.0[110/65]via192.168.23.3,00:12:14,Serial0/0/14.0.0.0/22issubnetted,1subnetsOE24