欢迎来到天天文库
浏览记录
ID:40572957
大小:74.00 KB
页数:6页
时间:2019-08-04
《PacketTracer5实验NAT》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、采用PacketTracer4.1模拟器做以下实验: 各路由器命令如下: RouterA: Buildingconfiguration... Currentconfiguration:616bytes ! version12.2 noservicepassword-encryption ! hostnameRouter ! ! ! ! interfaceFastEthernet0/0 ipaddress192.168.100.1255.255.255.0 duplexauto speedauto ! interfaceSerial0/0 ip
2、address192.168.102.1255.255.255.0 ! interfaceSerial0/1 noipaddress ! interfaceFastEthernet1/0 ipaddress192.168.101.1255.255.255.0 duplexauto speedauto ! interfaceFastEthernet1/1 ipaddress192.168.103.1255.255.255.0 duplexauto speedauto ! routerrip network192.168.100.0 network192.
3、168.101.0 network192.168.102.0 network192.168.103.0 ! ipclassless ! ! ! ! linecon0 linevty04 login ! ! end RourteB: Buildingconfiguration... Currentconfiguration:943bytes ! version12.2 noservicepassword-encryption ! hostnameRouter ! ! ! ! interfaceFastEthernet0/0
4、ipaddress192.168.101.2255.255.255.0 ipnatinside duplexauto speedauto ! interfaceSerial0/0 ipaddress192.168.102.2255.255.255.0 clockrate64000 ! interfaceFastEthernet1/0 noipaddress duplexauto speedauto shutdown ! interfaceFastEthernet1/1 ipaddress192.168.104.1255.255.255.0 duplex
5、auto speedauto ! interfaceSerial1/0 ipaddress52.2.2.2255.255.255.252 ipnatoutside ! interfaceSerial1/1 noipaddress shutdown ! routerrip network192.168.101.0 network192.168.102.0 network192.168.104.0 ! ipnatinsidesourcelist1interfaceSerial1/0overload ipnatinsidesourcestatic192.16
6、8.101.3200.5.22.21 ipnatinsidesourcestatic192.168.100.2200.5.22.22 ipclassless iproute0.0.0.00.0.0.052.2.2.1 ! access-list1permit192.168.0.00.0.255.255 ! ! ! linecon0 linevty04 login ! ! end ISProuter: Buildingconfiguration... Currentconfiguration:589bytes ! version12.2 nos
7、ervicepassword-encryption ! hostnameRouter ! ! ! ! interfaceFastEthernet0/0 ipaddress200.2.2.1255.255.255.0 duplexauto speedauto ! interfaceFastEthernet1/0 noipaddress duplexauto speedauto shutdown ! interf
此文档下载收益归作者所有