版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、RIP實(shí)現(xiàn)等開銷負(fù)載均衡RIP的等幵銷負(fù)載均衡實(shí)驗(yàn)說明:通過使用debug命令基于每個(gè)分組和每個(gè)目的地來考察等開銷負(fù) 載均衡。實(shí)驗(yàn)配置:r1#sh runin terface Ether netOip address 10.0.0.1 255.255.255.0!in terface Serial。ip address 192.168.1.2 255.255.255.0!router ripnetwork 10.0.0.0 network 192.168.1.0*r2#sh runinterface Loopback0ip address 192.168.3.2 255.255.255.0 s
2、econdaryip address 192.168.3.1 255.255.255.0!interface Serial0ip address 192.168.1.1 255.255.255.0clockrate 64000!interface Serial1ip address 192.168.2.1 255.255.255.0clockrate 64000!router ripnetwork 192.168.1.0network 192.168.2.0network 192.168.3.0!*r3#sh runinterface Ethernet0ip address 10.0.0.2
3、255.255.255.0!interface Serial1ip address 192.168.2.2 255.255.255.0router ripnetwork 10.0.0.0network 192.168.2.0!* *r2#sh ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2
4、 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setR 10.0.0.0/
5、8 120/1 via 192.168.1.2, 00:00:23, Serial0120/1 via 192.168.2.2, 00:00:19, Serial1C 192.168.1.0/24 is directly connected, Serial0C 192.168.2.0/24 is directly connected, Serial1C 192.168.3.0/24 is directly connected, Loopback0*在R2的SO和S1上使用進(jìn)程交換方式r2(config)#int s0 r2(config)#no ip route-cache r2(config
6、)#int s1 r2(config)#no ip route-cacher2#sh ip int s0 Serial0 is up, line protocol is up Internet address is 192.168.1.1/24 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Multicast reserved
7、 groups joined: 224.0.0.9 Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled快速交換方式已經(jīng)關(guān)閉,現(xiàn)
8、在為進(jìn)程交換方式IP fast switching on the same interface is disabled IP Flow switching is disabledIP Null turbo vector IP multicast fast switching is disabled IP multicast distributed fast switching is disabledIP route-cache flags are NoneRouter Discovery is disabledIP output packet accounting is disabledIP
9、access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledProbe proxy name replies are disabledPolicy routing is disabledNetwork address translation is disabledWCCP Redirect outbound is disabledWCCP Redirect exclude is disabledBGP Policy Mapping
10、 is disabled*檢驗(yàn)負(fù)載均衡的效果r2#debug ip packetr2#pingProtocol ip:Target IP address: 10.0.0.1Repeat count 5:Datagram size 100:Timeout in seconds 2:Extended commands n: ySource address or interface: 192.168.3.1Type of service 0:Set DF bit in IP header? no:Validate reply data? no:Data pattern 0xABCD:Loose, S
11、trict, Record, Timestamp, Verbosenone:Sweep range of sizes n:Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds: !Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms00:59:05: IP: s=192.168.3.1 (local), d=10.0.0.1 (Serial0), len 100, sen
12、ding00:59:05: IP: s=10.0.0.1 (Serial0), d=192.168.3.1, len 100, rcvd 400:59:05: IP: s=192.168.3.1 (local), d=10.0.0.1 (Serial1), len 100, sending00:59:05: IP: s=10.0.0.1 (Serial0), d=192.168.3.1, len 100, rcvd 400:59:05: IP: s=192.168.3.1 (local), d=10.0.0.1 (Serial0), len 100, sending00:59:05: IP:
13、s=10.0.0.1 (Serial0), d=192.168.3.1, len 100, rcvd 400:59:05: IP: s=192.168.3.1 (local), d=10.0.0.1 (Serial1), len 100, sending00:59:05: IP: s=10.0.0.1 (Serial0), d=192.168.3.1, len 100, rcvd 400:59:05: IP: s=192.168.3.1 (local), d=10.0.0.1 (Serial0), len 100, sending00:59:05: IP: s=10.0.0.1 (Serial
14、0), d=192.168.3.1, len 100, rcvd 4 經(jīng)過仔細(xì)的查找,終于找到了 ping 請求和應(yīng)答產(chǎn)生的 debug 信息。查找分組發(fā)送 時(shí)所經(jīng)過的接口,我們看到 R2的SO和S2被交替使用,可見RIP已經(jīng)實(shí)現(xiàn)負(fù)載均 衡。剛才我們注意到 ping 產(chǎn)生的 debug 信息和路由更新等產(chǎn)生的 debug 信息混雜 在一起,非常不利于我們的查看,要讓 debug 僅僅輸出 ping 產(chǎn)生的信息,就要使 用ACL匹配debug 一起使用。r2(config)#access-list 101 permit ICMP any 10.0.0.0 0.255.255.255 r2#deb
15、ug ip packet 101/ 只顯示匹配 ACL101 的 debug 信息r2#ping 10.0.0.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds: !Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 msr2#01:21:52: IP: s=192.168.2.1 (local), d=10.0.0.1 (Serial1), len 100,sendi
16、ng01:21:52: IP: s=192.168.1.1 (local), d=10.0.0.1 (Serial0), len 100,sending01:21:52: IP: s=192.168.2.1 (local), d=10.0.0.1 (Serial1), len 100,sending01:21:52: IP: s=192.168.1.1 (local), d=10.0.0.1 (Serial0), len 100,sending01:21:52: IP: s=192.168.2.1 (local), d=10.0.0.1 (Serial1), len 100,sending可以看到現(xiàn)在debug信息只會(huì)顯示Ping所產(chǎn)生的信息,并且目的地為10.0.0.0 的 ping 命令。*以上驗(yàn)證了基于分組的負(fù)載均衡(在SO和S1上啟用進(jìn)程交換方式,強(qiáng)制路由器為每一個(gè)要進(jìn)行的分組在
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 非洲概述課件教學(xué)課件
- 青竹湖湘一外國語學(xué)校九年級(jí)上學(xué)期語文第一次月考試卷
- 創(chuàng)意妝課件教學(xué)課件
- 三年級(jí)數(shù)學(xué)計(jì)算題專項(xiàng)練習(xí)匯編及答案
- 考編面試協(xié)議書(2篇)
- 《數(shù)學(xué)物理方法》第7章測試題
- 南京航空航天大學(xué)《彈性力學(xué)基礎(chǔ)》2022-2023學(xué)年第一學(xué)期期末試卷
- 南京工業(yè)大學(xué)浦江學(xué)院《現(xiàn)代企業(yè)管理》2023-2024學(xué)年第一學(xué)期期末試卷
- 南京工業(yè)大學(xué)浦江學(xué)院《設(shè)計(jì)史》2021-2022學(xué)年第一學(xué)期期末試卷
- 交通配套設(shè)施(標(biāo)線、標(biāo)志、交通信號(hào)燈)工程施工組織設(shè)計(jì)
- 儒林外史1-56回概括
- 中國傳統(tǒng)村落檔案
- 小星星幼兒園班級(jí)教玩具統(tǒng)計(jì)表
- 水泥土攪拌樁監(jiān)理實(shí)施細(xì)則
- 幼兒園優(yōu)質(zhì)課件-中班《稻子和麥子》
- 幼兒成長檔案電子通用版
- 踝關(guān)節(jié)外側(cè)慢性不穩(wěn):修復(fù)或重建?課件
- 菜糧基地高標(biāo)準(zhǔn)農(nóng)田建設(shè)項(xiàng)目蓄水池施工方案
- 《碳纖維片材加固混凝土結(jié)構(gòu)技術(shù)規(guī)程》(2022年版)
- 某中學(xué)體育田徑跑道足球場項(xiàng)目監(jiān)理細(xì)則
- 簡約表格個(gè)人簡歷模板-05
評(píng)論
0/150
提交評(píng)論