我在 GNS3 中设置了 EIGRP 拓扑。它看起来像这样:
R7 和 R8 之间的邻居关系不断出现问题,我不明白为什么。Hello 计时器和时间延迟都设置正确。我想一定是我的配置有问题。我还在 wireshark 中嗅探了网络流量,发现其中充斥着从 R7 发往 R8 的 ICMP TTL 超出数据包。
我已经测试过如下:
- 仅打开 R1-R6 = EIGRP 路由正常工作
- 仅打开 R7-R9 = EIGRP 路由正常工作
- 打开所有路由器 = 邻居抖动,网络充斥着 ICMP 数据包
这是我的配置:
#R1
int f1/0
ip addr 172.16.1.1 255.255.255.0
no shut
int lo0
ip addr 192.168.1.1 255.255.255.240
no shut
int lo1
ip addr 192.168.1.17 255.255.255.240
no shut
int lo2
ip addr 192.168.1.33 255.255.255.224
no shut
int lo3
ip addr 192.168.1.65 255.255.255.224
no shut
int lo4
ip addr 192.168.1.97 255.255.255.224
no shut
int lo5
ip addr 192.168.1.129 255.255.255.192
no shut
int f1/1
ip addr 192.168.1.193 255.255.255.192
no shut
end
conf t
router eigrp 1
network 172.16.1.0 0.0.0.255
network 192.168.1.0 0.0.0.255
#R2
int f1/0
ip addr 172.16.1.2 255.255.255.0
no shut
int lo0
ip addr 192.168.2.1 255.255.255.248
no shut
int lo1
ip addr 192.168.2.9 255.255.255.248
no shut
int lo2
ip addr 192.168.2.17 255.255.255.240
no shut
int lo3
ip addr 192.168.2.33 255.255.255.224
no shut
int lo4
ip addr 192.168.2.65 255.255.255.224
no shut
int lo5
ip addr 192.168.2.97 255.255.255.224
no shut
int f1/1
ip addr 192.168.2.129 255.255.255.128
no shut
end
conf t
router eigrp 1
network 172.16.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
#R3
int f1/0
ip addr 172.16.1.3 255.255.255.0
no shut
int lo0
ip addr 192.168.3.1 255.255.255.240
no shut
int lo1
ip addr 192.168.3.17 255.255.255.240
no shut
int lo2
ip addr 192.168.3.33 255.255.255.224
no shut
int lo3
ip addr 192.168.3.65 255.255.255.224
no shut
int lo4
ip addr 192.168.3.97 255.255.255.224
no shut
int lo5
ip addr 192.168.3.129 255.255.255.192
no shut
int f1/1
ip addr 192.168.3.193 255.255.255.192
no shut
end
conf t
router eigrp 1
network 172.16.1.0 0.0.0.255
network 192.168.3.0 0.0.0.255
#R4
int f1/0
ip addr 172.16.2.5 255.255.255.0
no shut
int lo0
ip addr 192.168.6.1 255.255.255.240
no shut
int lo1
ip addr 192.168.6.17 255.255.255.240
no shut
int lo2
ip addr 192.168.6.33 255.255.255.224
no shut
int lo3
ip addr 192.168.6.65 255.255.255.224
no shut
int lo4
ip addr 192.168.6.97 255.255.255.224
no shut
int lo5
ip addr 192.168.6.129 255.255.255.192
no shut
int f1/1
ip addr 192.168.6.193 255.255.255.192
no shut
end
conf t
router eigrp 1
network 172.16.2.0 0.0.0.255
network 192.168.6.0 0.0.0.255
#R5
int f1/0
ip addr 172.16.2.6 255.255.255.0
no shut
int lo0
ip addr 192.168.7.1 255.255.255.248
no shut
int lo1
ip addr 192.168.7.9 255.255.255.248
no shut
int lo2
ip addr 192.168.7.17 255.255.255.240
no shut
int lo3
ip addr 192.168.7.33 255.255.255.224
no shut
int lo4
ip addr 192.168.7.65 255.255.255.224
no shut
int lo5
ip addr 192.168.7.97 255.255.255.224
no shut
int f1/1
ip addr 192.168.7.129 255.255.255.128
no shut
end
conf t
router eigrp 1
network 172.16.2.0 0.0.0.255
network 192.168.7.0 0.0.0.255
#R6
int f1/0
ip addr 172.16.2.7 255.255.255.0
no shut
int lo0
ip addr 192.168.8.1 255.255.255.240
no shut
int lo1
ip addr 192.168.8.17 255.255.255.240
no shut
int lo2
ip addr 192.168.8.33 255.255.255.224
no shut
int lo3
ip addr 192.168.8.65 255.255.255.224
no shut
int lo4
ip addr 192.168.8.97 255.255.255.224
no shut
int lo5
ip addr 192.168.8.129 255.255.255.192
no shut
int f1/1
ip addr 192.168.8.193 255.255.255.192
no shut
end
conf t
router eigrp 1
network 172.16.2.0 0.0.0.255
network 192.168.8.0 0.0.0.255
#R7
int s1/1
ip addr 10.9.0.2 255.255.255.252
no shut
int s1/0
ip addr 119.119.119.1 255.255.255.252
no shut
int f2/0
ip addr 172.16.1.9 255.255.255.0
no shut
int f2/1
ip addr 172.16.2.9 255.255.255.0
no shut
router eigrp 1
network 10.9.0.0 0.0.0.3
network 119.119.119.0 0.0.0.3
network 172.16.2.0 0.0.0.255
network 172.16.1.0 0.0.0.255
end
#R8
int s1/1
ip addr 10.11.0.2 255.255.255.252
no shut
int s1/0
ip addr 119.119.119.2 255.255.255.252
no shut
int f2/0
ip addr 172.16.2.11 255.255.255.0
no shut
int f2/1
ip addr 172.16.1.11 255.255.255.0
no shut
router eigrp 1
network 10.11.0.0 0.0.0.3
network 119.119.119.0 0.0.0.3
network 172.16.2.0 0.0.0.255
network 172.16.1.0 0.0.0.255
end
#R9
int s1/1
ip addr 10.9.0.1 255.255.255.252
no shut
int s1/0
ip addr 10.11.0.1 255.255.255.252
no shut
router eigrp 1
network 10.9.0.0 0.0.0.3
network 10.11.0.0 0.0.0.3
end
我相信这肯定是配置错误,但我找不到它。任何帮助都将不胜感激。
答案1
您正在两个网络部分中运行不连续的有类网络 172.16.0.0 / 16。在此特定情况下,自动汇总将汇总上面的网络并将其通告到另一端(反之亦然),从而使您的路由表不一致。
尝试在 eigrp 设置中添加 no auto-summary全部路由器,因此最终配置如下所示:
router eigrp 1
no auto-summary
network x.x.x.x
答案2
经过几个小时的测试... 发现问题出在损坏的 IOS 映像上。我将该映像换成了旧版本,我原来的所有配置都正常工作。哎呀!