
50金币
|
PT模拟器里的一个ping的路由交换问题(拓扑+配置)
2 Y {3 X$ I2 w+ g; E
3 I* e* \9 ~' p. g PC1能ping通R1的se0/0/0,为什么ping不通R2和R2身后的网段,求解
" U9 A2 G. e: E2 fr1#show run+ M$ K0 H6 M: V' z* C$ ]% I3 Z
Building configuration..." t% G( R$ M7 X( G/ c
! ^& Q. p$ M) _& Y$ c" v& @! A- a
Current configuration : 1794 bytes
* c, z, v/ B; s7 U2 E) n!' _* U+ k+ {- U4 x
version 15.1
0 ^" c' `5 @3 J5 Q: Rno service timestamps log datetime msec
7 |. D2 Q, A; u6 nno service timestamps debug datetime msec) j. B3 \/ ]( B6 E7 a- [+ C- o
service password-encryption
; Y1 Z& ]+ b2 q: J/ D!0 y" c8 r6 w) o: j
hostname r10 ]+ @. i$ z. H8 l' F, T* F
!
' f$ j4 V; L1 p. j; R% @$ X9 F' ?5 s: F8 X0 R
username r2 password 7 0822455D0A16
# v% }' b# U4 @! B& [$ ]!
' k7 C3 m# n( V0 S$ R) c!
, R; w# q. x" O% Z+ \license udi pid CISCO2911/K9 sn FTX15245Y0J
2 B, g; m8 b4 L$ O0 c k7 X9 W8 ^!
+ l: ] N! }- S1 j) p) l!3 \/ K4 Q) ~ ?! \+ G
$ U+ _( |* ]2 P6 g: T
!
$ y$ J$ R8 k1 xspanning-tree mode pvst, A- n7 P; B+ \
!6 W0 A; i F! d" v) q
9 {5 E1 Y3 b4 R( U/ Y
!
: A. P; h- T5 U! {" s) {3 {- _ Jinterface Loopback0
4 ^( m6 y% @9 c! I3 w ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png50.50.50.50 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.0
. [7 @* { P9 G!
# ? C, B% @( f0 r" I2 ]interface GigabitEthernet0/06 S3 Y; G2 ~; o
no ip address2 Q( c/ E! z9 z+ R9 ~% [; ]( x! m* N
duplex auto
$ M) c% ^, J! F; r H speed auto
. `4 g7 M) u7 X, k, w!
* a$ Z6 ^' M; b) L! g- qinterface GigabitEthernet0/0.10% e& A3 |5 Q/ ` A7 ^( t. }! C; X2 z
encapsulation dot1Q 10
! S2 Q. q g9 T/ t6 W ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.254 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.0
P+ D3 q2 X6 K" D ip access-group 110 in" X9 B8 E6 M5 j: i# L0 O' |+ _
ip nat inside; N% w) r2 Z6 D! O0 @2 h2 S) R$ W
!
6 ~" J, V: {6 c0 ]1 Ainterface GigabitEthernet0/0.112 H, W* ?+ h. z c9 w4 M
encapsulation dot1Q 11
% n: O% k) T" [" G8 v, ^) x. D1 T ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.2.254 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.0
& I4 C; W& M/ D. L# _ ip nat inside8 F; @$ C/ j. ~/ ^1 V% g3 S
& r3 R: ]* l M!% T3 N+ i7 Q' r1 Z4 ?
interface Serial0/0/0
5 h$ H1 D/ E/ W8 B' F bandwidth 10000
6 U4 H$ S' n: I, |: x ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.1 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.252
1 D! V0 v/ i5 z7 |. G& e encapsulation ppp. M) E# O8 I' T+ T* g% W% M- q* ?
ppp authentication chap
8 q; Z G) p3 z( d2 v ip nat outside7 X9 {4 W" P* L+ x# k. C; ]
0 w! S& A/ B8 V/ P! r
interface Vlan1
6 d k* E0 J- k9 y! c5 { no ip address
2 [) u4 _) T* p, f5 y; y shutdown" J8 Z: j! Y W1 g
!- L2 l% x: o% a* U% y6 R! _- }4 f
router ospf 10
. e( j+ N2 l1 s( T; I6 n router-id file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png100.100.100.100/ \- j/ a8 ?+ H0 Y
log-adjacency-changes+ {! |" F9 E- n' Y+ V0 Q" L, r
network file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png50.50.50.0 0.0.0.255 area 10
& k/ l F! k' J4 e% G: x network file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.0 0.0.0.255 area 10- c" t2 }7 x( G
!
3 d3 c: A3 \" h- W7 e$ O: eip nat pool mapp-address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.10 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.20 netmask file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.224; Z* C) j9 I. C# X8 ~
ip nat inside source list 5 pool mapp-address
7 z: D! ^+ g. U6 T7 ^5 v1 C! _; Uip classless- t9 x- L# X( y: C0 ^
!8 V* x5 i* G! C# u2 k
0 a2 v- N+ E* o7 M! ^ W, e
access-list 5 permit file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.0 0.0.0.255
& d9 P) H. C/ b' D9 ^/ H. Eaccess-list 5 permit file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.2.0 0.0.0.255
7 {/ w6 G* R E7 x& _4 `access-list 110 permit icmp host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.1 host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.2.2 echo$ t! P0 t, m3 l8 Z
access-list 110 deny ip host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.1 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.2.0 0.0.0.255
: j3 ?5 d& x5 Q% ?- C- t" Y2 @% Qaccess-list 110 permit ip host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.1 any
- d, r3 o1 t9 ~access-list 110 permit ip any any
[) ~; Y2 E+ T0 \% B
- D0 e8 I# \; S ` f- u3 s+ f1 J' c4 _5 I
; ]& s+ E0 ~& F
6 K* B, M5 T0 P- G8 Y" Z; r r2#sho run
3 y5 Y( d2 ^# n3 }Building configuration...
" \9 s5 c# i1 @) P
' h+ n! t$ P" E" m2 m" Q) d- o7 U!
8 |0 I6 s; P; f' Ohostname r2
( `; B U8 l3 ^5 }8 }3 ~+ V!( j- z% q" F- I0 g3 w" n
2 h: P1 A( V) p8 ]
!
- [# H# m* M4 g3 C3 nusername r1 password 7 0822455D0A16$ W9 F) A4 k6 Z6 R( I; N5 r
!
* G! ]) C0 E0 k( a!* _" g( d1 n; I
license udi pid CISCO2911/K9 sn FTX1524168Z
, ]1 x( Y3 _0 d( i2 N! t, D% f; d4 A/ C0 Q
!
7 K. u }/ R" g# ]6 i, q* p!
/ D" T& c7 D7 C, m. G& ispanning-tree mode pvst
0 X+ Z. S4 f2 q% A* h z) {!+ `: D8 L0 f- S# R# m7 g, d
8 y! e- U/ Q( {!
( c+ q: Q2 {2 X- U3 C% _; J6 linterface Loopback03 ?0 f6 D: T' s1 g2 d0 l, \
ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png10.10.10.10 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.0
* Z& Z4 M& m N/ M: x4 t& x/ d!
* K8 j6 }- k8 ], Y' E4 \8 V/ Sinterface GigabitEthernet0/0
0 T, `4 }, ?7 D$ s* U ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.2.254 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.0+ e: f8 p( E$ s+ P( y, x
duplex auto
- R. ^: c, [9 f# A7 X* z6 q speed auto
" A( H Q( B- }/ X1 G( E; r/ |7 N- F
interface Serial0/0/0
( d% f0 X8 U8 w3 I! ~* Y bandwidth 100005 L9 J. j' u b% g# ^
ip address file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.2 file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png255.255.255.252
& j6 \. g; r, n+ Q encapsulation ppp
2 ^- \% d. @0 g ppp authentication chap+ K( X7 R, W- ^. [. q5 d( w/ U
ip access-group denyweb in. x+ p( F- U* q
clock rate 125000
- n9 Z8 ?9 Q* k9 `9 G!
' r% z% I5 y. l# e/ p: R$ A2 w* Q6 @
interface Vlan1 M2 N$ ^ G# W1 N4 n( [
no ip address' U% |0 }% }4 ?8 ^
shutdown
! F5 D# J; j: o& ]3 `2 f' e!) p( {7 g0 F, A. V
router ospf 11
8 K3 F- g: \- L3 m; A router-id file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png90.90.90.90+ h$ K$ B9 S( A2 d/ V1 J' w2 |1 H2 e8 G4 c
log-adjacency-changes
; M! ? {. R% |& s network file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png10.10.10.0 0.0.0.255 area 10
z- p2 a$ ^! D" l2 e% t network file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.1.0 0.0.0.255 area 10
: L6 }( J+ G$ a9 {* ?2 [ network 202.100.2.0 0.0.0.255 area 10
0 ?0 [8 H/ j$ l: g1 o!
. M/ k6 G, [! T% cip classless9 a5 R2 i5 `6 T, A+ A# t- p5 R( c' l0 v
!4 f9 W; o4 |2 F) `) @( ]
ip flow-export version 9; j0 o) R% n: Z' J3 R7 [% L8 F
!/ {/ i% x& E& [
! f7 [' _' C; ?" v
ip access-list extended denyweb2 B7 f5 T3 y! d5 R# c
deny tcp host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.2.2 host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.2.1 eq www
6 P3 F) H9 p6 m5 p$ A2 j [" i8 | permit ip any host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.2.1" I$ ]2 S! O# K- G/ w
permit ip any any
+ J% w) c; I6 {- w* A4 A7 A!6 O2 z- G+ K! `# L. N. A' C# d
!
- ]7 d! a/ I2 o% a/ F. V/ @# E2 }, w l!
: T4 l1 y$ r9 i. P# A; X!: A3 |( p3 U% x) D6 V1 N
end
3 x0 {( \3 k% Z$ F2 k( S此为R2配置
2 k0 c, H, R: Y& @9 o- L @: Q8 X! O2 v$ j
: \" u: A5 l; {9 `- }: D
/ M2 |) C+ V9 L6 q. r" T6 ^7 {" G% b |
|