您現在的位置: test4exam >> 計算機考試 >> CISCO認證 >> 正文
實(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
R1 (config-if)# ^Z 直接退之特權模式
R1 #config t
R1 (config)# int s0 配置S0口
R1 (config-if)# ip add
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
R1 (config-router)# net
R1 (config-router)# net
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
R2 (config-if)# no shut
R2 (config-if)# exit
R2 (config)# int lo1
R2 (config-if)# ip add
R2 (config-if)# exit
R2 (config)# router igrp 100
R2 (config-router)# net
R2 (config-router)# net
R2 (config-router)# net
R2 (config-router)# variance 6
Router (config)# debug ip icmp
三.實(shí)驗結果:
r1#ping
Protocol [ip]:
Target IP address:
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
!!!!!!!!!!!!!!
Success rate is 100 percent (14/14), round-trip min/avg/max =
r1#
00:21:18: ICMP: echo reply rcvd, src
00:21:18: ICMP: echo reply rcvd, src
00:21:18: ICMP: echo reply rcvd, src
00:21:18: ICMP: echo reply rcvd, src
R2#ping
Protocol [ip]:
Target IP address:
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
!!!!!!!!!!!!!!
Success rate is 100 percent (14/14), round-trip min/avg/max =
R2#
00:30:26: ICMP: echo reply rcvd, src
00:30:26: ICMP: echo reply rcvd, src
00:30:26: ICMP: echo reply rcvd, src
Copyright ©2013-2015 江浙滬招生考試網(wǎng) All Rights Reserved.
地址: 蘇州市姑蘇區閶胥路483號(工投創(chuàng )業(yè)園) 電話(huà):0512-85551931 郵編: 214000
郵箱: [email protected] 版權所有:蘇州邁峰教育科技有限公司 蘇ICP備15050684號-2