' U- u$ `( l$ Q. a& i6 n
' s, t7 o, M% w1 x' t$ QR1:
& l" a+ R+ N$ n0 L" e' k( \+ D. Y G+ e- l7 J
R1(config)#ip route 3.3.3.0 255.255.255.0 12.1.1.1
# [& j- n% S% O5 {R2:# ]6 ^, A2 Y% j, X: X
R2(config)#ip route 1.1.1.0 255.255.255.0 12.1.1.1) P% _) D+ e. j5 f
R2(config)#ip route 3.3.3.0 255.255.255.0 23.1.1.2
3 V1 H/ _1 }! d l( P+ a- o- g" F+ ~0 ?
R3:% q8 D: m% M3 |3 y- L# I
; g3 n- l; }- t& q t& UR3(config)#ip route 1.1.1.0 255.255.255.0 23.1.1.1
) A. l, L. D4 m0 V0 C' _& Q4 L
0 v3 H8 o! q3 e/ }8 K( S3 W" ^6 @8 h( c
R1#ping 3.3.3.3 source 1.1.1.1
& W! T" S7 N6 h5 [
6 ^1 F. E8 u" P( d; VType escape sequence to abort.
3 }6 m3 [% q# \Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
* W" g9 l' d8 U- Q8 U2 \Packet sent with a source address of 1.1.1.1 2 E$ [, B, A5 r; L
!!!!!6 d$ `0 z% A6 k4 e: d9 f# `$ c2 u
Success rate is 100 percent (5/5), round-trip min/avg/max = 88/90/92 ms,
0 u# R) M8 y" ^1 ?; g, m8 q) r8 y( H3 w/ @0 J9 Q
张冠聪,我不知道你是哪一种大牛,但在我看来你这是误人子弟啊,我只用4条静态路由就能实现你6条路由的功能了,只要是ping 3.3.3.3 source 1.1.1.1 这个强大的命令,就可以大大减少路由条目了
! B I) m7 Y& C9 O/ i/ N |