Need a quote? A specific configuration, a project? Contact us on 02 51 99 13 03 .

How to set link failover rule in Milesight LoRaWAN gateway

Comment définir la règle de basculement de lien dans la passerelle Milesight LoRaWAN

luna fouilleul |

Milesight LoRaWAN Gateway supports different network interfaces, including Ethernet, Dual Cellular and WIFI, which are used to bring the router online in different ways, it supports detecting if it is online, if it has lost Internet, the gateway will move it to the next available one. interface automatically.

Before using the link failover feature, we need to ensure that at least two links are available, for example, the cellular interface and the WAN interface.

This is the state of the cellular module. The SIM card is correctly installed and it is already connected to the mobile operator.

image-20201030122603766

This is the status of the WAN port, it is connected to the switch and well configured.

image-20201030122546353

To trigger the link failover rule, the gateway will start detecting the destination address using ICMP, which means the gateway will ping the address configured in the SLA page according to the scheduled interval. If there is no response on both addresses, the current Link will be considered 'Down', the Backup Interface will take over to send the sensor data to your server platform.

image-20201030122732149

In this example, the gateway will ping 114.114.114.114 and 8.8.8.8 every 15 seconds, if there is no response 3 times, the link failover rule will be triggered.

There is a default link failover, which makes cellular the primary interface and the WAN port is the backup.

image-20201030122714876

If you want to make WAN the primary interface, you can change it here.

Additionally, since Milesight UG85 and UG87 support dual SIM, they also work in cold standby mode. Here we can configure the main SIM card, if SIM1 is selected, then SIM2 will be in standby.

image-20201030123948223

Ps.

1. To check which route was used currently, we can try the route trace tool on the 'Maintenance->Tools' page to get it.

image-20201030124130687

2.Ping detection will cause cellular data to be used. You can adjust the “Data Size” and “Interval” value to make it smaller.