實驗4-3:配置多區(qū)域OSPF和P2MP、P2P幀中繼_第1頁
實驗4-3:配置多區(qū)域OSPF和P2MP、P2P幀中繼_第2頁
實驗4-3:配置多區(qū)域OSPF和P2MP、P2P幀中繼_第3頁
實驗4-3:配置多區(qū)域OSPF和P2MP、P2P幀中繼_第4頁
實驗4-3:配置多區(qū)域OSPF和P2MP、P2P幀中繼_第5頁
已閱讀5頁,還剩6頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

實驗室4-3:多區(qū)域OSPF和P2MP,P2P幀中繼配置實驗?zāi)康?本實驗將在復(fù)雜的幀中繼網(wǎng)絡(luò)中配置OSPF。完成這個實驗后,必須完成以下任務(wù):使用點到多點網(wǎng)絡(luò)類型配置OSPF使用點對點網(wǎng)絡(luò)類型配置OSPF連接核心中的其他裝置實驗拓?fù)?注:在圖中,x是所在機架的編號,y是路由器的編號。實驗幫助:如果出現(xiàn)任何問題,可以提交給退伍教師并請求幫助。命令列表:命令說明(config)#default interface s0將S0界面還原為默認(rèn)配置(配置-subif)# frame-relay interface-DLCI 122為點對點連接指定DLCI(config)# intern faces 0/0.1 multipoint | point-to-point創(chuàng)建點到點(點到多點)子界面(config-subif)# IP OSPF network point-to-multipoint指定OSPF介面類型為點到多點。默認(rèn)值為NBMA。(config-router)# network 172 . 31 . 0 . 0 . 0 . 255 . 255 area 0指定與此網(wǎng)絡(luò)范圍匹配的接口在此指定的OSPF區(qū)域運行(config-if)# no frame-relay inverse-ARP關(guān)閉此接口的幀中繼站ARP解析任務(wù)1: OSPF多區(qū)域和幀中繼網(wǎng)絡(luò)點到多點、點對點配置實驗過程:第一步:在邊界路由器上創(chuàng)建多點子接口s0.1。用于以O(shè)SPF點到多點網(wǎng)絡(luò)類型連接幀中繼網(wǎng)絡(luò)。步驟2:更改子接口s0.1的OSPF網(wǎng)絡(luò)類型為點到點(默認(rèn)幀中繼多點接口網(wǎng)絡(luò)類型為非廣播(NBMA)步驟3:在IP地址172.31.xx.y/24中分配s0.1接口,x是機架號,y是路由器號。例如:P3R2,此IP地址為172.31.33.2/24。步驟4:幀中繼不使用幀中繼站arp,因此必須將此遠(yuǎn)程地址手動映射到本地DLCI編號。在邊界路由器上為路由器BBR2創(chuàng)建新的幀中繼映射語句。IP地址172.31.xx.4使用DLCI編號2xy。其中x是幀編號,y是路由器編號。不要忘記添加Broadcast參數(shù)。例如:P3R2,此幀中繼映射語句應(yīng)如下所示:frame-relay rap IP 172 . 31 . 33 . 4 232 broadcastP3R1,此幀中繼映射語句應(yīng)如下所示:frame-relay rap IP 172 . 31 . 33 . 4 231 broadcast步驟5:連接邊界路由器上的S0接口。步驟6:在邊界路由器上的OSPF進程下添加新network語句聲明172.31.xx.0此網(wǎng)段在Area 0上運行,使用IP OSPF網(wǎng)絡(luò)點至多點命令修改S0.1接口的網(wǎng)絡(luò)類型。步驟7:在邊界路由器上使用相應(yīng)的show命令檢查OSPF鄰居狀態(tài)。點對點網(wǎng)絡(luò)類型下是否有DR/BDR?路由器輸出應(yīng)類似于以下內(nèi)容:P1R1#sh IP OS neineighbor id pri state dead time address interface172.31.11.4 1完整/BDR 10033003:5172 . 31 . 11 . 4串行0.1172.31.1.3 100完整/dr003300:5172.31.1.3串行010 . 1 . 0 . 2 0 full/-00336900:35 10 . 1 . 0 . 2串行110.200.200.13 1完整/dr 00336600:337 10 . 1 . 1 . 3以太網(wǎng)0P1R1#步驟8:顯示邊界路由器PxR1和PxR2的路由表,以確保它是正確學(xué)習(xí)核心的OSPF路由。在邊界路由器上ping BBR 2路由器的以太網(wǎng)接口10.254.0.2,以驗證核心是否建立了正確的連接。您的輸出應(yīng)類似于以下內(nèi)容:Router#ping 10.254.0.2Type Escape sequence to abort。Sending 5,100-byte icmp echos to 10.254.0.2,timeout is 2 seconds :!Success rate is 80percent (4/5),round-trip min/avg/max=1/1/4毫秒步驟9:創(chuàng)建連接兩個邊界路由器的新點對點子接口s0.2。在此子接口上配置IP地址10.xx.0.y/24。x是機架號,y是路由器號。路由器PxR1到PxR2的此DLCI為122,路由器PxR2到PxR1的DLCI為221。例如,與P3R1和P3R2路由器的連接配置如下:p3r 1(config)# interface serial 0.2 point-to-pointp3r 1(config-subif)# IP address 10 . 33 . 0 . 1 255 . 255 . 255 . 0配置子接口(p3r 1)#幀中繼接口-DLCI 122p3r 2(config)# interface serial 0.2 point-to-pointp3r 2(config-subif)# IP address 10 . 33 . 0 . 2 255 . 255 . 255 . 0P3r2(配置子)#幀中繼接口-DLCI 221步驟10:PING每個邊界路由器上的相對邊界路由器的S0.2子接口以驗證連接是否正確。您的輸出應(yīng)類似于以下內(nèi)容:Router#ping 10.55.0.2Type Escape sequence to abort。Sending 5,100-byte icmp echos to 10.55.0.2,timeout is 2 seconds :!Success rate is 80percent (4/5),round-trip min/avg/max=1/1/4毫秒步驟11:將10.xx.0.0網(wǎng)絡(luò)添加到邊界路由器上的OSPF區(qū)域x。步驟12:確定邊界路由器上具有兩個子接口的網(wǎng)絡(luò)類型。哪個OSPF的網(wǎng)絡(luò)類型是點對點子接口的默認(rèn)網(wǎng)絡(luò)類型?您的顯示應(yīng)該類似于以下內(nèi)容:P1R1#sh IP OS intSerial0.1 is up,line protocol is upInternet address 172.31.11.1/24,area 0Process id 1,路由器id 10.1.0.1,network type point _ to _ multipoint,cost : 64Transmit delay is 1 sec,state point _ to _ multipoint,Timer intervals configured,hello 30,dead 120,wait 120,retransmit 5Oob-resync timeout 120Hello due in 00:00:11Index 2/4,flood queue length 0Next0x0(0)/0x0(0)Last flood scan length is 1,maximum is 3Last flood scan time is 4 msec,maximum is 4 msecNeighbor count is 1,adjacent neighbor count is 1neighbor 172.31.11.4與Adjacent with neighborSuppress hello for 0 neighbor(s)(Output Omitted)Serial0.2 is up,line protocol is upInternet address 10.11.0.1/24,area 1Process id 1,路由器id 10.1.0.1,network type point _ to _ point,cost : 64Transmit delay is 1 sec,state point _ to _ point,Timer intervals configured、hello 10、dead 40、wait 40、retransmit 5Oob-resync timeout 40Hello due in 00:00:06Index 3/5,flood queue length 0Next0x0(0)/0x0(0)Last flood scan length is 2,maximum is 3Last flood scan time is 4 msec,maximum is 4 msecNeighbor count is 1,adjacent neighbor count is 1neighbor 10.1.0.2與Adjacent with neighborSuppress hello for 0 neighbor(s)(Output Omitted)步驟13:在邊界路由器上使用相應(yīng)的show命令檢查OSPF鄰居狀態(tài)。點對點網(wǎng)絡(luò)是否有DR/BDR?您的輸出應(yīng)類似于以下內(nèi)容:P1R1#sh IP OS neineighbor id pri state dead time address interface172 . 31 . 11 . 4 0 full/-00336600:1172 . 31 . 11 . 4串行0.110 . 1 . 0 . 2 0 full/-00336900:333 10 . 11 . 0 . 2串行0.210 . 1 . 0 . 2 0 full/-00336900:333 10 . 1 . 0 . 2串行110.200.200.13 1完整/dr 00336600:334 10 . 1 . 1 . 3以太網(wǎng)0P1R1#步驟14:邊界路由器在IP路由表中進行OSPF路由,并且依賴于使用的機架,可能顯示其他機架的路徑。您的輸出類似于:P1R1#sh IP routecodes 3360 c-connected、s-static、r-rip、m-mobile、b-BGPD-EIGRP、ex-EIGRP external、o-OSPF、ia-OSPF interareaN1-OSPF nssa external type 1,n2-OSPF nssa external type 2E1-OSPF external type 1,E2-OSPF external type 2I-is-is、su-is-is摘要、L1-is-is level-1、L2-is-is level-2Ia-is-is interarea、*-candidate default、u-per-user static routeO-ODR,p-periodic downloaded static routeGateway of last resort is not set172 . 31 . 0 . 0/16 is variably subnetted,4 subnets,2 masksc 172 . 31 . 1 . 0/24 is directly connected,串行0c 172 . 31 . 11 . 0/24 is directly connected,串行0.1o 172 . 31 . 11 . 2/32110/128via 172 . 31 . 11 . 4,0033300333647,串行0.1o 172 . 31 . 11 . 4/32110/64via 172 . 31 . 11 . 4,0033300333647,串行0.110.0.0.0/24 is subnetted,6 subnetsC 10.11.0.0 is directly connected,串行0.2O 10.1.3.0 110/74 via 10.1.1.3,00330073:54,乙太網(wǎng)路0O 10.1.2.0 110/74 via 10.1.0.2,00337600:55,串行1110/74 via 10.11.0.2,00336600:55,串行0.2C 10.1.1.0 is directly connected,以太網(wǎng)0C 10.1.0.0 is directly connected,串行1o e 210 . 254 . 0 . 0110/20via 172 . 31 . 11 . 4,00333:338,串行0.1P1R1#步驟15:驗證內(nèi)部路由器上IP路由表中的OSPF路徑。P1R3#sh IP routecodes 3360 c-connected、

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論