IR615 实现VPN链路备份

yandongjie
yandongjie This guy is lazy,Introduction has not been set

0 People liked this article · 5599 views

目的:IR615的链路备份(WAN为主链路、Wi-Fi做STA为从链路),当VPN建好后,WAN口主链路无线网络为备用链路。设备固件版本:2.3.0.r5114。 拓扑:
1598238639(1).jpg
1. 配置IR设备wan口地址 IR615设置wan口地址为192.168.10.10,出口网关为192.168.10.1
2.jpg
2. 配置IR设备连接无线网络参考链接 http://www.m2mlib.com/?/article/294 3. 配置OpenVpn 1)server端设置,确保为同一用户分配到相同的IP地址,便于后期测试。
3.jpg
2)IR设备端配置openvpn,先配置证书管理。选择vpn》证书管理添加证书  
4.jpg
3)配置openvpn,选择vpn》Openvpn 配置》选择新增。相关配置如下。
Xshot-0005.jpg
4)查看Openvpn状态  
44.jpg
4. 设置完成后查看路由表,可以看到数据通过WAN口路由,并且openvpn已经建立连接。
4.1_.jpg
5. 设置链路备份,设置主接口为WAN口备份接口为WAN(sta)口。选择网络》链路备份  
8.jpg
  测试: 断开IR615 WAN口网线,查看路由表,可以看到默认路由已经切换到WAN(sta)
t1.jpg
OpenServer端查看网络连通性,可以看到模拟故障后丢失三个数据包。
t2.jpg
模拟故障恢复,连接wan口网线,查看路由表。可以看到路由已经恢复到wan口。
t3.jpg
OpenServer端查看看,可以看到链路恢复丢失四个数据包。
t4.jpg
附件说明: service-config:为服务器端配置文件 user01:为客户端配置文件

Published on 2020-08-20 11:35

Disclaimers:

This document is written by yandongjie Original published on 技术社区 ,The copyright belongs to the author。

Log in,More exciting content waiting for you to find,Contribute wonderful answers,Participate in comment interaction

go Sign in! No accountgoregister

Recommended content

article Windows GUI
article IR900 OpenVPN配置快速向导
article App_Guide_OpenVPN_UserPassword Mode
article IRouter-OpenVPN-NAT-Port-Mapping
article windows下OpenVPN搭建
article Centos7 安装 InConnect 客户端
article IR900-OpenVPN-NAT-Maping
article windows 设置InConnect 开机启动&自动连接的一种方法
article 如何通过InConnect云服务实现远程上下载西门子PLC程序
article IR900路由器做OpenVPN Server,Server&Client 一个型号搞定