NAT实验手册.docx
- 文档编号:9745536
- 上传时间:2023-02-06
- 格式:DOCX
- 页数:14
- 大小:104.94KB
NAT实验手册.docx
《NAT实验手册.docx》由会员分享,可在线阅读,更多相关《NAT实验手册.docx(14页珍藏版)》请在冰豆网上搜索。
NAT实验手册
NAT实验手册
拓扑:
配置记录:
R1-PC#showrun
Buildingconfiguration...
Currentconfiguration:
766bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR1-PC
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
noiprouting
noipicmprate-limitunreachable
iptcpsynwait-time5
!
!
noipcef
noipdomainlookup
!
!
interfaceFastEthernet0/0
ipaddress192.168.1.1255.255.255.0
noiproute-cache
duplexauto
speedauto
!
ipdefault-gateway192.168.1.254
noiphttpserver
noiphttpsecure-server
!
!
control-plane
!
!
linecon0
exec-timeout00
privilegelevel15
loggingsynchronous
lineaux0
exec-timeout00
privilegelevel15
loggingsynchronous
linevty04
login
!
!
end
R1-PC#
R1-PC#
R1-PC#p202.101.100.30
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto202.101.100.30,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=28/87/212ms
R1-PC#
R1-PC#
R1-PC#
R1-PC#wr
Buildingconfiguration...
[OK]
R2-SERVER#showrun
Buildingconfiguration...
Currentconfiguration:
788bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR2-SERVER
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
noiprouting
noipicmprate-limitunreachable
iptcpsynwait-time5
!
!
noipcef
noipdomainlookup
!
!
!
interfaceFastEthernet0/0
ipaddress192.168.1.100255.255.255.0
noiproute-cache
duplexauto
speedauto
!
ipdefault-gateway192.168.1.254
noiphttpserver
noiphttpsecure-server
!
!
control-plane
!
!
linecon0
exec-timeout00
privilegelevel15
loggingsynchronous
lineaux0
exec-timeout00
privilegelevel15
loggingsynchronous
linevty04
passwordcisco
login
!
!
end
R2-SERVER#
R2-SERVER#
R2-SERVER#
R2-SERVER#
R2-SERVER#p202.101.100.30
Typeescapesequencetoabort.
Sending5,100-byteICMPEchosto202.101.100.30,timeoutis2seconds:
!
!
!
!
!
Successrateis100percent(5/5),round-tripmin/avg/max=40/77/188ms
R2-SERVER#
R2-SERVER#
R2-SERVER#
R2-SERVER#
R2-SERVER#wr
Buildingconfiguration...
[OK]
R3#SHOWRUN
Buildingconfiguration...
Currentconfiguration:
1293bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR3
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
noipicmprate-limitunreachable
iptcpsynwait-time5
!
!
ipcef
noipdomainlookup
!
!
!
interfaceFastEthernet0/0
ipaddress192.168.1.254255.255.255.0
ipnatinside
ipvirtual-reassembly
duplexauto
speedauto
!
interfaceSerial1/0
ipaddress202.101.100.1255.255.255.224
ipnatoutside
ipvirtual-reassembly
serialrestart-delay0
!
interfaceSerial1/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
noiphttpserver
noiphttpsecure-server
!
iproute0.0.0.00.0.0.0202.101.100.30
!
ipnatinsidesourcelist1interfaceSerial1/0overload
ipnatinsidesourcestatictcp192.168.1.10023202.101.100.38080extendable
!
access-list1permit192.168.1.00.0.0.255
!
!
control-plane
!
!
linecon0
exec-timeout00
privilegelevel15
loggingsynchronous
lineaux0
exec-timeout00
privilegelevel15
loggingsynchronous
linevty04
login
!
!
end
R3#
R3#
R3#
R3#showrun|se
R3#showrun|sectionnat
ipnatinside
ipnatoutside
ipnatinsidesourcelist1interfaceSerial1/0overload
ipnatinsidesourcestatictcp192.168.1.10023202.101.100.38080extendable
R3#
R3#
R3#showipnattr
ProInsideglobalInsidelocalOutsidelocalOutsideglobal
icmp202.101.100.1:
3192.168.1.100:
3202.101.100.30:
3202.101.100.30:
3
tcp202.101.100.3:
8080192.168.1.100:
23------
R3#
R3#
R3#
R3#
R3#shipro
Codes:
C-connected,S-static,R-RIP,M-mobile,B-BGP
D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea
N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2
E1-OSPFexternaltype1,E2-OSPFexternaltype2
i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2
ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute
o-ODR,P-periodicdownloadedstaticroute
Gatewayoflastresortis202.101.100.30tonetwork0.0.0.0
202.101.100.0/27issubnetted,1subnets
C202.101.100.0isdirectlyconnected,Serial1/0
C192.168.1.0/24isdirectlyconnected,FastEthernet0/0
S*0.0.0.0/0[1/0]via202.101.100.30
R3#
R3#
R3#
R3#
R3#wr
Buildingconfiguration...
[OK]
R4#showrun
Buildingconfiguration...
Currentconfiguration:
905bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR4
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
noipicmprate-limitunreachable
iptcpsynwait-time5
!
!
ipcef
noipdomainlookup
!
!
interfaceSerial0/0
ipaddress202.101.100.30255.255.255.224
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
noiphttpserver
noiphttpsecure-server
!
!
control-plane
!
!
linecon0
exec-timeout00
privilegelevel15
loggingsynchronous
lineaux0
exec-timeout00
privilegelevel15
loggingsynchronous
linevty04
login
!
!
end
R4#telnet202.101.100.38080
Trying202.101.100.3,8080...Open
UserAccessVerification
Password:
R2-SERVER>
R2-SERVER>
R2-SERVER>
R2-SERVER>ex
[Connectionto202.101.100.3closedbyforeignhost]
R4#
R4#
R4#
R4#
R4#wr
Buildingconfiguration...
[OK]
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- NAT 实验 手册