配置如图:
说明:这个文档只是介绍一下几个参数在哪查看。
看一下路由信息:
R2:
1.0.0.0/32 is subnetted, 1 subnets
D 1.1.1.1 [90/156160] via 192.168.2.1, 00:05:26, FastEthernet1/1
[90/10130432] via 192.168.1.1, 00:05:26, FastEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet1/0
C 192.168.2.0/24 is directly connected, FastEthernet1/1
EIGRP拓扑表信息:
R2# sh ip eigrp 1 topology
IP-EIGRP Topology Table for AS(1)/ID(2.2.2.2)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 1.1.1.1/32, 1 successors, FD is 156160
via 192.168.2.1 (156160/128256), FastEthernet1/1
via 192.168.1.1 (10130432/128256), FastEthernet1/0
P 2.2.2.2/32, 1 successors, FD is 128256
via Connected, Loopback0
P 192.168.1.0/24, 1 successors, FD is 10002432
via Connected, FastEthernet1/0
via 192.168.2.1 (30720/28160), FastEthernet1/1
P 192.168.2.0/24, 1 successors, FD is 28160
via Connected, FastEthernet1/1
下面进行解释说明:
D 1.1.1.1 [90/156160] via 192.168.2.1, 00:05:26, FastEthernet1/1
[90/10130432] via 192.168.1.1, 00:05:26, FastEthernet1/0
这里的90指的是EIGRP的管理距离,相关的管理距离数值有:
直连:0、
使用出战接口配置的路由:0、
使用下一跳地址配置的静态路由:1、
EIGRP汇总路由:5、
OSPF:110、
RIP:120、
外部EIGRP:170
后面的156160是路由的度量值,这里这条路由的FD(可行距离)的值。
P 1.1.1.1/32, 1 successors, FD is 156160
via 192.168.2.1 (156160/128256), FastEthernet1/1
via 192.168.1.1 (10130432/128256), FastEthernet1/0
在这里明确标出了FD的值,后面的128256是宣告距离(AD)。
PS:在本案例中做了非等价路径路由负载均衡,variance 111