欢迎来到天天文库
浏览记录
ID:38984307
大小:1.29 MB
页数:29页
时间:2019-06-23
《VPN Cisco IPSec IP安全虚拟专网的实现》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、VPNCiscoIPSec一、实验拓扑: 二、实验要求: 保证两个站点的路由没问题。 在站点A与站点B间配置VPN,保障企业的网络通过互联网连接起来。 三、实验的配置: R1的全部配置: r1#showrunning-config Buildingconfiguration... Currentconfiguration:597bytes ! version12.4 noservicetimestampslogdatetimemsec noservicetimestampsdebugdat
2、etimemsec noservicepassword-encryption ! hostnamer1 ! ! ! ! ! ! ! ! ! ! ! ! ! ! spanning-treemodepvst ! ! ! ! interfaceFastEthernet0/0 ipaddress192.168.2.3255.255.255.0 duplexauto speedauto ! interfaceFastEthernet0/1 ipaddress192.
3、168.0.1255.255.255.0 duplexauto speedauto ! interfaceVlan1 noipaddress shutdown ! ipclassless iproute192.168.1.0255.255.255.0192.168.2.1 iproute0.0.0.00.0.0.0192.168.2.1 ! ! ! ! ! ! ! linecon0 ! lineaux0 ! linevty04 login ! ! ! end
4、 siteA的全部配置: siteA#showrunning-config Buildingconfiguration... Currentconfiguration:1184bytes ! version12.4 noservicetimestampslogdatetimemsec noservicetimestampsdebugdatetimemsec noservicepassword-encryption ! hostnamesiteA ! ! ! ! ! ! ! !
5、 cryptoisakmppolicy10 encr3des hashmd5 authenticationpre-share group2 ! cryptoisakmpkeyciscoaddress61.128.1.1 ! ! cryptoipsectransform-setciscoesp-3desesp-md5-hmac ! cryptomapmap10ipsec-isakmp setpeer61.128.1.1 settransform-setcisco matchaddress
6、vpn ! ! ! ! ! spanning-treemodepvst ! ! ! ! interfaceFastEthernet0/0 ipaddress192.168.2.1255.255.255.0 duplexauto speedauto ! interfaceFastEthernet0/1 noipaddress duplexauto speedauto shutdown ! interfaceSerial0/0/0 ipaddress202.100.1.1
7、255.255.255.0 cryptomapmap ! interfaceSerial0/0/1 noipaddress shutdown ! interfaceVlan1 noipaddress shutdown ! ipclassless iproute0.0.0.00.0.0.0202.100.1.10 iproute192.168.0.0255.255.255.0192.168.2.3 iproute192.168.1.0255.255.255.0202.100.1.10
8、! ! ipaccess-listextendedvpn permitip192.168.0.00.0.0.255192.168.1.00.0.0.255 permitip192.168.2.00.0.0.255192.168.1.00.0.0.255 ! ! ! ! !linecon0 ! lineaux0 ! linevty04 login
此文档下载收益归作者所有