山石网科GRE over IPsec配置
拓扑图
一、配置左侧设备
-
配置设备接口IP及安全域
-
配置设备安全策略(实验为了方便全放行)
-
配置p1提议
-
配置p2提议
-
配置VPN对端列表
-
配置IKE VPN列表
-
配置GRE 和 tunnel1 接口
tunnel gre shanghai
source 12.0.0.1
destination 12.0.0.2
interface ethernet0/3
next-tunnel ipsec 北京
exitinterface tunnel1
zone “trust”
ip address 10.0.0.1 255.255.255.0
manage ping
tunnel gre “shanghai” gw 10.0.0.2
exit -
配置OSPF
二、配置右侧设备
-
配置设备接口IP及安全域
![2022-08-26T15:03:22.png][11] -
配置设备安全策略(实验为了方便全放行)
-
配置p1提议
-
配置p2提议
-
配置VPN对端列表
-
配置IKE VPN列表
-
配置GRE 和 tunnel1 接口
tunnel gre “beijing”
source 12.0.0.2
destination 12.0.0.1
interface ethernet0/3
next-tunnel ipsec 上海
exitinterface tunnel1
zone “trust”
ip address 10.0.0.2 255.255.255.0
manage ping
tunnel gre “beijing” gw 10.0.0.1
exit -
配置OSPF
三、验证
- show ipsec sa 或 网页查看
- show isakmp sa 或 网页查看
- show ip route
![2022-08-26T15:11:02.png][22]
- 业务验证
![2022-08-26T15:12:23.png][23]
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
曹少卿的Blog!
喜欢就支持一下吧
打赏
微信
支付宝