



全文預覽已結(jié)束
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
LAB.10動態(tài)路由協(xié)議-單域OSPF配置實驗目的:1. 理解動態(tài)路由協(xié)議OSPF的內(nèi)容; 2. 理解OSPF等鏈路狀態(tài)協(xié)議的算法處理過程; 3. 掌握OSPF的基本配置,并與距離失量協(xié)議的配置過程相比較; 4. 掌握DR和BDR,手動配置DR、BDR。 實驗拓撲如下實驗過程:R1配置如下:R1(config)#interface Loopback0R1(config-if)#ip address 1.1.1.1 255.255.255.255R1(config-if)#interface FastEthernet0/0R1(config-if)#ip address 172.16.13.1 255.255.255.0R1(config-if)#interface Serial1/0R1(config-if)#ip address 172.16.12.1 255.255.255.0R1(config-if)#clock rate 64000R1(config)#router ospf 110OSPF路由配置模式,進程號為110R1(config-router)#router-id 1.1.1.1定義路由器IDR1(config-router)#network 1.1.1.1 0.0.0.0 area 0向全網(wǎng)通告1.1.1.1,并定義這個地址在區(qū)域0內(nèi)R1(config-router)#network 172.16.12.0 0.0.0.255 area 0向全網(wǎng)通告172.16.12.0這個網(wǎng)段,并定義這個網(wǎng)段在區(qū)域0內(nèi)R1(config-router)#network 172.16.13.0 0.0.0.255 area 0R2配置如下:R2(config)#interface Loopback0R2(config-if)#ip address 2.2.2.2 255.255.255.255R2(config-if)#interface Serial1/0R2(config-if)#ip address 172.16.12.2 255.255.255.0R2(config-if)#clock rate 64000R2(config-if)#interface Serial1/1R2(config-if)#ip address 172.16.23.2 255.255.255.0R2(config-if)#clock rate 64000R2(config)router ospf 110R2(config-router)#router-id 2.2.2.2R2(config-router)#network 2.2.2.2 0.0.0.0 area 0R2(config-router)#network 172.16.12.0 0.0.0.255 area 0R2(config-router)#network 172.16.23.0 0.0.0.255 area 0R3配置如下:R3(config)#interface Loopback0進入接口配置模式,配置一個環(huán)回口R3(config-if)#ip address 3.3.3.3 255.255.255.255R3(config-if)#interface FastEthernet0/0R3(config-if)#ip address 172.16.13.2 255.255.255.0R3(config-if)#interface Serial1/1R3(config-if)#ip address 172.16.23.1 255.255.255.0R3(config-if)#clock rate 64000R3(config)#router ospf 110R3(config-router)#router-id 3.3.3.3R3(config-router)#network 3.3.3.3 0.0.0.0 area 0R3(config-router)#network 172.16.13.0 0.0.0.255 area 0R3(config-router)#network 172.16.23.0 0.0.0.255 area 0查看R1、R2、R3路由表R1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsC 1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/65 via 172.16.12.2, 00:05:53, Serial1/0 3.0.0.0/32 is subnetted, 1 subnetsO代表OSPF的路由表項,從本地端口Serial1/0學到的目標網(wǎng)絡為2.2.2.2的路由,建立鄰居時間為05:53O 3.3.3.3 110/2 via 172.16.13.2, 00:05:53, FastEthernet0/0 172.16.0.0/24 is subnetted, 3 subnetsO 172.16.23.0 110/65 via 172.16.13.2, 00:05:53, FastEthernet0/0C 172.16.12.0 is directly connected, Serial1/0C 172.16.13.0 is directly connected, FastEthernet0/0R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 110/65 via 172.16.12.1, 00:06:12, Serial1/0 2.0.0.0/32 is subnetted, 1 subnetsC 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnetsO 3.3.3.3 110/65 via 172.16.23.1, 00:06:12, Serial1/1 172.16.0.0/24 is subnetted, 3 subnetsC 172.16.23.0 is directly connected, Serial1/1C 172.16.12.0 is directly connected, Serial1/0O 172.16.13.0 110/65 via 172.16.12.1, 00:06:12, Serial1/0 110/65 via 172.16.23.1, 00:06:12, Serial1/1R3#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 110/2 via 172.16.13.1, 00:06:33, FastEthernet0/0 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/65 via 172.16.23.2, 00:06:33, Serial1/1 3.0.0.0/32 is subnetted, 1 subnetsC 3.3.3.3 is directly connected, Loopback0 172.16.0.0/24 is subnetted, 3 subnetsC 172.16.23.0 is directly connected, Serial1/1O 172.16.12.0 110/65 via 172.16.13.1, 00:06:33, FastEthernet0/0C 172.16.13.0 is directly connected, FastEthernet0/0在R1、R2查看DR、BDRR1#show ip ospf neighbor查看OSPF的鄰居 Neighbor ID Pri State Dead Time Address Interface2.2.2.2 0 FULL/ - 00:00:3
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 分配生考試數(shù)學試卷
- 高二上冊期末數(shù)學試卷
- 2025年04月山東工商學院校醫(yī)院臨床醫(yī)師(省屬高校事業(yè)編制)招聘筆試歷年專業(yè)考點(難、易錯點)附帶答案詳解
- 2025至2030吹風機行業(yè)市場深度研究與戰(zhàn)略咨詢分析報告
- 廣東初中期末數(shù)學試卷
- 中藥材種植技術(shù)培訓與中藥材市場分析研究考核試卷
- 乳粉生產(chǎn)質(zhì)量管理中的質(zhì)量信息共享與溝通平臺搭建考核試卷
- 體育賽事觀眾互動的線上線下融合模式考核試卷
- 辦公自動化系統(tǒng)調(diào)度系統(tǒng)的實時性優(yōu)化技術(shù)考核試卷
- 高中理科必修三數(shù)學試卷
- Q∕SY 1836-2015 鍋爐 加熱爐燃油(氣)燃燒器及安全聯(lián)鎖保護裝置檢測規(guī)范
- 北京輸變電工程標準工藝應用圖冊(圖文并茂)
- 儀器使用記錄表
- 三相負荷(380V)及單相(220V)最大供電距離計算表及電壓降計算表
- 《汽車電工電子技術(shù)》全套教案(完整版)
- 國家職業(yè)技能標準 (2021年版) 嬰幼兒發(fā)展引導員
- 計算機網(wǎng)絡專業(yè)畢業(yè)論文:網(wǎng)上鮮花銷售系統(tǒng)的設計與實現(xiàn)
- 伯杰氏細菌系統(tǒng)分類學手冊
- 班組計件承包協(xié)議書
- 小學閱讀材料:五年級下冊閱讀題及答案--寫景類(7篇)
- 珠海市工傷保險待遇申請表(20110630)
評論
0/150
提交評論