本站已运行

攻城狮论坛

作者: 宅男女神
查看: 928|回复: 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的路由交换问题(拓扑+配置)

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

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

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

; m# `, [- z. Q8 c% g  {8 U% o: Q. g: j5 u1 ?/ T: O6 V
PC1能ping通R1的se0/0/0,为什么ping不通R2和R2身后的网段,求解$ J$ g& i( g8 e- Z
r1#show run+ H# q2 P9 L, ~: T5 T
Building configuration...8 ?! s6 o! ^+ x
6 u( ?& s" f% _7 \. b2 A, N) L
Current configuration : 1794 bytes
; U5 ]  l* J6 A3 Z: h* E1 n!
! s, G' I  F- xversion 15.13 ~0 u: j6 R, L: Q- ~" v  D
no service timestamps log datetime msec
# S: J: X2 R! a+ |" k2 Sno service timestamps debug datetime msec
. F# O' f1 I1 M* Jservice password-encryption% Q1 f7 m( W2 U8 R" u
!8 o$ T) e, O  a' i7 b1 P
hostname r1  \8 g! s7 G" c: ?: b0 V
!1 e# x1 r. e* J6 K
- k9 m. A7 ^% D; r+ I$ O5 E3 U
username r2 password 7 0822455D0A16# x2 H6 ]) H8 Y  g( m7 t
!
+ q$ h; l. W9 k+ `7 x8 u!
( U/ {# G( H6 ?license udi pid CISCO2911/K9 sn FTX15245Y0J
) z- c+ N( k; f* ?" C' w- y3 [& q!3 I! w4 t  h5 A+ E) X+ m7 ?# c
!/ }0 D! l; @- D7 h2 q

) I3 V; i5 X0 m! Y  u7 x0 A!# f# w/ w- Z) m/ V1 R+ d
spanning-tree mode pvst
; K$ ~. t. b! Q) o. S# U0 h# o: B8 d!/ B' B" r  X" H

$ }" k- J# }5 R2 N!. H0 E: F" b& U
interface Loopback04 N; s, G+ n; _4 k8 M& x: |2 q
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
. x, B2 w2 B) `' J; G!) n4 F. ^  q8 W( c6 q/ k( T" `/ u
interface GigabitEthernet0/0( F, ?) f5 L; u0 _" @; U
no ip address9 I8 O, J8 n1 G/ F/ @# G
duplex auto
" P; ~; F! V5 Y* l( u7 ^ speed auto+ u6 G8 a& P) ]9 ^, ^
!
! W2 M3 P# \" \7 h6 `* q% _interface GigabitEthernet0/0.10
/ ?: D3 H0 r+ e) H6 e encapsulation dot1Q 101 |0 c1 ]0 D# ~  D: t' R
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.02 m/ ^" O" g! c: N' F
ip access-group 110 in2 B& t# Z: S2 n8 R8 n0 K
ip nat inside
1 k/ T& x: N" @2 {!6 \% L3 _0 z% y
interface GigabitEthernet0/0.11
9 Y6 y, m; u2 E encapsulation dot1Q 11& e. N/ ]" k) T( U. t/ H
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& G' {3 Z# @. o7 Q& }
ip nat inside6 L3 E' w2 o4 J( j7 W0 G

; t3 y7 y6 D# W1 h!6 k0 @8 @+ R  t4 |
interface Serial0/0/08 `* V) F, ^/ y5 {5 @7 ^6 B
bandwidth 10000* V' |6 @  q6 Y. j5 f0 \+ d. x4 B, z2 t
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) V, e" C) x5 c4 C0 H7 ~
encapsulation ppp
/ ?( t  ?  K) q ppp authentication chap# ~8 o  z' m, X3 N" g, ~$ y5 {' |
ip nat outside' e/ J  X/ {1 z- [# @
0 K: J1 y+ a" y- U: D: C. c
interface Vlan1
3 g& i5 M/ f9 t( r; a3 Z" Q no ip address
2 o: d5 `: H( G2 j% }* Z shutdown. Y8 O; k" {! x3 F# |, P
!
8 c# I- s4 g8 H$ m# v6 D1 H6 K' irouter ospf 10. V/ o9 m- Q) P. I, ~* s1 ]) f
router-id file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png100.100.100.1004 \  n6 a; h2 n) }4 z
log-adjacency-changes  M, |6 [& E! y- Q/ ~- W8 M. o
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# c# F+ h1 O: o) q6 M
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
% r, T& W, r+ L! g! F1 b!3 E; K; G2 s7 u
ip 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
# g0 M0 m# z/ C0 N6 w8 vip nat inside source list 5 pool mapp-address. H2 h# C3 O5 }2 B8 u1 S. |% U
ip classless, v% ^, j# s8 ~+ Q- g3 ]; k, q
!1 c; ?$ x8 ?2 u' l( c

6 p' w; h. k; e4 c4 V3 Eaccess-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
( e  {; J- V' d. p) x3 V. naccess-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
4 I$ j+ @$ N5 p: t. naccess-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: ?# M6 u/ z" P7 Y  m" ?
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
) j# t2 f. j2 X3 jaccess-list 110 permit ip host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png192.168.1.1 any7 K& s; H! W3 @6 V9 G
access-list 110 permit ip any any
  B) ]$ V' Y5 O* j' L+ z
/ {2 A: [6 U( y/ J4 L& N$ U. H" ^% T/ B
4 {7 Q$ {$ _  }2 ~) [' {0 l
6 _1 `$ Z  H9 y0 T% P
r2#sho run
& e5 _7 Q+ z% y# s) ?4 yBuilding configuration...
8 S* n: a, e4 ^; K! P' l7 Z- }8 \( k: [& H/ w/ R+ l) ?
!
" Q3 M7 u/ S- Ahostname r2$ M% J" R/ _1 @% w
!
" w9 Z  Z3 C$ _+ c0 M5 B
! [; l: c/ V. Z, R$ ^3 C, s* i; v!
) s- m  z, Q: s3 X  J+ A0 |username r1 password 7 0822455D0A16
) Q7 j6 o7 Y, P; J- O!
  N9 T7 A( B: z9 g4 V8 k!/ W8 ~1 D1 a6 t4 U  U& D% ^4 [
license udi pid CISCO2911/K9 sn FTX1524168Z) O* I7 Z, c, q- E! g
4 [$ m' f% f  X% J0 G& b
!, n! a- }( U3 _+ n: n
!
$ k1 m% I3 l8 J% C6 c, [' L. ~spanning-tree mode pvst. w4 {1 P) y0 E0 h
!3 \& W( `2 F1 {7 r% [
- o: m, G; h4 r5 L/ S. x
!" c4 x3 ~8 i% r! F+ t; L. H
interface Loopback07 y$ H: U  q) ]. ~5 c
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
8 j4 o1 Q/ m) d7 t!
% U1 U/ L; Q$ T$ z2 L6 b, R( Ainterface GigabitEthernet0/0
/ @, D4 p4 L2 }9 P0 d" C, g: T) m  T 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
9 a$ p7 j  a$ Z0 L duplex auto# _$ K2 o' i/ @6 H' s- o8 g
speed auto5 v5 n: e0 ]  y, H, Q6 F1 g
% X- ]4 }$ B5 u- a! Q# }: A# \/ [
interface Serial0/0/09 h( J7 O# b$ {! U' q
bandwidth 10000
( Z: K3 q% E( x7 r 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.2524 e/ v) H$ G( k( T
encapsulation ppp
2 L! w5 U3 s" v3 } ppp authentication chap+ N8 f$ y  B6 F
ip access-group denyweb in# @4 G( x9 Q6 @$ ]$ z
clock rate 125000
# h# v, k) j% d9 @' {1 N!9 U& Z, b% @! j3 r
- Z0 U8 I/ T! I% D
interface Vlan17 C% \( ]0 w6 D' V) N% Z
no ip address) s; o( x; L% Q
shutdown, X3 m6 h! J6 [" Y  \
!" b, |5 S, X; ~7 X
router ospf 11
" Q: A" X# i& d6 I router-id file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png90.90.90.90) T+ h) D+ Z- S' t6 o
log-adjacency-changes
, R% Q! z! v1 r  e; W$ {0 W 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
# Y# q9 A2 S: }' g 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
+ v& ^6 s6 a6 N! ?* X: r network 202.100.2.0 0.0.0.255 area 10
: `' A* y) ?: c5 i; I!
3 F1 A4 I$ v! V+ J* F% q! |/ B& Tip classless' k$ r; Y7 g# A/ V% d% {1 W6 X
!) s$ E% J" I0 Z& {7 I: w) ~3 O3 s
ip flow-export version 98 c' I7 h  j3 v6 {' B6 l
!: r! T7 f* D( t' d4 n) N$ S
!
; |4 A. k* L8 E% A6 |ip access-list extended denyweb
1 I4 t# G% o4 ]) h, g 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
( h' w1 |. m! w1 U permit ip any host file:///C:\Users\vlan5.com\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png202.100.2.1
' u  g' p1 f% i' q9 c( W+ _2 h permit ip any any, [6 A3 O; Z; C: l1 j5 o
!$ L( _% \$ @& p2 t. V2 S, |
!& s6 B* S- c$ c; b
!
/ x3 I3 g/ n3 U/ H9 I2 j!2 l$ D: J" x4 h
end
) ]2 O; v  x/ B2 e# t& Y$ r此为R2配置
6 Z3 {% q( D3 F) V8 L8 [; x+ r4 f1 ?3 b" [. |1 x
# K$ f8 w$ _7 s
$ O% O6 I/ p4 c# P

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各增加一条默认路由,应该可以通。因为是点对点链路,在这里用出接口:
6 @. x* h# i3 I' ^R1:9 H) U# k4 |, n% `  x8 f) Q( X
ip route 0.0.0.0 0.0.0.0 s0/0/0" L2 r' Y; n3 U
6 @- z5 X% O* q; Y
R2:
2 _4 T2 D  C. c- H2 k, V: u0 Nip route 0.0.0.0 0.0.0.0 s0/0/0
回复

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-3-14 19:28 , Processed in 0.138596 second(s), 15 queries , Gzip On, MemCache On.

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

Designed by ARTERY.cn