雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2100|回复: 4

[讨论/求助] 请帮忙解答关于EIGRP的不等价负载均衡

[复制链接]
发表于 2010-8-17 14:43:17 | 显示全部楼层 |阅读模式



配置了EIGRP 100  在r1上起了lo 0:1.1.1.1/24,r4上lo 0:4.4.4.4/24     配置已经使得从1.1.1.1可以ping通任意图中的地址

在r3上:shou ip eigrp to(看拓扑表)如下:
P 1.1.1.0/24, 1 successors, FD is 158720
        via 23.1.1.2 (158720/156160), FastEthernet2/0
        via 13.1.1.1 (2297856/128256), Serial1/0
P 4.4.4.0/24, 1 successors, FD is 2297856
        via 34.1.1.4 (2297856/128256), Serial1/1
P 12.1.1.0/24, 1 successors, FD is 30720
        via 23.1.1.2 (30720/28160), FastEthernet2/0
        via 13.1.1.1 (2172416/28160), Serial1/0
P 13.1.1.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0
P 23.1.1.0/24, 1 successors, FD is 28160
        via Connected, FastEthernet2/0
P 34.1.1.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/1


在r3上:sh ip route (路由表)如下:
     34.0.0.0/24 is subnetted, 1 subnets
C       34.1.1.0 is directly connected, Serial1/1
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/158720] via 23.1.1.2, 00:17:56, FastEthernet2/0
                [90/2297856] via 13.1.1.1, 00:17:56, Serial1/0
     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [90/2297856] via 34.1.1.4, 00:17:56, Serial1/1
     23.0.0.0/24 is subnetted, 1 subnets
C       23.1.1.0 is directly connected, FastEthernet2/0
     12.0.0.0/24 is subnetted, 1 subnets
D       12.1.1.0 [90/30720] via 23.1.1.2, 00:17:56, FastEthernet2/0
                 [90/2172416] via 13.1.1.1, 00:17:56, Serial1/0
     13.0.0.0/24 is subnetted, 1 subnets
C       13.1.1.0 is directly connected, Serial1/0

我在router ei 100 (路由模式下配置了):

variance 80
network 13.1.1.0 0.0.0.255
network 23.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255
no auto-summary


在r3上的访问控制列表(用来看ping包的情况):
ip access-list extended acl
permit ip host 13.1.1.1 host 4.4.4.4
permit ip host 12.1.1.1 host 4.4.4.4
permit ip any any

在r3的s1/0和f2/0都配置了:ip access-group acl in

最后在r3全局上配置了:no ip cef

在r3上:sh ip route 1.1.1.0如下:
Routing entry for 1.1.1.0/24
  Known via "eigrp 100", distance 90, metric 158720, type internal
  Redistributing via eigrp 100
  Last ** ** 13.1.1.1 on Serial1/0, 00:23:28 ago
  Routing Descriptor Blocks:
  * 23.1.1.2, ** 23.1.1.2, 00:23:28 ago, via FastEthernet2/0
      Route metric is 158720, traffic share ** is 240
      Total delay is 5200 microseconds, minimum bandwidth is 100000 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 2
    13.1.1.1, ** 13.1.1.1, 00:23:28 ago, via Serial1/0
      Route metric is 2297856, traffic share ** is 17
      Total delay is 25000 microseconds, minimum bandwidth is 1544 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 1


根据以上的配置  得到的结果 :应该可以实现EIGRP的不等价负载均衡,,,,可是我在r1上通过扩展ping (257包) 4.4.4.4   
在r3上:sh ip access-lists如下:
   10 permit ip host 13.1.1.1 host 4.4.4.4
    20 permit ip host 12.1.1.1 host 4.4.4.4 (258 matches)
    30 permit ip any any (28 matches)

通过13.1.1.1 的包没有,全部走了12.1.1.1 了  请问哪里出错了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2010-8-17 20:47:38 | 显示全部楼层
您要实现R1到R4的不等价负载均衡?
variance 80
配置在哪个路由器上?
发表于 2010-8-17 22:29:28 | 显示全部楼层
楼主。。。你应该把variance配置在R1上。。。这个是本地有效的。。。
发表于 2010-8-18 01:12:08 | 显示全部楼层
记得有条命令   
可以直接看哪个端口走了多少数据包
命令具体忘记了
发表于 2010-9-6 13:10:46 | 显示全部楼层
回复 4# 路西法


    是不是 sh int XXX stats?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-10-6 06:29 , Processed in 0.083503 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表