设为首页收藏本站language 语言切换
查看: 2294|回复: 14
收起左侧

[求助] 关于EIGRP非等价负载均衡的问题?

[复制链接]
发表于 2016-5-15 16:02:41 | 显示全部楼层 |阅读模式
3鸿鹄币
关于这张拓扑,R2和R3用serial线和快速以太网线连接,上面是Serial,2.0网络,下面是F1/0网络,3.0网络。
现在,我们将图上的所有接口都宣告进eigrp 90当中。查看路由表和配置信息:
Gateway of last resort is not set

      1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        1.1.1.0/24 is directly connected, Loopback1
L        1.1.1.1/32 is directly connected, Loopback1
      3.0.0.0/24 is subnetted, 1 subnets
D        3.3.3.0 [90/2300416] via 192.168.1.2, 00:00:13, Serial2/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, Serial2/0
L        192.168.1.1/32 is directly connected, Serial2/0
D     192.168.2.0/24 [90/2681856] via 192.168.1.2, 00:00:42, Serial2/0
D     192.168.3.0/24 [90/2172416] via 192.168.1.2, 00:01:04, Serial2/0
R1#      



Gateway of last resort is not set

      1.0.0.0/24 is subnetted, 1 subnets
D        1.1.1.0 [90/2297856] via 192.168.1.1, 00:00:25, Serial2/0
      3.0.0.0/24 is subnetted, 1 subnets
D        3.3.3.0 [90/156160] via 192.168.3.2, 00:00:25, FastEthernet1/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, Serial2/0
L        192.168.1.2/32 is directly connected, Serial2/0
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, Serial2/1
L        192.168.2.1/32 is directly connected, Serial2/1
      192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.3.0/24 is directly connected, FastEthernet1/0
L        192.168.3.1/32 is directly connected, FastEthernet1/0
R2#




Gateway of last resort is not set

      1.0.0.0/24 is subnetted, 1 subnets
D        1.1.1.0 [90/2300416] via 192.168.3.1, 00:05:54, FastEthernet1/0
      3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        3.3.3.0/24 is directly connected, Loopback1
L        3.3.3.3/32 is directly connected, Loopback1
D     192.168.1.0/24 [90/2172416] via 192.168.3.1, 00:05:54, FastEthernet1/0
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, Serial2/1
L        192.168.2.2/32 is directly connected, Serial2/1
      192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.3.0/24 is directly connected, FastEthernet1/0
L        192.168.3.2/32 is directly connected, FastEthernet1/0
R3#

我们来看R2的路由表,去往R3上的3.3.3.3网络的走的是下面的快速以太网线缆,下一跳为192.168.3.2,但是现在呢我们想要其负载均衡。
我们在R2上show ip eigrp topology 查看可行后继路由条目:
R2#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(90)/ID(192.168.3.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 192.168.3.0/24, 1 successors, FD is 28160
        via Connected, FastEthernet1/0
P 192.168.2.0/24, 1 successors, FD is 2169856
        via Connected, Serial2/1
P 192.168.1.0/24, 1 successors, FD is 2169856
        via Connected, Serial2/0
P 3.3.3.0/24, 1 successors, FD is 156160
        via 192.168.3.2 (156160/128256), FastEthernet1/0
        via 192.168.2.2 (2297856/128256), Serial2/1
P 1.1.1.0/24, 1 successors, FD is 2297856
        via 192.168.1.1 (2297856/128256), Serial2/0

R2#

发现有一条可行后继路由,通过2.2来走,我们用可行后继的FD去除以后继路由的FD等于14.多,然后取整为15.
router eigrp 90
variance 15
配置了如下命令之后,查看路由表:
Gateway of last resort is not set

      1.0.0.0/24 is subnetted, 1 subnets
D        1.1.1.0 [90/2812416] via 192.168.2.2, 00:00:05, Serial2/1
                 [90/2297856] via 192.168.1.1, 00:00:05, Serial2/0
      3.0.0.0/24 is subnetted, 1 subnets
D        3.3.3.0 [90/156160] via 192.168.3.2, 00:00:05, FastEthernet1/0
                 [90/2297856] via 192.168.2.2, 00:00:05, Serial2/1
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, Serial2/0
L        192.168.1.2/32 is directly connected, Serial2/0
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, Serial2/1
L        192.168.2.1/32 is directly connected, Serial2/1
      192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.3.0/24 is directly connected, FastEthernet1/0
L        192.168.3.1/32 is directly connected, FastEthernet1/0
R2#   

我们发现去往3.3.3.0网络正常的负载均衡了,但是去往1.1.1.0网络呢,怎么也多了一条路由,开始往R3方向走了,下一跳为2.2,这个不正确啊。
大家来看看,帮忙看下是什么原因?
捕获.PNG

最佳答案

查看完整内容

Router# show ve rsi on Router uptime is 20 weeks , 5 days , 33 minutes System returned to ROM by power-on
发表于 2016-5-15 16:02:42 | 显示全部楼层
Router# show ve rsi on Router uptime is 20 weeks , 5 days , 33 minutes System returned to ROM by power-on
沙发 2016-5-15 16:02:42 回复 收起回复
回复

使用道具 举报

发表于 2016-5-15 16:17:57 | 显示全部楼层
有收获,
板凳 2016-5-15 16:17:57 回复 收起回复
回复

使用道具 举报

发表于 2016-5-15 16:28:36 | 显示全部楼层
地板 2016-5-15 16:28:36 回复 收起回复
回复

使用道具 举报

发表于 2016-5-15 16:37:22 | 显示全部楼层
5# 2016-5-15 16:37:22 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-5-15 16:48:15 | 显示全部楼层

啊哈,那怎么解决?这是怎么回事?
6# 2016-5-15 16:48:15 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-5-15 16:48:26 | 显示全部楼层

啊哈,那怎么解决?这是怎么回事?
7# 2016-5-15 16:48:26 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-5-15 16:48:41 | 显示全部楼层
@小蝴蝶 发表于 2016-5-15 16:37
Router# show ve rsi on Router uptime is 20 weeks , 5 days , 33 minutes System returned to ROM by pow ...

啊哈,那怎么解决?这是怎么回事?
8# 2016-5-15 16:48:41 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-5-15 16:48:50 | 显示全部楼层
@小蝴蝶 发表于 2016-5-15 16:37
Router# show ve rsi on Router uptime is 20 weeks , 5 days , 33 minutes System returned to ROM by pow ...

啊哈,那怎么解决?这是怎么回事??
9# 2016-5-15 16:48:50 回复 收起回复
回复

使用道具 举报

发表于 2016-5-15 19:43:11 | 显示全部楼层
我用GNS3 IOU做了这个实验,没有出现你这种问题呀。

      2.0.0.0/24 is subnetted, 1 subnets
D        2.2.2.0 [90/13556702] via 12.1.1.2, 00:01:19, Serial1/0
      3.0.0.0/24 is subnetted, 1 subnets
D        3.3.3.0 [90/1024640] via 31.1.1.3, 00:01:19, Ethernet0/1
                 [90/13556702] via 13.1.1.3, 00:01:19, Serial1/1
10# 2016-5-15 19:43:11 回复 收起回复
回复

使用道具 举报

发表于 2016-5-18 11:36:01 | 显示全部楼层
shenxian 发表于 2016-5-15 19:43
我用GNS3 IOU做了这个实验,没有出现你这种问题呀。

      2.0.0.0/24 is subnetted, 1 subnets

那你现在问题解决了吗?
11# 2016-5-18 11:36:01 回复 收起回复
回复

使用道具 举报

发表于 2016-5-18 11:36:33 | 显示全部楼层
ccnafasttrack 发表于 2016-5-15 16:48
啊哈,那怎么解决?这是怎么回事??

你现在问题有解决了吗?
12# 2016-5-18 11:36:33 回复 收起回复
回复

使用道具 举报

发表于 2016-5-18 11:53:03 | 显示全部楼层
@小蝴蝶 发表于 2016-5-18 11:36
那你现在问题解决了吗?

我做的没有出现你的这种问题
13# 2016-5-18 11:53:03 回复 收起回复
回复

使用道具 举报

发表于 2016-5-19 14:37:18 | 显示全部楼层
那就不一样了
14# 2016-5-19 14:37:18 回复 收起回复
回复

使用道具 举报

发表于 2016-5-19 14:59:39 | 显示全部楼层
15# 2016-5-19 14:59:39 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-26 07:00 , Processed in 2.277339 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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