实验07 IGRP非等值带宽的负载平衡

上传人:油条 文档编号:39832739 上传时间:2018-05-20 格式:DOC 页数:2 大小:693KB
返回 下载 相关 举报
实验07  IGRP非等值带宽的负载平衡_第1页
第1页 / 共2页
实验07  IGRP非等值带宽的负载平衡_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《实验07 IGRP非等值带宽的负载平衡》由会员分享,可在线阅读,更多相关《实验07 IGRP非等值带宽的负载平衡(2页珍藏版)》请在金锄头文库上搜索。

1、实验七实验七 通过通过 IGRP 路由协议实现非等值带宽的负载平衡路由协议实现非等值带宽的负载平衡实验要求实验要求:通过在两台路由器上配置IGRP 路由协议实现路由器之间非等值带宽的负载平衡。路由器路由器 R1 配置如下:配置如下: Router en 进入特权模式 Router # conf t 进入全局配置模式 Router # host R1 更改路由器名 R1 (config)# int lo1 进入了 loopback1 口 R1 (config-if)# ip add 1.1.1.1 255.255.255.0 R1 (config-if)# Z 直接退之特权模式 R1 #conf

2、ig 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 端时钟 R1 (config-if)# no shut 启用端口 R1 (config-if)# exit R1 (config)# router igrp 100 启用 IGRP 路由协议 R1 (config-router)# net 1.0.0.0.0 加入直连的网络号 R1 (config-router)# net 4.0.0.0 R1 (c

3、onfig-router)# net 2.0.0.0 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 (con

4、fig-if)# int s0 R2 (config-if)# ip add 2.2.2.2 255.255.255.0 R2 (config-if)# no shut R2 (config-if)# exitR2 (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-rout

5、er)# net 2.0.0.0 R2 (config-router)# variance 6 Router (config)# debug ip icmp 三实验结果:三实验结果:r1#pingr1#pingProtocolProtocol ip:ip:TargetTarget IPIP address:address: 3.3.3.13.3.3.1RepeatRepeat countcount 5:5: 1414DatagramDatagram sizesize 100:100:TimeoutTimeout inin secondsseconds 2:2:ExtendedExtended

6、commandscommands n:n:SweepSweep rangerange ofof sizessizes n:n:TypeType escapeescape sequencesequence toto abort.abort.SendingSending 14,14, 100-byte100-byte ICMPICMP EchosEchos toto 3.3.3.1,3.3.3.1, timeouttimeout isis 2 2 seconds:seconds:!SuccessSuccess raterate isis 100100 percentpercent (14/14),

7、(14/14), round-tripround-trip min/avg/maxmin/avg/max = = 8/14/408/14/40 msmsr1#r1#00:21:18:00:21:18: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 3.3.3.1,3.3.3.1, dstdst 4.4.4.1#4.4.4.1#00:21:18:00:21:18: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 3.3.3.1,3.3.3.1, dstdst 2.2.2.12.2.2.100:2

8、1:18:00:21:18: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 3.3.3.1,3.3.3.1, dstdst 4.4.4.1#4.4.4.1#00:21:18:00:21:18: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 3.3.3.1,3.3.3.1, dstdst 2.2.2.12.2.2.1R2#pingR2#pingProtocolProtocol ip:ip:TargetTarget IPIP address:address: 1.1.1.11.1.1.1Repe

9、atRepeat countcount 5:5: 1414DatagramDatagram sizesize 100:100:TimeoutTimeout inin secondsseconds 2:2:ExtendedExtended commandscommands n:n:SweepSweep rangerange ofof sizessizes n:n:TypeType escapeescape sequencesequence toto abort.abort.SendingSending 14,14, 100-byte100-byte ICMPICMP EchosEchos tot

10、o 1.1.1.1,1.1.1.1, timeouttimeout isis 2 2 seconds:seconds:!SuccessSuccess raterate isis 100100 percentpercent (14/14),(14/14), round-tripround-trip min/avg/maxmin/avg/max = = 8/15/448/15/44 msmsR2#R2#00:30:26:00:30:26: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 1.1.1.1,1.1.1.1, dstdst 4.4.4.2

11、#4.4.4.2#00:30:26:00:30:26: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 1.1.1.1,1.1.1.1, dstdst 2.2.2.22.2.2.200:30:26:00:30:26: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 1.1.1.1,1.1.1.1, dstdst 4.4.4.2#4.4.4.2#00:30:26:00:30:26: ICMP:ICMP: echoecho replyreply rcvd,rcvd, srcsrc 1.1.1.1,1.1.1.1, dstdst 2.2.2.22.2.2.2

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号