本站已运行

攻城狮论坛

作者: 宅男女神
查看: 951|回复: 4

主题标签Tag

more +今日重磅推荐Recommend No.1

所有IT类厂商认证考试题库下载所有IT类厂商认证考试题库下载

more +随机图赏Gallery

【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集【新盟教育】2023最新华为HCIA全套视频合集【网工基础全覆盖】---国sir公开课合集
【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课【新盟教育】网工小白必看的!2023最新版华为认证HCIA Datacom零基础全套实战课
原创_超融合自动化运维工具cvTools原创_超融合自动化运维工具cvTools
重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)重量级~~30多套JAVA就业班全套 视频教程(请尽快下载,链接失效后不补)
链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享链接已失效【超过几百G】EVE 国内和国外镜像 全有了 百度群分享
某linux大佬,积累多年的电子书(约300本)某linux大佬,积累多年的电子书(约300本)
乾颐堂现任明教教主Python完整版乾颐堂现任明教教主Python完整版
乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)乾颐堂 教主技术进化论 2018-2019年 最新31-50期合集视频(各种最新技术杂谈视频)
Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天Python学习视频 0起点视频 入门到项目实战篇 Python3.5.2视频教程 共847集 能学102天
约21套Python视频合集 核心基础视频教程(共310G,已压缩)约21套Python视频合集 核心基础视频教程(共310G,已压缩)
最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程最新20180811录制 IT爱好者-清风羽毛 - 网络安全IPSec VPN实验指南视频教程
最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器最新20180807录制EVE开机自启动虚拟路由器并桥接物理网卡充当思科路由器

[路由交换] PT模拟器里的一个ping的路由交换问题(拓扑+配置)

[复制链接]
查看: 951|回复: 4
开通VIP 免金币+免回帖+批量下载+无广告
50金币

PT模拟器里的一个ping的路由交换问题(拓扑+配置)

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

CCNA考试 官方正规报名 仅需1500元
回复 论坛版权

使用道具 举报

cosoo [Lv3 牛刀小试] 发表于 2016-7-13 19:27:01 | 显示全部楼层
看一下路由,ospf的邻居有没有建立,还有,可不可以把拓扑文件也传上来?
回复

使用道具 举报

hfsh_4334 [Lv5 不断成长] 发表于 2016-7-13 19:30:24 | 显示全部楼层
是不是流量全部被NAT转发了 ,要提前deny掉
回复

使用道具 举报

张冠聪 [Lv8 技术精悍] 发表于 2016-7-15 22:51:51 | 显示全部楼层
做NAT后,还需增加一条默认路由。在R1和R2各增加一条默认路由,应该可以通。因为是点对点链路,在这里用出接口:
' A* Q+ N  G# ?3 T+ uR1:
! ^9 _/ v- L# k3 y0 b2 Iip route 0.0.0.0 0.0.0.0 s0/0/00 z" v2 X8 h$ }. f. W" ?

# N/ O3 l, E: R! qR2:
2 O; ]: A0 V- D6 j7 G  }. r  b3 n) |ip route 0.0.0.0 0.0.0.0 s0/0/0
回复

使用道具 举报

310224570 [Lv2 初出茅庐] 发表于 2017-2-28 15:49:50 | 显示全部楼层
路由没配置吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|无图浏览|手机版|网站地图|攻城狮论坛

GMT+8, 2026-8-28 23:51 , Processed in 0.107860 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

Designed by ARTERY.cn