|
本帖最后由 Chaochao 于 2009-8-11 10:02 编辑
拓扑图简单示意如下:
r1------r2--------r3-----r5
各路由器之间运行eigrp.全部ping通。
r1上有个lookback地址 10.10.100.1
r5上有个lookback地址 10.10.5.1
在r1上show ip eigrp top
P 10.10.5.0/24, 1 successors, FD is 2835456
via 12.0.0.2 (2835456/2809856), Ethernet2/0
P 12.0.0.0/24, 1 successors, FD is 281600
via Connected, Ethernet2/0
P 23.0.0.0/24, 1 successors, FD is 2195456
via 12.0.0.2 (2195456/2169856), Ethernet2/0
P 35.0.0.0/24, 1 successors, FD is 2707456
via 12.0.0.2 (2707456/2681856), Ethernet2/0
P 10.10.100.0/24, 1 successors, FD is 128256
via Connected, Loopback0
R2#show ip eigrp to
IP-EIGRP Topology Table for AS(100)/ID(24.0.0.2)
Codes: P - Passive, A - Active, U - **, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 10.10.5.0/24, 1 successors, FD is 2809856
via 23.0.0.3 (2809856/2297856), Serial1/0
P 12.0.0.0/24, 1 successors, FD is 281600
via Connected, Ethernet2/0
P 23.0.0.0/24, 1 successors, FD is 2169856
via Connected, Serial1/0
P 35.0.0.0/24, 1 successors, FD is 2681856
via 23.0.0.3 (2681856/2169856), Serial1/0
P 10.10.100.0/24, 1 successors, FD is 409600
via 12.0.0.1 (409600/128256), Ethernet2/0
可以看出,r1到10.10.5.0的FD是2835456,AD(r2到10.10.5.0的FD)是2809856
所以,r1到r2的metric的值 2835456-2809856=25600 (到这里有没有错?)
反向一下:
r2 到10.10.100.0的FD是409600 ,AD(r1到10.10.100.0的FD)是128256
所以,r2到r1的metric的值 409600-128256=281344
为什么会差这么多,还是我对metric理解错了?
看r1,r2之间的网段
P 12.0.0.0/24, 1 successors, FD is 281600
via Connected, Ethernet2/0
似乎后面这个值是正确的 |
|