資源描述:
《ospf 手工匯總:區(qū)域間匯總、外部路由匯總》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、OSPF手工匯總:區(qū)域間匯總、外部路由匯總1.實(shí)驗(yàn)?zāi)康耐ㄟ^(guò)本實(shí)驗(yàn)可以掌握:(1)路由匯總的目的(2)區(qū)域間路由匯總(3)外部自治系統(tǒng)路由匯總2.實(shí)驗(yàn)拓?fù)浔緦?shí)驗(yàn)的拓?fù)浣Y(jié)構(gòu)如圖7-3所示。?圖7-3OSPF手工匯總路由器R1、R2和R3之間運(yùn)行OSPF,路由器R3和R4之間運(yùn)行RIPv2,路由器R1上的四個(gè)環(huán)回接口是為在路由器R2上做區(qū)域間路由匯總準(zhǔn)備的,路由器R4上的四個(gè)環(huán)回接口是為在路由器R3上做外部路由匯總準(zhǔn)備的。由于路由器R3是邊界路由器,所以要完成雙向重分布。3.實(shí)驗(yàn)步驟(1)步驟1:配置路由器R1R1(config)#routerospf1R1(config-router)#ro
2、uter-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)#ro
3、uterospf1R2(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)#ro
4、uterospf1R3(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(confi
5、g-router)#version2R3(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)#network19
6、2.168.34.0【技術(shù)要點(diǎn)】(1)區(qū)域間路由匯總必須在ABR上完成;(2)外部路由匯總必須在ASBR上完成。4.實(shí)驗(yàn)調(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
7、/32[110/65]via192.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