|
15鸿鹄币
我做了一个实验,这个是拓扑图:
将拓扑图上的所有IP地址都宣告进了EIGRP90当中,然后除了R1之外其他路由器都关闭了自动汇总。在此基础上,我在R1的S2/0接口上做了手工汇总:ip summary-address eigrp 90 172.16.0.0 255.255.252.0。
发现R1的路由表上有出现了两条指向NULL0接口的路由,一个是自动汇总生成的,一个是手工汇总生成的。然后在R2的路由表上同样也有两条路由,自动汇总和手工汇总两个都有,R3也是如此。
至此,我得出一个结论,如果自动汇总和手工汇总都存在的话,那么两条汇总路由都被发送。
第二个实验:
将R1上的手工汇总路由给no掉,保持自动汇总开启,新建一条超网路由:ip summary-address eigrp 90 172.0.0.0 255.0.0.0
依旧查看R1的路由表,发现R1上两条指向NULL0接口的路由都存在,而在R2和R3的路由表上却只有超网路由,没有自动汇总的那条路由了,请问这是怎么回事?另外之前的结论是否正确?
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
D 172.0.0.0/8 [90/2297856] via 192.168.1.1, 00:00:18, 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.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
R2#
R3# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
D 172.0.0.0/8 [90/2809856] via 192.168.2.1, 00:01:27, Serial2/1
D 192.168.1.0/24 [90/2681856] via 192.168.2.1, 00:47:11, Serial2/1
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
R3#
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
D 172.0.0.0/8 is a summary, 00:01:39, Null0
172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks
D 172.16.0.0/16 is a summary, 00:43:40, Null0
C 172.16.0.0/24 is directly connected, Loopback1
L 172.16.0.1/32 is directly connected, Loopback1
C 172.16.1.0/24 is directly connected, Loopback2
L 172.16.1.1/32 is directly connected, Loopback2
C 172.16.2.0/24 is directly connected, Loopback3
L 172.16.2.1/32 is directly connected, Loopback3
C 172.16.3.0/24 is directly connected, Loopback4
L 172.16.3.1/32 is directly connected, Loopback4
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:47:56, Serial2/0
R1#
|
-
最佳答案
查看完整内容
我也去做了这个实验。的确会出现后面的那种情况。 本来还感觉eigrp的东西都多少知道点的 。竟然这里就藏着一个小秘密。
前面的自动汇总和手工汇总共存的结论是正确的。以前在wolf培训时,老师讲过这个结论的,应该没有问题,毕竟实验做出来也是一样的效果。
后面那个超网的,不是很了解,难道把自动汇总的给抑制了 ?
|