




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、EIGRP路由協(xié)議的配置實例EIGRP路由協(xié)議的配置拓?fù)鋱DEIGRP路由協(xié)議的配置實例解析R1(config)#router eigrp 100R1(config-router)#no auto-summary /關(guān)閉自動匯總R1(config-router)#net 192.168.1.0 /宣告路由條目R1(config-router)#endR2(config)#router eigrp 100R2(config-router)#no auto-summaryR2(config-router)#net 192.168.1.0R2(config-router)#net 10.1.0.0 0
2、.0.255.255 /宣告路由條目R2(config-router)#endR3(config)#router eigrp 100R3(config-router)#no auto-summaryR3(config-router)#net 192.168.1.0R3(config-router)#net 172.16.0.0 0.0.255.255R3(config-router)#end檢查:R1#show ip eigrp neighbors /查看eigrp 鄰居表,發(fā)現(xiàn)并沒有鄰居IP-EIGRP neighbors for process 100R1#show ip eigrp to
3、pology /查看EIGRP 拓?fù)浔?,并沒有學(xué)習(xí)到任何的路由IP-EIGRP Topology Table for AS(100)/ID(192.168.1.1)Codes: P Passive, A Active, U Update, Q Query, R Reply,r reply Status, s sia StatusP 192.168.1.0/24, 1 successors, FD is 2169856via Connected, Serial0/0因為幀中繼默認(rèn)為NBMA 模式,也就是非廣播的多路訪問模式,它會阻止廣播數(shù)據(jù)和組播數(shù)據(jù),我們在接口配置過程中,幀中繼的DLCI 號和
4、IP 映射時也沒有配置broadcast 參數(shù),而EIGRP 路由協(xié)議通過組播地址224.0.0.10 來發(fā)送相應(yīng)的路由信息(比如hello、update 等數(shù)據(jù)包),所以R1 并沒有發(fā)現(xiàn)任何的鄰居路由器。為了能讓EIGRP的路由信息通過幀中繼傳播,在沒有配置broadcast 參數(shù)的情況下,我們可以通過單播的形式來發(fā)送EIGRP 數(shù)據(jù)包,我們對以上的配置進(jìn)行改進(jìn):R1(config)#router eigrp 100R1(config-router)#neighbor 192.168.1.2 serial 0/0 /手工指定鄰居,實現(xiàn)單播方式R1(config-router)#neighbo
5、r 192.168.1.3 serial 0/0R1(config-router)#endR2(config)#router eigrp 100R2(config-router)#neighbor 192.168.1.1 serial 0/0 /手工指定鄰居,實現(xiàn)單播方式R2(config-router)#endR3(config)#router eigrp 100R3(config-router)#neighbor 192.168.1.1 serial 0/0 /手工指定鄰居,實現(xiàn)單播方式R3(config-router)#end驗證:*Mar 1 00:29:18.955: %DUAL-5
6、-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is up: new adjacency*Mar 1 00:29:19.115: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is up: new adjacencyR1#show ip eigrp neighborsIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq(s
7、ec) (ms) Cnt Num1 192.168.1.3 Se0/0 156 00:01:19 99 594 0 30 192.168.1.2 Se0/0 154 00:01:19 137 822 0 3R2#*Mar 1 00:29:18.979: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is up: new adjacencyR2#R2#show ip eigrp neighborIP-EIGRP neighbors for process 100H Address Interface Ho
8、ld Uptime SRTT RTO Q Seq(sec) (ms) Cnt Num0 192.168.1.1 Se0/0 138 00:02:31 171 1026 0 7R1#show ip route eigrp 100 /查看路由表,可以看到R1 能夠?qū)W習(xí)到R2 和R3 相應(yīng)的網(wǎng)絡(luò)172.16.0.0/24 is subnetted, 4 subnetsD 172.16.0.0 90/2297856 via 192.168.1.3, 00:03:45, Serial0/0D 172.16.1.0 90/2297856 via 192.168.1.3, 00:03:45, Serial0
9、/0D 172.16.2.0 90/2297856 via 192.168.1.3, 00:03:45, Serial0/0D 172.16.3.0 90/2297856 via 192.168.1.3, 00:03:45, Serial0/010.0.0.0/24 is subnetted, 4 subnetsD 10.1.3.0 90/2297856 via 192.168.1.2, 00:03:45, Serial0/0D 10.1.2.0 90/2297856 via 192.168.1.2, 00:03:45, Serial0/0D 10.1.1.0 90/2297856 via 1
10、92.168.1.2, 00:03:45, Serial0/0D 10.1.0.0 90/2297856 via 192.168.1.2, 00:03:45, Serial0/0R1#ping 10.1.0.1 /驗證是否可以訪問R2 的網(wǎng)絡(luò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.1.0.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/56/104 msR1#ping 172
11、.16.0.1 /驗證是否可以訪問R3 的網(wǎng)絡(luò)Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 8/52/124 ms查看R2 的路由表:R2#show ip routeCodes: C connected, S static, R RIP, M mobile, B BGPD EIGRP, EX EIGRP external, O
12、OSPF, IA OSPF inter areaN1 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 summary, L1 IS-IS level-1, L2 IS-IS level-2ia IS-IS inter area, * candidate default, U per-user static routeo ODR, P periodic downloaded static routeGat
13、eway of last resort is not set10.0.0.0/24 is subnetted, 4 subnetsC 10.1.3.0 is directly connected, Loopback3C 10.1.2.0 is directly connected, Loopback2C 10.1.1.0 is directly connected, Loopback1C 10.1.0.0 is directly connected, Loopback0C 192.168.1.0/24 is directly connected, Serial0/0發(fā)現(xiàn)R2 并沒有學(xué)習(xí)到R3
14、的172.16.0.0 網(wǎng)絡(luò), R1 通過S0/0 接口學(xué)習(xí)到R3 宣告的172.16.0.0網(wǎng)絡(luò),因為R1 s0/0 接口的水平分割機(jī)制導(dǎo)致R1 不會再由這個接口S0/0 發(fā)布出去,所以R2無法學(xué)習(xí)到R3 宣告的網(wǎng)絡(luò),同理,R3 也無法學(xué)習(xí)到R2 宣告的網(wǎng)絡(luò)。對幀中繼配置進(jìn)行修正,使用broadcast 參數(shù):R1(config)#router eigrp 100R1(config-router)#no neighbor 192.168.1.2 s0/0 /取消手工指定鄰居*Mar 1 00:42:29.807: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Nei
15、ghbor 192.168.1.2 (Serial0/0) is down:R1(config-router)#no neighbor 192.168.1.3 s0/0*Mar 1 00:42:32.623: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is down:R1(config-router)#exitR1(config)#int s0/0R1(config-if)#no fram map ip 192.168.1.2 102 /取消之前不帶broadcast 參數(shù)的靜態(tài)映射R1(confi
16、g-if)#no fram map ip 192.168.1.3 103R1(config-if)#frame map ip 192.168.1.2 102 broadcastR1(config-if)#frame map ip 192.168.1.3 103 broadcastR1(config-if)#endR2(config)#router eigrp 100R2(config-router)#no neighbor 192.168.1.1 Serial0/0R2(config-router)#int s0/0R2(config-if)#no frame-relay map ip 192
17、.168.1.1 201R2(config-if)# frame-relay map ip 192.168.1.1 201 broadcastR3(config)#router eigrp 100R3(config-router)#no neighbor 192.168.1.1 Serial0/0R3(config-router)#int s0/0R3(config-if)#no*Mar 1 00:47:58.943: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is up: new adjacenc
18、yR3(config-if)#no frame-relay map ip 192.168.1.1 301R3(config-if)#frame-relay map ip 192.168.1.1 301 broadcastR3(config-if)#end驗證結(jié)果:可以看到添加了broadcast 后,幀中繼可以正常的傳遞組播數(shù)據(jù)了,R1 就可以和R2 和R3 建立鄰居關(guān)系并正常學(xué)習(xí)到路由。R1#show ip eigrp neighborsIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q S
19、eq(sec) (ms) Cnt Num1 192.168.1.3 Se0/0 178 00:00:03 906 5000 0 70 192.168.1.2 Se0/0 178 00:01:57 1040 5000 0 6R1#show ip route eigrp 100172.16.0.0/24 is subnetted, 4 subnetsD 172.16.0.0 90/2297856 via 192.168.1.3, 00:00:53, Serial0/0D 172.16.1.0 90/2297856 via 192.168.1.3, 00:00:53, Serial0/0D 172.
20、16.2.0 90/2297856 via 192.168.1.3, 00:00:53, Serial0/0D 172.16.3.0 90/2297856 via 192.168.1.3, 00:00:53, Serial0/010.0.0.0/24 is subnetted, 4 subnetsD 10.1.3.0 90/2297856 via 192.168.1.2, 00:02:46, Serial0/0D 10.1.2.0 90/2297856 via 192.168.1.2, 00:02:46, Serial0/0D 10.1.1.0 90/2297856 via 192.168.1
21、.2, 00:02:46, Serial0/0D 10.1.0.0 90/2297856 via 192.168.1.2, 00:02:46, Serial0/0查看R3 的路由表,發(fā)現(xiàn)R3 并沒有學(xué)習(xí)到R2 的網(wǎng)絡(luò),這是因為R1 默認(rèn)情況下接口有水平。R3#show ip routeCodes: C connected, S static, R RIP, M mobile, B BGPD EIGRP, EX EIGRP external, O OSPF, IA OSPF inter areaN1 OSPF NSSA external type 1, N2 OSPF NSSA external
22、 type 2E1 OSPF external type 1, E2 OSPF external type 2i IS-IS, su IS-IS summary, L1 IS-IS level-1, L2 IS-IS level-2ia IS-IS inter area, * candidate default, U per-user static routeo ODR, P periodic downloaded static routeGateway of last resort is not set172.16.0.0/24 is subnetted, 4 subnetsC 172.16
23、.0.0 is directly connected, Loopback0C 172.16.1.0 is directly connected, Loopback1C 172.16.2.0 is directly connected, Loopback2C 172.16.3.0 is directly connected, Loopback3C 192.168.1.0/24 is directly connected, Serial0/0將R1 接口的水平分割關(guān)閉:R1(config)#interface serial 0/0R1(config-if)#no ip split-horizon
24、eigrp 100R1(config-if)#end當(dāng)R1 的水平分割關(guān)閉后,EIGRP 進(jìn)程會出現(xiàn)相應(yīng)提示:*Mar 1 00:52:25.055: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is resync: split horizon changed*Mar 1 00:52:25.055: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is resync: split horizon changed查看R1 接口S0/0 的情況:R1#show ip int s0/0 | include SplitSplit horizon is disabled查看R2 的路由表:R2#show ip route eigrp 100172.16.0.0/24 is subnetted, 4 subnetsD 172.16.0.0 90/2809856 via 192.168.1.1, 00:08:03, Serial0/0D 172.16.1.0 90/28098
溫馨提示
- 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 光纜搬遷項目合同范例
- 合作入伙協(xié)議合同范例
- 光伏維護(hù)合同范本
- 公司委托代理轉(zhuǎn)讓合同范例
- 合作教育合同范例
- 黑龍江建筑職業(yè)技術(shù)學(xué)院《企業(yè)納稅籌劃》2023-2024學(xué)年第二學(xué)期期末試卷
- 臺州市天臺縣2025年數(shù)學(xué)四下期末統(tǒng)考模擬試題含解析
- 江西機(jī)電職業(yè)技術(shù)學(xué)院《復(fù)變函數(shù)與積分變換1》2023-2024學(xué)年第二學(xué)期期末試卷
- 西藏昌都地區(qū)洛隆縣2025屆數(shù)學(xué)三下期末綜合測試模擬試題含解析
- 江西工程學(xué)院《大數(shù)據(jù)開發(fā)框架》2023-2024學(xué)年第二學(xué)期期末試卷
- 綜述的寫作方法和技巧
- 區(qū)塊鏈與人工智能的融合
- TD/T 1047-2016 土地整治重大項目實施方案編制規(guī)程(正式版)
- 2023-2024學(xué)年高中政治統(tǒng)編版必修三第四課 人民民主專政的社會主義國家 同步練習(xí)
- 護(hù)理人員中醫(yī)技術(shù)使用手冊專業(yè)版
- 加溫毯在手術(shù)中的使用
- 風(fēng)力發(fā)電工程風(fēng)機(jī)安裝技術(shù)標(biāo)方案
- 2024年中國科學(xué)技術(shù)大學(xué)創(chuàng)新科學(xué)營測試數(shù)學(xué)試題真題
- 創(chuàng)新者的窘境讀書課件
- 任務(wù) 離心式壓縮機(jī)的性能曲線
- 海上風(fēng)電場選址與評估技術(shù)
評論
0/150
提交評論