欢迎来到天天文库
浏览记录
ID:48422760
大小:590.50 KB
页数:13页
时间:2020-01-25
《VPN配置实验.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、.实验五VPN配置实验一、实验目的:1.了解VPN的概念2.熟悉IPSec协议3.熟悉PacketTracer模拟软件的用法,练习使用PacketTracer模拟软件配置VPN二、实验内容:利用PacketTracer模拟软件,配置基于IPSec的LAN-to-LAN的VPN。三、实验要求实验一、拓扑结构如下图所示,IP地址必须配置成不同于下图中的IP。1.配置路由器和主机,使得网络联通2.配置路由器0和路由器2,构建VPN。实验二、拓扑结构如下图所示,IP地址必须配置成不同于下图中的IP。1.配置路由器和
2、主机,使得网络联通2.配置路由器3和路由器0,构建远程接入VPN。..实验一拓扑实验二拓扑四、实验步骤实验一..1.配置路由器和主机,使得网络联通2.配置路由器0和路由器2,构建VPN。分部路由设置Router>enableRouter#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hostnamefenbufenbu(config)#interfaceFastEthernet0/1fe
3、nbu(config-if)#ipaddress192.168.1.1255.255.255.0..fenbu(config-if)#noshutdown%LINK-5-CHANGED:InterfaceFastEthernet0/1,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/1,changedstatetoupfenbu(config-if)#exitfenbu(config)#interfaceFas
4、tEthernet0/0fenbu(config-if)#ipaddress100.1.1.2255.255.255.0fenbu(config-if)#noshutdown%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupfenbu(config)#cryptoisakmppolicy10fen
5、bu(config-isakmp)#encryption3desfenbu(config-isakmp)#hashmd5fenbu(config-isakmp)#authenticationpre-sharefenbu(config-isakmp)#cryptoisakmpkeygaoaddress200.1.1.2fenbu(config)#cryptoipsectransform-setgaozhuang..esp-3desesp-md5-hmafenbu(config)#cryptomaptom10i
6、psec-isakmp?dynamicEnabledynamiccryptomapsupportfenbu(config)#cryptomaptom10ipsec-isakmp%NOTE:Thisnewcryptomapwillremaindisableduntilapeerandavalidaccesslisthavebeenconfigured.fenbu(config-crypto-map)#setpeer200.1.1.2fenbu(config-crypto-map)#settransfo
7、rm-setgaozhuangfenbu(config-crypto-map)#matchaddress101fenbu(config-crypto-map)#exitfenbu(config)#access-list101permitip192.168.1.00.0.0.255192.168.2.00.0.0.255fenbu(config)#intf0/0fenbu(config-if)#cryptomapgao*Jan307:16:26.785:%CRYPTO-6-ISAKMP_ON_OFF:ISAK
8、MPisONfenbu(config-if)#noshutfenbu(config-if)#exit..fenbu(config)#iproute0.0.0.00.0.0.0100.1.1.1fenbu(config)#exit远程路由设置Router>enableRouter#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z
此文档下载收益归作者所有