华为eNSP GRE VPN
来源:互联网 发布:龙芯支持windows 编辑:程序博客网 时间:2024/06/05 14:43
配置GRE 隧道 使私网主机192.168.0.1/24、172.16.0.1/24间可以相互访问(正常时私网路由在公网中不传播)
拓扑如图
注意:
在AR2与AR3间建立隧道,把私网封装在公网地址里面。首先应保证AR2 Ge0/0/0 与 AR3 Ge0/0/0 IP互通(AR2--AR1--AR3路由互通)
1、在 AR2上配置静态路由 与其他配置
ip route-static 13.0.0.0 255.0.0.0 12.0.0.1(注意:下一跳若配置成ge0/0/0,虽有13.0.0.0的路由,但是ping不通13.0.0.0,需开ARP-proxy)
ip route-static 172.16.0.0 255.255.255.0 Tunnel0/0/1(走GRE的目的地址)
interface GigabitEthernet0/0/0
ip address 12.0.0.2 255.0.0.0
#
interface GigabitEthernet0/0/1
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface Tunnel0/0/1
ip address 2.0.0.2 255.0.0.0
tunnel-protocol gre
source 12.0.0.2
destination 13.0.0.2
#
ip route-static 13.0.0.0 255.0.0.0 12.0.0.1
ip route-static 172.16.0.0 255.255.255.0 Tunnel0/0/1
#
2、AR3 路由器配置
#
interface GigabitEthernet0/0/0
ip address 13.0.0.2 255.0.0.0
#
interface GigabitEthernet0/0/1
ip address 172.16.0.1 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface Tunnel0/0/1
ip address 2.0.0.3 255.0.0.0
tunnel-protocol gre
source 13.0.0.2
destination 12.0.0.2
#
ip route-static 12.0.0.0 255.0.0.0 13.0.0.1
ip route-static 192.168.0.0 255.255.255.0 Tunnel0/0/1
---------------------------------------------------------------------------------------------------------------------------------------------------------
- 华为eNSP GRE VPN
- 【华为实验】eNSP模拟GRE VPN
- 【华为实验】eNSP模拟IPsec VPN
- 华为防火墙VPN-GRE配置
- 华为ENSP
- gre vpn
- GRE VPN
- GRE OVER IPSEC VPN
- GRE OVER IPSEC VPN
- VPN之GRE
- 强叔侃墙 VPN篇 GRE***************
- 强叔侃墙 VPN篇 GRE
- 华为模拟环境工具[ENSP内部专用]
- HCNA之华为ensp基本操作总结
- 华为模拟器eNSP-各种奇葩故障解决办法
- 华为eNSP模拟器中路由器基本操作
- 关于华为eNSP不能使用两个交换机
- 华为路由器GRE配置
- cmd中java正常,但是javac不可以
- Hihocoder #1038 : 01背包
- Qt学习之路(10): Meta-Object系统
- 比较实用的网站
- jQuery性能优化大全
- 华为eNSP GRE VPN
- Qt学习之路(11): MainWindow
- 学习SecureCRT
- [置顶] 优秀Android博客大全,整理了国内外大神博客/Github地址,是学习Android进阶的首选[转]
- Java项目中读取properties文件,以及六种获取路径的方法
- Java常用类库——数字格式化(NumberFormat)与大数操作(BigIntger、BigDecimal类)
- EventBus源码分析(四):线程模型分析(2.4版本)
- java基础之----文档制作
- 设计模式初探