
15金币
我做了一个实验,这个是拓扑图:2 }# n- m. I! w" j/ q& V! Z8 q
将拓扑图上的所有IP地址都宣告进了EIGRP90当中,然后除了R1之外其他路由器都关闭了自动汇总。在此基础上,我在R1的S2/0接口上做了手工汇总:ip summary-address eigrp 90 172.16.0.0 255.255.252.0。9 b& Y" b2 E# p. z8 G& a
发现R1的路由表上有出现了两条指向NULL0接口的路由,一个是自动汇总生成的,一个是手工汇总生成的。然后在R2的路由表上同样也有两条路由,自动汇总和手工汇总两个都有,R3也是如此。3 _8 x' i0 x2 \5 a1 T
至此,我得出一个结论,如果自动汇总和手工汇总都存在的话,那么两条汇总路由都被发送。
- C6 r3 v7 r3 {) Z1 w1 k第二个实验:7 V* W3 C3 x1 U9 ` I# ?% r
将R1上的手工汇总路由给no掉,保持自动汇总开启,新建一条超网路由:ip summary-address eigrp 90 172.0.0.0 255.0.0.0
+ e. l8 U9 j7 z- }依旧查看R1的路由表,发现R1上两条指向NULL0接口的路由都存在,而在R2和R3的路由表上却只有超网路由,没有自动汇总的那条路由了,请问这是怎么回事?另外之前的结论是否正确?% L4 G K* T" @- ?. y
R2#show ip route
6 F0 G5 s! S5 S. ~Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
. \* d4 f6 B4 o5 N D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area ) @ `2 S5 V" H2 ~& U6 X) G
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2$ ?$ p9 @8 n6 A+ O! E
E1 - OSPF external type 1, E2 - OSPF external type 2" q m9 r& v% Q0 `1 v2 c. \
i - IS{过滤}IS, su - IS{过滤}IS summary, L1 - IS{过滤}IS level-1, L2 - IS{过滤}IS level-2
) ^1 y& Y! Z; `% u& [$ q ia - IS{过滤}IS inter area, * - candidate default, U - per-user static route
/ f: o4 a" w; @1 d o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
$ h# q. |7 Z/ N' `" w + - replicated route, % - next hop override. p7 p3 |6 T0 i2 d- w
2 R' V7 A' S, Z. o5 o9 }3 T! XGateway of last resort is not set1 u3 J+ ? s8 ~" X4 l4 _) ?8 d' N
8 K6 l A5 r4 R, JD 172.0.0.0/8 [90/2297856] via 192.168.1.1, 00:00:18, Serial2/0
7 Z4 v/ ~& G' Q" |1 M$ Y 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
* ^5 x1 T" {( J" P% y8 U" G+ IC 192.168.1.0/24 is directly connected, Serial2/0
0 |7 ~1 a6 V" n& a/ KL 192.168.1.2/32 is directly connected, Serial2/0
% I8 g' d2 l' X7 V, ~: F" r7 u( c 192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks" [% T1 R, S$ W- N
C 192.168.2.0/24 is directly connected, Serial2/1
! c% `% `4 S, ^: [L 192.168.2.1/32 is directly connected, Serial2/14 D0 N4 t: _- q3 v; ~9 `
R2# + E/ }2 |" m8 B) P& i J
0 B5 h1 V {* r& Q% E/ H' e: W. r/ \! _
R3# show ip route
+ Q i* N# i- r$ c* nCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
f% _' O' x3 B# H! g- f D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 3 b2 N- X% {: F E) }( c! f v% Y
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
! `' Q g6 }; x1 c2 c E1 - OSPF external type 1, E2 - OSPF external type 2
9 {2 @* N" M, Q2 q( b' c4 T i - IS{过滤}IS, su - IS{过滤}IS summary, L1 - IS{过滤}IS level-1, L2 - IS{过滤}IS level-2: r. M" f7 s3 {; R5 M
ia - IS{过滤}IS inter area, * - candidate default, U - per-user static route
0 S1 q) r2 \$ y; ?2 g0 l o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
7 }1 m" @8 s/ H( E: ?, j3 ~, x + - replicated route, % - next hop override4 _& e* z; a5 n: ~4 I+ c! w
% e9 D0 B( L+ D# Q
Gateway of last resort is not set( b$ w. X7 q0 \- _( i
& C7 ` a) y# H: v3 {* X
D 172.0.0.0/8 [90/2809856] via 192.168.2.1, 00:01:27, Serial2/1
& U5 K. V# ~* P( w+ r: X4 kD 192.168.1.0/24 [90/2681856] via 192.168.2.1, 00:47:11, Serial2/18 z0 v& K, l t1 M+ p
192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks R: v* ~0 _- O+ `% H7 f" m
C 192.168.2.0/24 is directly connected, Serial2/1
R9 S: c& f: O: |- O2 W2 _, `L 192.168.2.2/32 is directly connected, Serial2/18 k( C4 A G- U2 g% B# p$ M
R3#
' t% o8 h5 _2 _4 H3 l) r
! H9 e) H! c# ]* l7 w0 G2 i( ~9 X
R1# show ip route 8 L$ D% t' ~9 ~" }- M W
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP! H/ D5 i4 K% }
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
; b" D) f+ }! r x. i3 p+ l/ b2 Q& y N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2! @: d. g Z3 a; a' `# s
E1 - OSPF external type 1, E2 - OSPF external type 2
! h0 [; T) Z) y! x& F* r, ^ i - IS{过滤}IS, su - IS{过滤}IS summary, L1 - IS{过滤}IS level-1, L2 - IS{过滤}IS level-20 x l1 {7 J3 u; r
ia - IS{过滤}IS inter area, * - candidate default, U - per-user static route& o# ]7 b* m. H+ _/ `+ O5 t& i4 k
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
$ Q5 p* ~- f( O! f5 M1 ~ + - replicated route, % - next hop override
" }* C9 u! n9 |: H7 ^% n
4 Z1 \& B6 f& Z' d; YGateway of last resort is not set
" U6 n3 U/ N( @. r7 B# ^
0 A9 }9 U f$ H$ O9 g( tD 172.0.0.0/8 is a summary, 00:01:39, Null0$ [/ R* N; u! G7 X
172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks4 q9 i6 W* ^; h1 S
D 172.16.0.0/16 is a summary, 00:43:40, Null0) X; A0 \+ \' N0 p
C 172.16.0.0/24 is directly connected, Loopback1
/ ^/ {, P4 L( B. z+ LL 172.16.0.1/32 is directly connected, Loopback1
- H, R c4 n7 J+ V7 i; ?C 172.16.1.0/24 is directly connected, Loopback2
4 V$ r* C1 F1 @8 iL 172.16.1.1/32 is directly connected, Loopback2
: U' K$ w3 O) t9 lC 172.16.2.0/24 is directly connected, Loopback3
# v1 ~$ t# L; [# }4 jL 172.16.2.1/32 is directly connected, Loopback32 v4 F5 ] _6 [* i
C 172.16.3.0/24 is directly connected, Loopback4
J3 v" b: E1 y- Z& i5 T' QL 172.16.3.1/32 is directly connected, Loopback40 A/ S+ C9 s/ B) K8 W) w
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks# }% J' [$ s( a9 l
C 192.168.1.0/24 is directly connected, Serial2/0- z& j2 r4 F' C0 [, j% X: M; i
L 192.168.1.1/32 is directly connected, Serial2/0
3 M; w- ~) A* H$ kD 192.168.2.0/24 [90/2681856] via 192.168.1.2, 00:47:56, Serial2/0
4 ]1 m+ e- h4 D4 N: W( x" y( uR1# ! ~, p8 s, U. F% G/ U6 ~
0 p0 p/ { |) Q- ~: P) e2 Z! b
. B' k2 C* D. H |
我来回答
( r9 X# L+ }( n0 ] H' W; D. V' \7 l6 e3 l6 Y
Q0 ]* l% \: }) l
! i+ D7 p: H8 g+ E: t0 ]7 K* g
" j4 J$ j$ F% T K. e% w# O/ J9 t( B2 ~1 T5 ^; Q
|
|