As with any other device connected to the Internet, the Wattsense product comes with its routing table. The routing table will help identify where to send the data to a recipient based on its IP address.
Our product can connect to the Internet with 2 different ways:
- Through one of the two Ethernet interfaces
- Through its GSM modem
The connection with the GSM modem has to be permanent, in order to allow direct communication between the Wattsense servers and your device.
It is necessary to send a new configuration to the device or to benefit from a new firmware update.
A default routing is configured for this in your device to redirect any IP traffic to the Wattsense server.
Default routing table (wwan0 represents the GSM modem)
If an IP network is added, the default routing is updated to reflect the new connection.
eth2 interface configuration here for a MQTT gateway
Default routing table updated to reflect the eth2 interface configuration
In some specific cases, you will need to edit the routing table of the device to specify your own route. The case we know the most of is the following:
In this example, we have two sub-networks in the building: network A and network B. If data should transit between network A, where the Wattsense device is, to network B thanks to the router, then the routing table should be edited in the configuration of the device. Otherwise, the data will go through the wwan0 interface and will never reach the network B.
Addition of the new route
The full table will then read:
In case you need help or any further information concerning the routing table configuration, feel free to contact us here.
Please sign in to leave a comment.