C 192.168.12.0/24 is directly connected, Serial0/1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.13.0 is directly connected, Ethernet1/3
D 192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:00:36, Serial0/1
r3#show ip eigrp topology
P 10.1.13.0/24, 1 successors, FD is 281600
via Connected, Ethernet1/3
P 192.168.12.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
P 192.168.23.0/24, 1 successors, FD is 2195456
via 10.1.13.3 (2195456/2169856), Ethernet1/3
via 192.168.12.2 (2681856/2169856), Serial0/1
查看明细可知有两条路可走
等价负载方法1
修改DELAY值使路由等价负载
r1#show int e1/3
Ethernet1/3 is up, line protocol is up
Hardware is AmdP2, address is cc00.02a4.0013 (bia cc00.02a4.0013)
Internet address is 10.1.13.1/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
r1#show int s0/1
Serial0/1 is up, line protocol is up
Hardware is M4T
Internet address is 192.168.12.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
通过计算R1的S0/1和R3的E1/3的带宽和延迟可知METRIC值为2195654
通过计算R2的S0/1和R3的S0/2的带宽和延迟可知METRIC值为2681856
所以路由走以太接口
r1(config)#int e1/3
r1(config-if)#delay 2000
r1(config-if)#end
r3#show ip route
Gateway of last resort is not set
C 192.168.12.0/24 is directly connected, Serial0/1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.13.0 is directly connected, Ethernet1/3
D 192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:00:15, Serial0/1
[90/2681856] via 10.1.13.3, 00:00:15, Ethernet1/3
可以看到路由等价负载
等价负载方法2
使用偏移列表实现等价负载
R3上
r3(config)#access-list 1 permit 192.168.12.0 0.0.0.0
r3(config)#router eigrp 90
rr3(config-router)#offset-list 1 in 486400 e1/3
r3(config-router)#end
2681856—2195456= 486400
r3#show ip route
Gateway of last resort is not set
D 192.168.12.0/24 [90/2681856] via 192.168.23.2, 00:00:10, Serial0/2
[90/2681856] via 10.1.13.1, 00:00:10, Ethernet1/3
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.13.0 is directly connected, Ethernet1/3
C 192.168.23.0/24 is directly connected, Serial0/2
可以看到路由实现等价负载