
如果不加metrcis字段是不是OSPF就进不到RIP域内?至少我通过实验的结果是如此?
/ c& Z" e" J8 a这个是R2 ASBR路由器的配置:$ }4 V# Y2 c) K8 L/ s/ M( ?
R2#show runn
" e7 ]' w: G5 P' J' D, y @' g3 XBuilding configuration...
1 u- z( q) S" R+ d* ~9 F% S
* H- \& N9 I) w3 Y* x/ {. pCurrent configuration : 1425 bytes! y' Q' x4 o' }, w- G0 M
!+ M) h7 y' v/ d) @/ X* v$ C4 p
! Last configuration change at 11:25:35 UTC Sat Apr 16 2016
* E" D# Y% E) {6 q% W6 w' `* L!' l# |+ A: j X, o g3 [! H
version 15.2: j4 K0 X: V" c( q: X; j, S
service timestamps debug datetime msec
& N0 Y& d7 }/ |$ q5 @4 e, E5 t7 z+ |service timestamps log datetime msec
' m; i$ `% [% p# j8 |!2 Y$ |1 |/ N; d% D$ m+ j% t
hostname R22 m2 V( Y4 w* s7 O% I- A6 F D
!
4 a. ]! B$ n/ ?4 g+ F9 wboot-start-marker, U0 d o* \% \. K1 B: y0 R
boot-end-marker/ y" x' D8 P$ ?1 I% L( _
!; \% P7 t0 K. o) @! M4 P* w
!
9 m, e+ A1 ] t" X' c- Y [1 ]!# \4 M( E9 A/ N: Q! S' u
no aaa new-model
: o* `) P# j: ]; ~no ip icmp rate-limit unreachable
$ `- m- j; g5 r!
5 V; p+ H: w' V!0 D5 y: K: _3 v! E
!
9 _9 i7 w' Q( H: U!
/ Q, S2 O* [( w; P2 j!
( g9 Z! a7 e9 J6 d+ K- `; U! 9 e) J' d2 ~4 e9 l& K. @/ a
no ip domain lookup6 n$ T( a" @+ p& y
ip cef5 y" A/ L/ d% x, G7 U+ |
ipv6 multicast rpf use-bgp0 `* G7 ~+ u2 C
no ipv6 cef
3 t9 H& i8 ~2 a3 p+ ~8 ~7 y3 x" f!
4 e# H4 Y) z! }!
) @4 A4 q; v: @3 d0 }multilink bundle-name authenticated% b, j8 \$ A% Q2 r! m. r
!1 N$ V( x9 L& Y0 n
!
1 o0 z4 y4 `/ q& q% Z/ v!3 h7 d: q0 ^& H4 }9 e z9 g
!9 c% t7 B- v, ?0 R+ I2 z
!8 L: R7 q8 V. g" ^" B
!
0 K- n1 `& w# J0 }) c5 |- E, q$ ?!/ u3 P0 o+ g4 L- T4 L
!
# c d/ `0 H* `!
* I5 Z% S# N% D- v3 v4 j- v!
7 q) F; N* i- {. B( B& ^1 K# f3 w4 @!
% U! J/ v4 }6 J1 l9 E!0 N/ f; e; Y5 |) X+ y
ip tcp synwait-time 5
# m1 o/ O/ V; B9 h& t O!
: d) O Z/ x) O& t, ~% v* e, z% Y!9 C) |! I, F, |( k9 c( |
! : _% r% X2 J; U3 [; J! w9 B2 O' v
!' _5 Y& K- C2 P
!6 R" E3 u6 P0 N0 o4 @/ [; i
!
0 G3 N% v, A" _2 X. z7 P) \. ?!
# l8 t2 p: `* b!- f' ^, ]/ B+ _7 M, U, ^# L
!+ P: E4 k* _- A3 n) M- V* d
interface FastEthernet0/0
! x3 w j% P9 W6 L no ip address! i6 R' Y3 c. q3 }$ @
shutdown
) U3 V7 g8 B# n+ Z duplex full4 X3 C% p7 c5 q# [
!
( _+ g# V" v( B! v" T/ a4 M Rinterface FastEthernet1/0# u4 t3 h& V: Z+ s- _
no ip address& ~( Q) w8 J, [; c
shutdown
! R8 g( X x6 x6 |" q0 u) F; E speed auto
* Z: Q! U5 B& [- s# H0 H. }# C8 D duplex auto& i/ ^2 L: ?" \& c9 j @/ u7 p
!8 S2 M7 l2 Y' v
interface FastEthernet1/1
6 T- q! Q( Q6 d no ip address
- P/ G' D4 q4 _% Z& F; s- @ shutdown+ S: {( Q4 v5 z* n
speed auto' B5 y5 M4 W) Q0 v2 Y! d
duplex auto& L( E; ^5 v. N: ]
!
& N4 [: G$ Z5 ^( sinterface Serial2/0
- `5 `8 E, d# O8 B: L, ] ip address 192.168.1.2 255.255.255.06 W" P- B$ @ k/ K4 ?; u
serial restart-delay 0, ^! K) Q$ ?% X4 K6 U" E; s
!- K& t. |9 O* a3 O9 ^* Q# `0 f
interface Serial2/1! Z+ {. P( ], J u" T2 ^( y9 b x
ip address 192.168.2.1 255.255.255.0
V, g& h1 Z3 B2 Z1 O8 g serial restart-delay 0& t+ d6 F L5 ~/ f# t
!
3 q9 E4 I% z5 q5 m2 y* F" R6 @1 Winterface Serial2/2
: Z$ n: f2 E; }# C5 f# I, e( |3 Z no ip address: P8 l! ]# G/ g3 e; H( h
shutdown
; I: ]: i$ a. F+ q4 M: p$ u serial restart-delay 0
$ l& D$ Y, @/ f8 d% z7 ^!
: O2 v2 j, j% u- ]interface Serial2/30 c7 f2 o3 U* Z
no ip address
1 e3 I9 M% {+ }8 E' ?/ t# p shutdown3 ]$ K$ m+ j3 ?% W
serial restart-delay 0- J+ l, L3 x5 z+ e
!( @0 {& b, j+ e9 ]
router ospf 19 y4 ?5 |3 }2 u: v0 u! D
redistribute rip subnets
0 Y& U2 l# T5 ]" O0 r% a3 V ^( z network 192.168.2.1 0.0.0.0 area 03 w/ p- X5 d, e" s" N6 a" Q
!5 Y, E' i: U g, s! B+ l. w8 H
router rip+ n# a5 J1 m ~+ F7 H
version 2
0 Z& R* G; t+ A( h) Y+ k redistribute ospf 1
' w! @& O2 u5 m' T: ^+ E network 192.168.1.0
" A# B* J* d4 a. i no auto-summary
, u( B4 t$ R( w6 d!* Z% T& F9 u9 [) C# Q2 ?) j+ s+ \
ip forward-protocol nd, V: t5 o% | y, \2 W) U! Y: B. Z
!, x, S6 @% O# Q5 x
!
3 A) z \' v% \; O0 {7 |) Zno ip http server2 [3 [1 [6 Q3 w) a
no ip http secure-server3 C" k0 E d" r7 ]
!
' x* Q$ }1 v: n$ J!. \1 P# w R/ h4 A" k" c+ `9 l
!
" u( {; v# Y* ~$ c- w8 P/ N!
4 ~; w& b- \- r8 mcontrol-plane
' d; ` k" e P( N, W0 I!9 A+ j+ ]$ ]+ w
!
% ]3 d( V/ \# e) z0 d; ?( { Y: P/ Nline con 0
8 g! R) B: { c- a( y0 g exec-timeout 0 0
7 Q% h! g* T H3 ~5 F privilege level 15 n9 Z7 A; W- K; O9 f
logging synchronous y5 o4 n M- K& G+ w
stopbits 1( W6 y* i2 |: q/ j l9 K! i
line aux 0
4 `) n R$ ? {( r exec-timeout 0 0
: W4 @5 F. L: b privilege level 15- [" V+ N- t, k' o \+ J9 |# {- o
logging synchronous$ y4 K8 I' X+ I1 M
stopbits 1
" _6 s; E' w: {2 @# Y1 V* R1 Rline vty 0 4# G t. ^4 s2 }0 z
login
8 X3 S* Q, L2 O7 m, g!8 a& e" I* U: i8 q
!4 o2 M9 P' e: {/ D' N
end
4 z: }) Q$ U, s- G8 T |2 n
! w. G) Q. I( W+ |! cR2#
. X( R0 `* i4 G. O S+ p
9 Q; K* a" Q' `2 Z* R在执行完上述操作之后,发现R3上有R1上的路由,但是R1上却没有R3上的路由,是不是就是我说的那个原因? |
|