您现在的位置: test4exam >> 计算机考试 >> CISCO认证 >> 正文
实验要求:
通过在两台路由器上配置IGRP路由协议实现路由器之间非等值带宽的负载平衡。
路由器R1配置如下:
Router > en 进入特权模式
Router # conf t 进入全局配置模式
Router # host R1 更改路由器名
R1 (config)# int lo1 进入了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端时钟
R1 (config-if)# no shut 启用端口
R1 (config-if)# exit
R1 (config)# router igrp 100 启用IGRP路由协议
R1 (config-router)# net
R1 (config-router)# net
R1 (config-router)# net
R1 (config-router)#variance 6 设置variance值,可以在路径间启用负载平衡,把值设成6的依据是用低速带宽的METRIC值除高速带宽的METRIC值,如何看到低速带宽的METRIC值呢(因路由表缺省只显示最优路由)?把高速带宽的端口禁用,就可看到低速带宽的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
三.实验结果:
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
上一篇:路由器的简单配置(ccna实验)
下一篇:ACL的配置(ccna实验)
Copyright ©2013-2015 江浙沪招生考试网 All Rights Reserved.
地址: 苏州市姑苏区阊胥路483号(工投创业园) 电话:0512-85551931 邮编: 214000
邮箱: [email protected] 版权所有:苏州迈峰教育科技有限公司 苏ICP备15050684号-2