注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 伤离别,痛英年早逝,愿天..
 帮助

EIGRP的不等价负载均衡


2007-03-21 10:14:27
 标签:负载均衡 EIGRP   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
 
实验步骤及要求:
1、配置各台路由器的IP地址,并且使用Ping命令确认两台路由器的直连口的互通性。
2、在三台路由配置EIGRP自治系统编号为50
3、观察r1到达R3192.168.1.0/24网络的路由。
r1#sh ip route
 
     172.16.0.0/30 is subnetted, 3 subnets
C       172.16.1.8 is directly connected, FastEthernet0/0
D       172.16.1.4 [90/2172416] via 172.16.1.10, 00:00:11, FastEthernet0/0
C       172.16.1.0 is directly connected, Serial1/1
D    192.168.1.0/24 [90/156160] via 172.16.1.10, 00:00:11, FastEthernet0/0
r1#
4、为了提高网络传输性能,需要同时使用下一跳为172.16.1.2的路由,即使用另外一条metric值不相等的路径做均衡负载。
5、如果需要使用另外一条路径,则需要确保r2成为r1到达192.168.1.0/24网络的可行后继(FS),要想成为FS,则需要满足可行条件(FC)
6、在r1上查看EIGRP的拓扑表,没有发现r2出现在r1的拓扑表中。
r1#show ip eigrp 50 topology
.....
        via 172.16.1.10 (156160/128256), FastEthernet0/0 
P 172.16.1.8/30, 1 successors, FD is 28160
        via Connected, FastEthernet0/0
......
7、查看完整的拓扑表内容。
r1#show ip eigrp 50 topology all-links
.....
P 192.168.1.0/24, 1 successors, FD is 156160, serno 6
        via 172.16.1.10 (156160/128256), FastEthernet0/0
.....
8、确认FC(可行条件)公式:
AD of secondary-best route < FD of best route(Successor) = Feasible Successor
根据本例可得出:
R2到达192.168.1.0网络的Distance < 156160
9、配置r2EIGRP的度量,确保r2成为r1的可行后继者。
r2#configure terminal
r2(config)#interface serial 1/1
r2(config-if)#bandwidth 10000000 
r2(config-if)#delay 10
r2(config)#exit
10、查看r1的拓扑表。
r1#sh ip eigrp topology all-links
.....
P 192.168.1.0/24, 1 successors, FD is 156160, serno 6
        via 172.16.1.10 (156160/128256), FastEthernet0/0
.....
11、根据如下公式配置r1EIGRPvariance值。
FD of FS route < FD of best route(Successor) * Varince
根据公式可得出:
2300416 < 156160 * x
x≈14.73
12、为了测试,先在r1上配置variance值为14,观察路由表。
r1(config)#router eigrp 50
r1(config-router)#variance 14
r1(config-router)#exit
r1(config)#exit
r1#clear ip router *
r1#show ip route
.....
C       172.16.1.0 is directly connected, Serial1/1
 .....
r1#
13、将r1variance值修改为15后,观察路由表。
r1(config)#router eigrp 50
r1(config-router)#variance 15
r1(config-router)#exit
r1(config)#exit
r1#clear ip router *
r1#show ip route
.....
C       172.16.1.0 is directly connected, Serial1/1
D    192.168.1.0/24 [90/156160] via 172.16.1.10, 00:00:01, FastEthernet0/0
                       [90/2300416] via 172.16.1.2, 00:00:01, Serial1/1 
r1#
14、实验完成。

本文出自 “MY Internetwork Tech” 博客,谢绝转载!





    文章评论
 
2007-03-21 11:29:02
楼主的拓扑呢?

2007-03-22 09:28:45
博主的图片好像没有上传成功,贴图技巧请见:http://51ctoblog.blog.51cto.com/blog/26414/10937

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: