資源描述:
《isis路由泄漏及負載均衡》由會員上傳分享,免費在線閱讀,更多相關內容在行業(yè)資料-天天文庫。
1、實驗需求,完成ISIS負載均衡(R1訪問R4有兩條路徑)需求:level-1R1Level-1-2R2R3Level-2R4ISISAREA1:49.0001ISISAREA2:49.0002R1作為level-1能夠收到默認路由的條件:1.R1是level12.R2R3必須是level-1-2,且必須連接到多區(qū)域正常情況下,L2路由器中會含有整個自治系統(tǒng)的所有路由包含L1L1需要通過路由泄漏有需求的選擇L2路由。此實現選擇的網絡環(huán)境為Broadcast,需要選舉DIS。DIS選舉規(guī)則,優(yōu)先級高,MAC地址大。配置如
2、下;R1Intfa0/0Ipadd12.1.1.1255.255.255.0NoshutIntfa0/1Ipadd13.1.1.1255.255.255.0NoshutIntloop0Ipadd1.1.1.1255.255.255.0NoshutExitRouterisisNet49.0001.1111.1111.1111.00Log-adjest-changesallIs-typelevel-1ExitIntfa0/1IprouterisisIntfa0/0IprouterisisIntloop0Iprouteri
3、sisR2Intfa0/0Ipadd12.1.1.2255.255.255.0NoshutIntfa0/1Ipadd24.1.1.2255.255.255.0NoshutIntloop0Ipadd2.2.2.2255.255.255.0NoshutExitRouterisisNet49.0001.2222.2222.2222.00Log-adjest-changesallIs-typelevel-1-2ExitIntfa0/0IprouterisisIntfa0/1IprouterisisIntloop0Iprout
4、erisisExitShowclnsis-neighborShowclnsneighborClearisis*ClearclnsneighborShowisishostnameShowisisdatabaseShowisisdatabaseverboseR3Intfa0/0Ipadd13.1.1.3255.255.255.0NoshutIntfa0/1Ipadd34.1.1.3255.255.255.0NoshutIntloop0Ipadd3.3.3.3255.255.255.0NoshutExitRouterisi
5、sNet49.0001.3333.3333.3333.00Log-adjest-changesallIs-typelevel-1-2ExitIntfa0/0IprouterisisIntfa0/1IprouterisisIntloop0IprouterisisExitR4Intfa0/0Ipadd34.1.1.4255.255.255.0NoshutIntfa0/1Ipadd24.1.1.4255.255.255.0Noshut’Intloop0Ipadd4.4.4.4255.255.255.0NoshutIntlo
6、op1Ipadd5.5.5.5255.255.255.0NoshutExitRouterisisNet49.0002.4444.4444.4444.00Log-adjest-changesallIs-typelevel-2-onlyExitIntfa0/0IprouterisisIntfa0/1IprouterisisIntloop0IprouterisisExitShowclnsis-neighbor查看DIS。在R1中使用showiproute可查看到兩條默認路由。這樣即可實現R1-R4的負載均衡。如果此時,需求
7、,R1訪問R4的5.5.5.5網段,只能走下路。訪問其他R4網段走上路。R1:intfa0/0Isismetric5(默認為10)修改度量值后,默認路由會優(yōu)先選擇去往12.1.1.2R3:routerisisRedistributeisisiplevel-2intolevel-1dis-list100ExitAccess-list100permitip5.5.5.00.0.0.255any在R3抓去5.5.5.5的路由,重分發(fā)到R1。重分發(fā)度量值為148.接下來,抓取5.5.5.5的路由,看是否真正實現了需求。