EIGRP负载均衡

EIGRP 负载均衡


1、EIGRP等价负载均衡实现方法
2、EIGRP非等价负载均衡实现方法
3、修改EIGRP度量方法
4、可行距离(FD)
     通告距离(RD)
     可行性条件(FC)

详细过程:

1、配置各台路由器的IP地址,并且使用ping命令确认个路由器的直连口的互通性。

2、在三台路由配置EIGRP自治系统编号50。

R1(config)#inte f0/0
R1(config-if)#ip add 172.16.1.9 255.255.255.252
R1(config-if)#no shu

R1(config-if)#inter f1/1
R1(config-if)#ip add 172.16.1.1 255.255.255.252
R1(config-if)#no shu

R1(config-if)#exit
R1(config)#router eigrp 50
R1(config-router)#net 172.16.0.0
R1(config-router)#no au


R2(config)#inter f1/0
R2(config-if)#ip add 172.16.1.2 255.255.255.252
R2(config-if)#no shu

R2(config-if)#inte f1/1
R2(config-if)#ip add 172.16.1.5 255.255.255.252
R2(config-if)#no shu

R2(config)#router eigrp 50
R2(config-router)#net 172.16.0.0

 

R3(config)#inter f0/0
R3(config-if)#ip add 172.16.1.10 255.255.255.252
R3(config-if)#no shu

R3(config-if)#int f1/0
R3(config-if)#ip add 172.16.1.6 255.255.255.252
R3(config-if)#no shu

R3(config-if)#inte loo 0
R3(config-if)#ip add 192.168.1.1 255.255.255.0
R3(config)#route eigrp 50
R3(config-router)#net 172.16.0.0
R3(config-router)#net 192.168.1.0

 

3、观察P1到达R3的192.168.1.0/24网络的路由
R#show ip route


到达192.168.1.0的网络的下一跳为172.16.1.10

4、为了提高网络传输性能,需要同时使用下一跳为172.16.1.2的路由,即使用另外一条metric值不相等的路径做均衡负载。

5、如果需要使用另外一条路径,则需要确保R2成为R1到达192.168.1.0/24网络的可行后继(FS),要想成为FS,则需要满足可行条件(FC)

确定FC公式:

AD of secondary_best route <FD of best route(Successor)=Feasible Successor

R1:show ip eigrp topology all-links


P 172.16.1.8/30, 1 successors, FD is 28160
         via Connected, FastEthernet0/0
P 172.16.1.0/30, 1 successors, FD is 28160
         via Connected, FastEthernet1/1
P 172.16.1.4/30, 2 successors, FD is 30720
         via 172.16.1.2 (30720/28160), FastEthernet1/1
         via 172.16.1.10 (30720/28160), FastEthernet0/0
P 192.168.1.0/24, 1 successors, FD is 156160
         via 172.16.1.10 (156160/128256), FastEthernet0/0
         via 172.16.1.2 (158720/156160), FastEthernet1/1

 R2到达192.168.1.0网络的Distance<156160

6、配置R2的EIGRP的度量,确保R2成为R1的可行后继者

R2#conf t

R2(config)#inter f1/1

R2#(config-if)#bandwidth 10000000

R2#(config-if)#delay 10

R2(config)#exit

(通过修改R2到R3的串行口的带宽好延迟,确保R2到达192.168.1.0/24的网络的FD变小。此值在R1上显示为AD)

 

7、查看R1的拓扑表

 P 192.168.1.0/24, 2 successors, FD is 156160
 < wbr>        via 172.16.1.10 (156160/128256), FastEthernet0/0
         via 172.16.1.2 (158720/130816), FastEthernet1/1

 

8、根据如下公式配置R1的EIGRP的variance值

FD of FS route< FD of best route(Successor)*Varince

         2300416<156160* x   x~14.73

所以将R1的variance值修改为15后,观察路由表

R1#(config)#router eigrp 50

R1#(config-router)#variance 15

R1#(config-router)#exit

R1#clear ip router

R1#show ip route

      172.16.0.0/30 is subnetted, 3 subnets
      172.16.1.0 is directly connected, FastEthernet1/1
      172.16.1.4 [90/30720] via 172.16.1.10, 00:04:38, FastEthernet0/0
                   [90/30720] via 172.16.1.2, 00:04:38, FastEthernet1/1
      172.16.1.8 is directly connected, FastEthernet0/0
   192.168.1.0/24 [90/156160] via 172.16.1.10, 00:04:38, FastEthernet0/0

                     [90/2300416] via 172.16.1.2, 00:04:38, FastEthernet1/1

posted on 2010-06-10 13:58  QinZeng  阅读(2459)  评论(0)    收藏  举报

导航