User Tools

Site Tools


wiki:multi-gateways

This is an old revision of the document!


multi-gateways

Feature available from SPN firmware version 2.0.3

If the IP address of a slave changes, it must be deleted, then redeclared to work again.

Introduction

Sometimes using only one gateway is not enough to cover an area, therefore a second gateway (or more) needs to be used. However, by doing so when using SPN, data are split between multiple gateways.

Furthermore, sometimes it can be interesting to combine an iFemtoCell (indoor gateway) with an outdoor gateway (Wirnet Station, Wirnet iBTS). The classical solution to achieve that is to use an external LNS (LoRa Network Server), however, it can be complex and often requires an access to the internet.

To solve these problems the multiple-gateways feature can be used. This feature allows the use of slave gateways (iFemtoCell SPN, Wirnet iBTS, Wirnet station) with a master iFemtoCell SPN. The slave gateways are in charge of forwarding every LoRa packets they received. The master gateway gathers the LoRa packets it received (from end-devices and gateways) within a single interface.

Licence

The multi-gateways feature requires a “master” license. The license type can be checked in the Overview menu under the License section.

  • A master gateway will display: Gateways x / 50
  • A slave gateway will display: Gateways 1 / 1

Slave configuration

iFemtoCell SPN

In the Multi-gateways menu under the Packets forwarding section, check the enable packets forwarding option and fill the Host field. The Host field can contain an URL, an IP address or a name.

The configuration of the master is not applied to the slaves. Make sure to configure for each slave the regional parameters, the Rx/Tx parameters, the network parameters, and so on, accordingly to your needs. Any interface (USB key, web interface,…) can be used to configure the slave.

Wirnet iBTS

Install a packet forwarder on the gateway. The instructions are detailled in the Wirnet iBTS wiki.
The target of the packet forwarder is configured with the following options (in the configuration file):

  • server_address must be the URL, IP address or a name of the master
  • serv_port_up must be 1700
  • serv_port_down must be 1700

The configuration of the master is not applied to the slaves. Make sure to configure for each slave the regional parameters, the Rx/Tx parameters, the network parameters, the LBT, and so on, accordingly to your needs.

Wirnet station

Install a packet forwarder on the gateway. The instructions are detailled in the Wirnet station wiki.
The target of the packet forwarder is configured with the following options (in the configuration file):

  • server_address must be the URL, IP address or a name of the master
  • serv_port_up must be 1700
  • serv_port_down must be 1700

The configuration of the master is not applied to the slaves. Make sure to configure for each slave the regional parameters, the Rx/Tx parameters, the network parameters, the LBT, and so on, accordingly to your needs.

Master configuration

The master gateway can also be used to receive LoRa frames. Make sure to configure it's regional parameters, the Rx/Tx parameters, the network parameters, and so on, accordingly to your needs.

If the packets forwarding feature is enabled then the gateway will act as a slave (even though other gateways are registered). Make sure to disable it.

Adding a gateway

In the Multi-gateways menu under the manage gateways section, slave gateways can be added. Two methods are available from the web interface.

  • Adding a single gateway: fill the gateway IDs and click the add button.
  • Adding multiple gateways with a file:
    • It must have a .csv extension.
    • It must contain the gateway IDs, one by line (16 digits hexadecimal value in upper case).
    • Once it is uploaded it is parsed, the unregistered gateways are added.
    • If a gateway ID is wrong or a something else happens, it is logged.

Managing the gateways

In the Multi-gateways menu under the Gateways section, all the currently registered gateways are displayed along with their statistics.
The statistics can be downloaded in .csv format.
The gateways can be removed from this section.

wiki/multi-gateways.1525450166.txt.gz · Last modified: 2020/02/21 11:53 (external edit)