|
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,这个不正确啊。
大家来看看,帮忙看下是什么原因?
|
-
最佳答案
查看完整内容
Router# show ve rsi on Router uptime is 20 weeks , 5 days , 33 minutes System returned to ROM by power-on
|