设为首页收藏本站language 语言切换
查看: 3144|回复: 4
收起左侧

[考试战报] 完整的rip与ospf高级配置

[复制链接]
发表于 2009-11-13 14:09:29 | 显示全部楼层 |阅读模式
:实验背景:
$ g' x" O0 G+ z% M$ r. I7 b' `. D$ w; f# K( d2 I9 @& g) w8 b
东天公司的规模越来越大,网络也越来越复杂,公司吞并了一个小公司,但是和这个公司网络合并时,却无法直接接入OSPF的骨干区域,网络条目也越来越多.
' Y$ y. s5 Q& {$ g
为了减少路由条目的数目,要求对路由条目进行汇总. 5 d! y% e' L( _- n

/ v4 K) N/ }+ w1 w! `
:实验目的:
/ s% X# r! D. {/ w
! R2 f# H" l" Q1:
通过虚链路实现Area 3与骨干区域的相连 ! Q3 i3 K( s' K
2:
分别实现路由汇总(区域内路由汇总和外部路由汇总),实现路由汇总后查看路由条目. & q! P4 S, q1 V* E: `0 s
3:
实现全网络的路由. 2 c6 v) _7 r! ^/ W
& d6 _3 \- Q' |$ d
:实验拓扑
5 e. G" Q8 ]* _$ ^. ]
:实验背景: - V- O. u' h( r5 c

; ?$ J- w" B% W6 E  Y) i
东天公司的规模越来越大,网络也越来越复杂,公司吞并了一个小公司,但是和这个公司网络合并时,却无法直接接入OSPF的骨干区域,网络条目也越来越多.
9 o6 T' f, o2 B  `' [- N0 p
为了减少路由条目的数目,要求对路由条目进行汇总. ( x$ ~  g3 e3 J; t4 L* D
/ l& l) _9 d& z1 C
:实验目的: - w. v# b1 z+ `1 v1 o

0 R; F* U: W8 A1:
通过虚链路实现Area 3与骨干区域的相连
% B. C- \; `! k3 t; D( v- R2:
分别实现路由汇总(区域内路由汇总和外部路由汇总),实现路由汇总后查看路由条目.
7 _0 [% J7 a8 ?/ {& F. e" Q3:
实现全网络的路由.
+ p1 h# F& M0 k8 G3 U; A, g
; S$ a& H# |# T* w5 T
:实验拓扑
- U; m; f/ q& G0 M6 Y
  
- c& s* V5 o: g! s* Q
[img]file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/STOBJ0%60P]~~%60[]DXAI%7BGS0G.jpg[/img] 1 }% p' E( t7 s8 b0 N. D' G

( M  D+ a) Z% |
:实验步骤: + B/ J3 M( \  V
   1:
先配置多区域的OSPF,打通全网路由,注意,发布环回接口. 5 O9 S6 C2 S: g0 Q9 J
   2:
区域3无法与骨干区域直接相连,所以先用虚链路连接到骨干区域。 1 L) x0 f5 Z8 }+ J* k
   3:
将外部路由重新发布到ospf.
9 @6 z( s4 o: m/ T   4:
配置NSSATotally Stubby区域.
( S& M+ W" t9 E1 m2 A   5:
ASBRABR上分别做路由汇总.(R3R2上用环回接口模拟几个网段,做汇总) ! C; A7 H' b# E* p
说明实验现象. 4 T6 \. X" G$ P
实验步骤:
$ ]! y2 p, i& {4 M, U0 l2 |2 r
1、基本配置,配置接口IP及环回接口IP
) ~& F3 m$ j) a# [, Q& X' ?4 k
R1(config)#inter loo 0 $ S$ _& |2 V/ q) H" K. d' g: O
R1(config-if)#ip add 1.1.1.1 255.255.255.255
2 r' s) p7 y& A3 J
R1(config-if)#interface f0/0
& a8 g- i3 K: J& q0 L
R1(config-if)#no shut 4 o* p1 t8 V" i% G3 r) ^
R1(config-if)#ip add 10.1.1.1 255.255.255.0 ; u( f1 j) Y7 s6 j
R1(config-if)#interface f1/0 7 s$ y$ B6 l5 H
R1(config-if)#no shut 2 v) e: @8 T! W0 U" a* B# a2 K
R1(config-if)#ip add 11.1.1.1 255.255.255.0
9 t0 j0 V0 g0 b) g+ Q( D8 M# |- w
1 u5 }& _& A& E
2 K: D7 ]7 B+ ?* E$ x
8 U& ?* _) Q% D. |6 W+ a( }
R2(config)#interface loo 0 9 d1 H8 m2 `; V7 ?
R2(config-if)#ip add 2.2.2.2 255.255.255.255
+ H! R6 Y% }/ F$ e0 F, z; C
R2(config-if)#interface f0/0 & A6 j5 p  i# A$ ?# e
R2(config-if)#no shut 4 c* X, J* z& P
R2(config-if)#ip add 10.1.1.2 255.255.255.0 ( y  [1 ~+ |" B* k$ h1 X* i
R2(config-if)#no shut / y8 b* @/ r0 G8 u7 ?0 R# Z
R2(config-if)#interface f1/0
1 W9 x* J: n0 [; n# S: ~3 l
R2(config-if)#no shut
( D. r8 M& e- [9 V: J
R2(config-if)#ip add 20.1.1.1 255.255.255.0 , u7 ?7 b6 J8 c9 T# F

3 B/ V/ y2 l  a+ K: s
& j6 P5 E: ^! a; [/ t; ?9 f
- A4 U# J$ R7 p, }( _6 Z: T
R3(config)#interface loo 0
6 l. o5 J$ l# k( v/ U. p! \
R3(config-if)#ip add 3.3.3.3 255.255.255.255 ' v7 H6 `) @+ p  R/ z$ f
R3(config-if)#interface f0/0
. F. l; l0 D- ?# j) `
R3(config-if)#no shut
( t' K6 l- f# K& u& h) m
R3(config-if)#ip add 21.1.1.1 255.255.255.0
1 m$ t6 ]$ X  n. f$ n' [1 r
R3(config-if)#interface f1/0 ( W1 J  g  N* _4 W; k! ?3 `
R3(config-if)#no shut / L7 c  H0 D# Y, a5 ~2 n
R3(config-if)#ip add 20.1.1.2 255.255.255.0
0 t5 @8 T4 w! M! ^) p# u9 ?
) B7 f7 W! Y- Z+ e# E1 @- w/ F4 A
" U! ~+ x. z' V9 w* J/ N
R4(config)#interface loo 0
8 L' \7 _1 q# i8 k* Z* y
R4(config-if)#ip add 4.4.4.4 255.255.255.255
! `5 Q3 x9 z# T& Q
R4(config-if)#interface f0/0 4 _7 E9 L, f: a1 `$ X& Q( {- r
R4(config-if)#no shut , y: H/ V: F3 K( _
R4(config-if)#ip add 30.1.1.1 255.255.255.0 ; f4 v, w. ]- P3 U, B* h6 W
R4(config-if)#interface f1/0 6 j1 l# V* G; d. V
R4(config-if)#no shut
, o; K: G, o6 ~" t* M
R4(config-if)#ip add 11.1.1.2 255.255.255.0 & |: Q4 ]5 ^7 d! v$ u, J+ h- G

6 z3 b6 ^  k( O% x/ l% _- Z1 u6 R4 T% t7 `- G1 K
R5(config)#interface loo 0 1 |! V) c% z( B( b: K% t
R5(config-if)#ip add 5.5.5.5 255.255.255.255 9 h- O% U, h8 f; i8 a7 J; v
R5(config-if)#interface f0/0 . A: J7 Z: [) w) t& D8 Y: \
R5(config-if)#no shut ) d8 W$ {& t) S+ o# L! V: n
R5(config-if)#ip add 30.1.1.2 255.255.255.0 / r& h: b# X0 @7 I  U0 ^+ g  q2 V! {
R5(config-if)#interface f1/0 1 }, k( F" o  b4 d8 ?% Q& \
R5(config-if)#no shut ( E% k; g6 v3 k/ p
R5(config-if)#ip add 31.1.1.1 255.255.255.0
2 T/ F" c% i: C# h/ }8 F& [1 W2 m
3 I8 J6 Y% v$ z7 M2 ?  V8 o+ o+ ^0 X, |( P* x, t

5 [% [- h8 Y: w# c  u' t# E( X
% {: ?: o* p2 g" {8 S) |
R6(config-if)#interface loo 0 - ^, B. [/ L2 V( y. Y
R6(config-if)#ip add 6.6.6.6 255.255.255.255 ; V+ \% i" T1 ~1 q* g8 F6 A
R6(config-if)#interface f1/0 " f' [* H" x) e8 \: J4 E
R6(config-if)#ip add 31.1.1.2 255.255.255.0 7 @* X& p' h0 u% G9 V
R6(config-if)#no shut
2 h+ ^. h& U/ `) {$ z; g6 c5 U, `
4 u8 u. D  ]: @& o4 |4 i4 q9 `2 y# N& z* \  h$ D! L7 m: D0 _- g' C
R7(config)#interface loo 0
. o$ G9 b& o0 I, v0 a" u  `
R7(config-if)#ip add 7.7.7.7 255.255.255.255 9 z4 q) e, `( |
R7(config-if)#interface f0/0
( i, n0 \- G& }
R7(config-if)#no shut 9 P, p: }# @5 c- E$ j# M8 @1 ?
R7(config-if)#ip add 21.1.1.2 255.255.255.0
" Y; `- M+ Q4 z9 D' K
& u& J, ~3 a0 l
R4#ping 30.1.1.2 $ e1 m1 c, M* f: `
Type escape sequence to abort. 8 m3 R3 H! V$ W, d- D) ~! c
Sending 5, 100-byte ICMP Echos to 30.1.1.2, timeout is 2 seconds: ! r8 W  E/ Y- f8 S& ]4 m
.!!!! 2 T8 j% m1 v8 d
//现在相邻的设备之间已经可以Ping 通了 " ^, ?8 {5 k! I1 g  o0 V) X9 h' p2 f
/ q7 c/ a, P7 @) @2 g% R+ d
2、打通全网路由 * Y7 {8 K# b& r, D0 n! Z9 s
R1(config)#router os 110
, _% \1 K+ u5 M7 S* d- g2 Z0 p6 b+ H
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
8 l( h* S) C& A; }# }1 @- B
R1(config-router)#network 10.1.1.0 0.0.0.255 ar 0 2 n6 p; b; q2 Z6 l% b  S6 {/ L! ]
R1(config-router)#network 11.1.1.0 0.0.0.255 ar 0
5 l% ?+ ^: b1 `* h; W6 t5 M2 B' R6 N8 O
R2(config)#router os 110
7 `% Y# g2 G9 _& X  X# `4 P
R2(config-router)#network 2.2.2.2 0.0.0.0 ar 0
. A9 n% R- x- ^  D
R2(config-router)#network 10.1.1.0 0.0.0.255 ar 0 + k! q6 d7 [( B+ Q
R2(config-router)#network 20.1.1.0 0.0.0.255 ar
6 G& k  s6 q6 h  u# W. n. x" E3 F
R2(config-router)#network 20.1.1.0 0.0.0.255 ar 1
0 F7 l! F+ J9 f6 A" Q/ S1 w; k( X+ o0 R6 V  @/ ~6 ]
R3(config)#router os 110 + s/ `' Y* Q. V) z7 Q- ~0 \
R3(config-router)#network 3.3.3.3 0.0.0.0 ar 1 : f5 U* n, `6 a: |+ R1 H- ~
R3(config-router)#network 20.1.1.0 0.0.0.255 ar 1
* O2 F8 v  t1 T% L& O
R3(config-router)#exit 9 n0 N: R& N6 w+ W
R3(config)#router rip                //R3ASBR,连接两个不同的自治系统。 , \# b6 D  E' |0 ?
R3(config-router)#version 2 . M2 m' k  F8 j3 d& @6 C$ j0 @+ T
R3(config-router)#no auto-summary
) q! H, L/ y- [: M/ Z( n/ I' l
R3(config-router)#network 21.1.1.0 + Z: E3 A4 x1 }' [% G

) b, q2 N1 P7 N% a/ t  V; i& e- Y. t  c: f$ f
2 I6 N" R: }5 I6 h( [" v6 R3 V7 ~
' H8 }! g1 P% O: s9 Y

) J2 T, Y5 A  Q
R4(config)#router os 110
( r& k, y% H" Q, a
R4(config-router)#network 4.4.4.4 0.0.0.0 ar 0
' W8 R0 a$ M9 e' o3 m& G
R4(config-router)#network 11.1.1.0 0.0.0.255 ar 0 . ]1 s3 o6 o" u* K) g( G- D
R4(config-router)#network 30.1.1.0 0.0.0.255 ar 2
1 L; Y- E' M5 H: ?4 c- Y, A2 W0 A- v9 s

8 o2 {  [. D7 z8 g
R5(config)#router os 110
" _9 C8 v7 E3 \6 A, _
R5(config-router)#network 5.5.5.5 0.0.0.0 ar 2
  n# `2 p$ s2 V
R5(config-router)#network 30.1.1.0 0.0.0.255 ar 2
+ A, C% [" R0 V# N( h9 g
R5(config-router)#network 31.1.1.0 0.0.0.255 ar 3
  Q. T  E& \1 e. f- S, H* y0 R& ?( t& j1 S, G3 K

0 {# c, S: `) y
R6(config)#router os 110
! e* @# w) H+ M' y0 o3 E. A  L
R6(config-router)#network 6.6.6.6 0.0.0.0 ar 3
, `- x4 J. F4 Y3 b+ K
R6(config-router)#network 31.1.1.0 0.0.0.255 ar 3 & A3 _. Y% j5 T3 x1 B/ y
+ r4 n& L* }" i0 j1 z
& W% @  l* B* T  z- \& g
R7(config)#router rip 0 I3 v) I' r! A$ u$ L
R7(config-router)#version 2 5 j! d6 M+ C; v- u' N
R7(config-router)#no auto-summary
/ r$ t' \2 b  M* Y8 C0 G
R7(config-router)#network 7.7.7.7 & U( y  x! W8 i" c' r% s8 Y
R7(config-router)#network 21.1.1.0 / G. l# n( Q$ K3 P. C8 G5 E/ E

9 A8 q  D) s! a# ?# H
R4#show ip route # t+ i7 \1 W; H6 d, @
   1.0.0.0/32 is subnetted, 1 subnets
% s/ {/ {: L" d/ `  {3 ^
O       1.1.1.1 [110/2] via 11.1.1.1, 00:04:41, FastEthernet1/0 8 t8 w( e$ Q5 w/ U+ z- Z  |/ }
   2.0.0.0/32 is subnetted, 1 subnets : {0 U: y5 n. V
O       2.2.2.2 [110/3] via 11.1.1.1, 00:04:41, FastEthernet1/0 ' z, o% G. g" M( i7 J) P
   3.0.0.0/32 is subnetted, 1 subnets 6 o3 a3 L* _& t! B6 }
O IA    3.3.3.3 [110/4] via 11.1.1.1, 00:03:25, FastEthernet1/0
9 y  A- g0 C0 Q/ `# U
   4.0.0.0/32 is subnetted, 1 subnets
/ ]1 {3 z9 ^" y, t8 L3 U" t6 n
C       4.4.4.4 is directly connected, Loopback0 9 D/ u2 j: O5 t7 {# @
   20.0.0.0/24 is subnetted, 1 subnets ' {8 N  _! m/ X$ U3 l8 I! v  {
O IA    20.1.1.0 [110/3] via 11.1.1.1, 00:03:25, FastEthernet1/0
4 U* @1 x5 k! w& u
   5.0.0.0/32 is subnetted, 1 subnets
/ l% r8 P# r* f% p- L6 f
O       5.5.5.5 [110/2] via 30.1.1.2, 00:03:25, FastEthernet0/0
' j% f4 ~3 P: M$ O
   10.0.0.0/24 is subnetted, 1 subnets
4 i* E9 v4 y' `& X9 f$ X' i6 ^# N. X
O       10.1.1.0 [110/2] via 11.1.1.1, 00:04:43, FastEthernet1/0
$ w* B7 x  F4 R5 t% Q  v
   11.0.0.0/24 is subnetted, 1 subnets
0 K3 m$ X; B! ~, V  J
C       11.1.1.0 is directly connected, FastEthernet1/0 ; S1 l- ?* g% W  j2 J
   30.0.0.0/24 is subnetted, 1 subnets
, Q- P4 Q8 _- W( n
C       30.1.1.0 is directly connected, FastEthernet0/0
' l( t, S, ^9 S- [. }+ d" x0 n- d& x6 h, ?/ b8 N
//查看R4的路由表可以看出R4学到了本区域的及其它OSPF区域的路由信息,但是没有Area 3 以及RIP自治系统的路由信息,这是因为Area 3 没有和骨干区域直连,RIPOSPF属于不同的自治系统,不能直接学习路由信息。 ; r) V8 l" p" [+ ~0 G
% l( G* j% F+ r3 t3 W
3、配置虚链路 5 e9 Q) m" x+ `: _, M  U
R4(config)#router os 110
+ Y$ |; e$ _2 {4 f& [
R4(config-router)#area 2 virtual-link 5.5.5.5 ; I( ~7 a6 }  h
, Z. c/ A7 i) r  Q
R5(config)#router os 110 ) R- Q9 i+ j" Q$ a2 L2 h2 ?& g
R5(config-router)#area 2 virtual-link 4.4.4.4 8 t7 j# c( p: E  y1 J

2 P. W$ {2 l. o9 ~0 y
再次查看R4的路由表 8 L% k% ^% O. E

. d/ T) P" B& ?" D" Q
R4#show ip route
$ E9 a# S6 ?; n8 b+ H
   1.0.0.0/32 is subnetted, 1 subnets
  j$ X( n& L2 d/ N! M# _
O       1.1.1.1 [110/2] via 11.1.1.1, 00:00:24, FastEthernet1/0 : F5 @- z) n' y* |" ]) a5 \+ r+ }# ]
   2.0.0.0/32 is subnetted, 1 subnets
- @4 k) _3 W* O1 q# J
O       2.2.2.2 [110/3] via 11.1.1.1, 00:00:24, FastEthernet1/0
* B8 C8 C! |) {6 U* F
   3.0.0.0/32 is subnetted, 1 subnets , z7 p2 ^) T" C7 x) D7 f7 C
O IA    3.3.3.3 [110/4] via 11.1.1.1, 00:00:24, FastEthernet1/0
8 m: I) F, ?0 {% y
   4.0.0.0/32 is subnetted, 1 subnets
" h* J; ?  F' ?9 B" ^
C       4.4.4.4 is directly connected, Loopback0
: ~) q% ?2 f0 y0 I, d! y
   20.0.0.0/24 is subnetted, 1 subnets
# v6 ]% U& w4 q& o# _% L* g! u
O IA    20.1.1.0 [110/3] via 11.1.1.1, 00:00:24, FastEthernet1/0
2 y" U# z* ?8 l, l9 a: H& Z( J, a. P
   5.0.0.0/32 is subnetted, 1 subnets % D, i  k& r7 r/ X# }$ I
O       5.5.5.5 [110/2] via 30.1.1.2, 00:00:24, FastEthernet0/0
) d6 |/ y. N5 N( B5 u
   6.0.0.0/32 is subnetted, 1 subnets
2 |) ?8 Y$ q4 V% W
O IA    6.6.6.6 [110/3] via 30.1.1.2, 00:00:27, FastEthernet0/0 & k' b4 r7 u' m7 ^
   10.0.0.0/24 is subnetted, 1 subnets 2 g8 i: @% v* R- I& {  `' e! v
O       10.1.1.0 [110/2] via 11.1.1.1, 00:00:27, FastEthernet1/0 # ]# Y3 l- M3 `
   11.0.0.0/24 is subnetted, 1 subnets
" |/ [( H! z5 w% |, C$ z: K
C       11.1.1.0 is directly connected, FastEthernet1/0 : y$ w/ e  o# ]9 ~7 M3 O# @' @! j3 u. w
   31.0.0.0/24 is subnetted, 1 subnets
- y. S# Y; I- I5 f/ q2 c
O IA    31.1.1.0 [110/2] via 30.1.1.2, 00:00:27, FastEthernet0/0 1 a: |2 \! }; E6 h/ C9 L
   30.0.0.0/24 is subnetted, 1 subnets
: B7 K- s% W0 e
C       30.1.1.0 is directly connected, FastEthernet0/0 $ r* ^) l4 N* w- I; X0 g/ ?3 t
! [# x, u. H! w! V6 p6 f7 e9 Y8 q

: U& c* B( q$ x2 [' q* h
//可以看到,添加完虚链路之后,就可以学习到Area 3的链路信息了,但是还是没有RIP路由协议的路由信息. - r( a+ _. E6 Y* L- k! j

2 F9 V/ c" g+ T# [; P; C5 d
' G& M' ]& ]# _  q
. e9 @( m6 a1 v- @( H% Q( ?$ Z+ ?! P8 I6 o
/ N0 |) v1 F$ N6 V; I
4、重分发
. C8 u2 ?' S1 C7 L# B
R3(config-router)#router os 110 % W5 y8 b3 V- x: C' v- r- W
R3(config-router)#redistribute rip metric 100  subnets
& r# z2 j: B% |, R- T' h
R3(config-router)#router rip
$ K( r4 ~" R: E+ P! T
R3(config-router)#redistribute os 110 metric 1 ( K3 k. f; o3 E; [
/ B2 v( m5 k$ J' k  R9 e! o; m
//再次查看R4的路由表 4 I$ u8 x" j( e$ B2 F1 z

4 V  I% m7 F$ t! R
R4#show ip route
* T% ?( K# A, @2 _  ~1 Q
   1.0.0.0/32 is subnetted, 1 subnets
) N1 B) ~" ?3 }6 C3 b" F, C; @+ v
O       1.1.1.1 [110/2] via 11.1.1.1, 00:14:37, FastEthernet1/0 3 ]8 l, p7 A( m3 W+ `: K
   2.0.0.0/32 is subnetted, 1 subnets
  t1 ~8 Q. a) U1 l3 Z# d& [
O       2.2.2.2 [110/3] via 11.1.1.1, 00:14:37, FastEthernet1/0 4 z: l/ B# u- {* Y
   3.0.0.0/32 is subnetted, 1 subnets
) ?7 }& x5 `: P; w8 `* s
O IA    3.3.3.3 [110/4] via 11.1.1.1, 00:14:37, FastEthernet1/0 $ p6 T. T' W+ N. b) \
   4.0.0.0/32 is subnetted, 1 subnets ; Q) E% f( W# p$ x) j1 f- O
C       4.4.4.4 is directly connected, Loopback0 : w) @9 f1 d8 ~+ Y
   21.0.0.0/24 is subnetted, 1 subnets
7 X6 f. S( g* x+ u5 K6 l4 G
O E2    21.1.1.0 [110/100] via 11.1.1.1, 00:06:11, FastEthernet1/0
/ q- _+ q7 L! ]' R* d9 O
   20.0.0.0/24 is subnetted, 1 subnets : t' T  E) l: R0 L
O IA    20.1.1.0 [110/3] via 11.1.1.1, 00:14:37, FastEthernet1/0 0 l/ x5 `( @% ~3 w' c5 L
   5.0.0.0/32 is subnetted, 1 subnets 1 K. d% D! p' B& f' J* t% l
O       5.5.5.5 [110/2] via 30.1.1.2, 00:14:38, FastEthernet0/0
( M1 U, l  R8 l. ?" C
   6.0.0.0/32 is subnetted, 1 subnets   Y' F$ ?# t( q
O IA    6.6.6.6 [110/3] via 30.1.1.2, 00:14:38, FastEthernet0/0 ( H+ H3 }2 m  P0 m, o
   7.0.0.0/32 is subnetted, 1 subnets
0 k' [6 i* q' n! J2 b( ^6 m
O E2    7.7.7.7 [110/100] via 11.1.1.1, 00:06:13, FastEthernet1/0 4 z4 q/ c1 Y& N( Q9 o4 V/ \
   10.0.0.0/24 is subnetted, 1 subnets
! g7 ?" ~& S: |6 N
O       10.1.1.0 [110/2] via 11.1.1.1, 00:14:38, FastEthernet1/0
  B" b. r" P0 u' X7 u
   11.0.0.0/24 is subnetted, 1 subnets
8 \8 s! L9 }( L- X6 v
C       11.1.1.0 is directly connected, FastEthernet1/0 , X- C& T! ]- h) d- ]0 x; E6 R6 M
   31.0.0.0/24 is subnetted, 1 subnets
9 j) i& y5 W& ?( R% C$ c
O IA    31.1.1.0 [110/2] via 30.1.1.2, 00:14:38, FastEthernet0/0
2 ~/ G. |( s  K/ d4 Z# ?2 g  Z: w
   30.0.0.0/24 is subnetted, 1 subnets " i  {$ K: F+ q) K! G  U
C       30.1.1.0 is directly connected, FastEthernet0/0
2 g  _. E; B6 Z8 m) r& v- ]" b6 l4 P& {
3 [( j4 L) j- n+ t  m% U: Z3 e
//可以看到现在R4上已经有了RIP路由协议的路由信息。 1 Y6 E' ?; Q+ l
+ |6 J8 g2 z8 \5 u% H& J6 w# d
6 c$ J4 X: b0 x8 z9 q& r

  ?, q" W& u2 U3 U% b. Z) Z
+ p/ H" S# p: d0 S+ u* N  ?
1 t6 ], l# m# ^) W8 T3 s9 m6 p( m
查看R7的路由表
3 Z) W% o8 }# ]& O( _2 W/ i
; o" x6 Q) T7 x9 P4 \4 x- `
R7(config-router)#do show ip route : O1 x1 @) s2 d5 ?( u$ d% O1 N
   1.0.0.0/32 is submitted, 1 subnets
* V( F: M  W  o8 \( @* P  x
R       1.1.1.1 [120/1] via 21.1.1.1, 00:00:08, FastEthernet0/0 0 r, ~$ ~2 ^* w( [5 `- @8 V
   2.0.0.0/32 is subnetted, 1 subnets " {0 U. ^" l3 y/ s) `
R       2.2.2.2 [120/1] via 21.1.1.1, 00:00:08, FastEthernet0/0
3 g: E! Q0 U  X/ |
   3.0.0.0/32 is subnetted, 1 subnets 7 e3 k/ O. E9 L6 E; f7 D) S0 L: j
R       3.3.3.3 [120/1] via 21.1.1.1, 00:00:08, FastEthernet0/0
* w. ]2 |9 n# }4 t' f8 G
   4.0.0.0/32 is subnetted, 1 subnets
  t( T8 H; A- S1 ]% A7 q$ }2 X! V
R       4.4.4.4 [120/1] via 21.1.1.1, 00:00:08, FastEthernet0/0
) b4 G, W5 v) o! S" j
   21.0.0.0/24 is subnetted, 1 subnets 0 a2 }% C5 Q+ V! u& \! U
C       21.1.1.0 is directly connected, FastEthernet0/0
2 }; I9 O2 M1 s) @# W
   20.0.0.0/24 is subnetted, 1 subnets
$ O. f$ b+ X0 S. b; s
R       20.1.1.0 [120/1] via 21.1.1.1, 00:00:08, FastEthernet0/0
4 m8 e: U. B; j9 z2 j; b; }+ ^( o
   5.0.0.0/32 is subnetted, 1 subnets
$ t! W1 ~2 d7 l/ v( q
R       5.5.5.5 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
* s) F3 h% S& H+ ~5 g, l0 B
   6.0.0.0/32 is subnetted, 1 subnets ! s: l/ w1 c/ U) X* i3 N; E
R       6.6.6.6 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
7 p/ a0 |/ `' d% i, L, |
   7.0.0.0/32 is subnetted, 1 subnets
# k) ?  l+ w' h$ k4 W
C       7.7.7.7 is directly connected, Loopback0 & E+ x% H. x$ B5 b# F9 E! [
   10.0.0.0/24 is subnetted, 1 subnets
) G4 N6 G% N5 i1 G8 b; A# P2 @5 a
R       10.1.1.0 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
9 @+ a) Y, w! M( n( J9 c# w! `
   11.0.0.0/24 is subnetted, 1 subnets # c* ?" c6 f) @( i4 \
R       11.1.1.0 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
" `  F9 ]: o/ ?- ]9 s
   31.0.0.0/24 is subnetted, 1 subnets 2 S# e, x5 I$ c. @
R       31.1.1.0 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
8 ?  `8 O" `7 H$ Q7 m. Z) P
   30.0.0.0/24 is subnetted, 1 subnets . F# o, Z2 y' |+ K: G
R       30.1.1.0 [120/1] via 21.1.1.1, 00:00:10, FastEthernet0/0
1 {  J5 m. j! P6 Q- Q1 o, i0 i: F/ \+ ?. x* U( }; v. h
//可以看到R7也学到了OSPF自治系统的路由信息。
+ N4 Z" d& {5 u' C- P8 ?
 成长值: 63385
发表于 2009-11-13 16:03:04 | 显示全部楼层
沙发 2009-11-13 16:03:04 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2010-4-23 11:06:28 | 显示全部楼层
板凳 2010-4-23 11:06:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-29 00:35:09 | 显示全部楼层
地板 2012-7-29 00:35:09 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2019-3-7 10:49:32 | 显示全部楼层
thanks
5# 2019-3-7 10:49:32 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 13:45 , Processed in 0.066325 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表