中文在线免费看视频,欧美日韩亚洲二区在线,亚洲视频欧洲视频,国产中文字幕一区

您好,歡迎來(lái)到江浙滬招生考試網(wǎng) !

設為首頁(yè)|加入收藏|聯(lián)系我們|網(wǎng)站地圖|

江浙滬招生考試網(wǎng)

您現在的位置: test4exam >> 計算機考試 >> CISCO認證 >> 正文

通過(guò)IGRP路由協(xié)議實(shí)現非等值帶寬的負載平衡

日期:2009/10/6 13:38:15 來(lái)源:本站原創(chuàng ) 訪(fǎng)問(wèn)量:

實(shí)驗要求:

  通過(guò)在兩臺路由器上配置IGRP路由協(xié)議實(shí)現路由器之間非等值帶寬的負載平衡。

  

路由器R1配置如下:

Router > en                                                   進(jìn)入特權模式

Router # conf t                                                進(jìn)入全局配置模式

Router # host R1                                               更改路由器名

R1 (config)# int lo1                                            進(jìn)入了loopback1

R1 (config-if)# ip add 1.1.1.1 255.255.255.0   

R1 (config-if)# ^Z                                              直接退之特權模式

R1 #config t

R1 (config)# int s0                                              配置S0

R1 (config-if)# ip add 2.2.2.1 255.255.255.0                         配置IP

R1 (config-if)# clock rate 56000                                   配置DCE端時(shí)鐘

R1 (config-if)# no shut                                          啟用端口

R1 (config-if)# exit

R1 (config)# router igrp 100                                      啟用IGRP路由協(xié)議

R1 (config-router)# net 1.0.0.0.0                                  加入直連的網(wǎng)絡(luò )號

R1 (config-router)# net 4.0.0.0

R1 (config-router)# net 2.0.0.0

R1 (config-router)#variance 6                                     設置variance值,可以在路徑間啟用負載平衡,把值設成6的依據是用低速帶寬的METRIC值除高速帶寬METRIC值,如何看到低速帶寬的METRIC值呢(因路由表缺省只顯示最優(yōu)路由)?把高速帶寬的端口禁用,就可看到低速帶寬的METRIC值了

R1 (config)# debug ip icmp

路由器R2配置如下

Router> en

Router# config t

Router (config)# host R2

R2 (config-if)# int s0

R2 (config-if)# ip add 2.2.2.2  255.255.255.0

R2 (config-if)# no shut

R2 (config-if)# exit

R2 (config)# int lo1

R2 (config-if)# ip add 4.4.4.2 255.255.255.0

R2 (config-if)# exit

R2 (config)# router igrp 100

R2 (config-router)# net 3.0.0.0

R2 (config-router)# net 4.0.0.0

R2 (config-router)# net 2.0.0.0

R2 (config-router)# variance 6

Router (config)# debug ip icmp

三.實(shí)驗結果:

r1#ping

Protocol [ip]:

Target IP address: 3.3.3.1

Repeat count [5]: 14

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 14, 100-byte ICMP Echos to 3.3.3.1, timeout is 2 seconds:

!!!!!!!!!!!!!!

Success rate is 100 percent (14/14), round-trip min/avg/max = 8/14/40 ms

r1#

00:21:18: ICMP: echo reply rcvd, src 3.3.3.1, dst 4.4.4.1#####

00:21:18: ICMP: echo reply rcvd, src 3.3.3.1, dst 2.2.2.1

00:21:18: ICMP: echo reply rcvd, src 3.3.3.1, dst 4.4.4.1#####

00:21:18: ICMP: echo reply rcvd, src 3.3.3.1, dst 2.2.2.1

R2#ping

Protocol [ip]:

Target IP address: 1.1.1.1

Repeat count [5]: 14

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 14, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:

!!!!!!!!!!!!!!

Success rate is 100 percent (14/14), round-trip min/avg/max = 8/15/44 ms

R2#

00:30:26: ICMP: echo reply rcvd, src 1.1.1.1, dst 4.4.4.2#####

00:30:26: ICMP: echo reply rcvd, src 1.1.1.1, dst 2.2.2.2

00:30:26: ICMP: echo reply rcvd, src 1.1.1.1, dst 4.4.4.2#####

00:30:26: ICMP: echo reply rcvd, src 1.1.1.1, dst 2.2.2.2
相關(guān)閱讀
·推薦文章

Copyright ©2013-2015 江浙滬招生考試網(wǎng) All Rights Reserved.
地址: 蘇州市姑蘇區閶胥路483號(工投創(chuàng )業(yè)園)  電話(huà):0512-85551931 郵編: 214000
郵箱: [email protected] 版權所有:蘇州邁峰教育科技有限公司 蘇ICP備15050684號-2