计算机应用 | 古代文学 | 市场营销 | 生命科学 | 交通物流 | 财务管理 | 历史学 | 毕业 | 哲学 | 政治 | 财税 | 经济 | 金融 | 审计 | 法学 | 护理学 | 国际经济与贸易
计算机软件 | 新闻传播 | 电子商务 | 土木工程 | 临床医学 | 旅游管理 | 建筑学 | 文学 | 化学 | 数学 | 物理 | 地理 | 理工 | 生命 | 文化 | 企业管理 | 电子信息工程
计算机网络 | 语言文学 | 信息安全 | 工程力学 | 工商管理 | 经济管理 | 计算机 | 机电 | 材料 | 医学 | 药学 | 会计 | 硕士 | 法律 | MBA
现当代文学 | 英美文学 | 通讯工程 | 网络工程 | 行政管理 | 公共管理 | 自动化 | 艺术 | 音乐 | 舞蹈 | 美术 | 本科 | 教育 | 英语 |

基于思科设备得VPN实现(一)-通信工程毕业论文(7)

2013-06-09 01:10
导读:.16.2.1 Comany1(config)#ip route 192.168.30.0 255.255.255.0 tunnel2 5.2.4 分公司2路由器配置 配置过程: 配置分公司2路由器名为Comany2 Router Router enable Router# Router# conf
.16.2.1
 Comany1(config)#ip route 192.168.30.0 255.255.255.0 tunnel2
 5.2.4 分公司2路由器配置
 配置过程:
 配置分公司2路由器名为Comany2
 Router>                      
 Router> enable                
 Router#                      
 Router# configure terminal
 Router(config)#   
 Router(config)#hostname Comany2
 Comany2(config)#
 配置分公司2Ethernet0/1口地址
 Comany2(config)# interface Ethernet0/1        
 Comany2(config-if)#ip address 172.16.2.1 255.255.255.0
 Comany2(config-if)#no shutdown              
 Comany2(config-if)#exit
 Comany2(config)#
 
 设置分公司2的内网地址
 Comany2(config)#interface Ethernet0/0  
 Comany2(config-if)#ip address 192.168.30.30  255.255.255.0
 Comany2(config-if)#ip nat inside     
 Comany2(config-if)#no shutdown         
 Comany2(config-if)#exit
 
 静态路由配置公司2路由器到总部路由器
 Comany2(config)#ip route 172.16.0.0 255.255.255.0 172.16.2.2
 
 静态路由配置公司2路由器到公司1路由器
 Comany2(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.2
 
 配置分公司2与总公司得tunnel1通道
(科教作文网http://zw.ΝsΕAc.Com编辑整理)

 Comany2(config)#
 Comany2(config)#interface tunnel1
 Comany2(config-if)#ip address 2.2.2.2 255.255.255.0
 Comany2(config-if)#tunnel source Ethernet0/1
 Comany2(config-if)#tunnel destination 172.16.0.1
 Comany2(config)#ip route 192.168.10.0 255.255.255.0 tunnel1
 
 配置分公司2与分公司1得tunnel2通道
 Comany2(config)#
 Comany2(config)#interface tunnel2
 Comany2(config-if)#ip address 3.3.3.2 255.255.255.0
 Comany2(config-if)#tunnel source enternet0/1
 Comany2(config-if)#tunnel destination 172.16.1.1
 Comany2(config)#ip route 192.168.20.0 255.255.255.0 tunnel2
 5.3 在配置GRE基础上配置Ipsec加密
 5.3.1 总公司路由器配置
 配置总公司到分公司1的GRE加密
 Comany上的配置:
 Comany(config)#crypto isakmp enable 
 Comany(config)#crypto isakmp identity address
 Comany(config)#crypto isakmp policy 10
 Comany(config-isakmp)#encryption des        
 Comany(config-isakmp)#authentication pre-share 
 Comany(config-isakmp)#group 2    
 Comany(config-isakmp)#hash sha   
 Comany(config-isakmp)#exit
 Comany(config)#
 Comany(config)#crypto isakmp key cisco123 address 172.16.1.1 no-xauth
 Comany(config)#ip access-list extended ToComany1
 Comany(config-ext-nacl)#permit gre host 172.16.0.1 host 172.16.1.1
 Comany(config-ext-nac
上一篇:免费毕业论文--ATM网络技术分析(一)-通信工程毕业 下一篇:没有了