Static Route Configuration
Introduction
A static route is a manually configured network path that defines how data packets should be routed between a source and destination. In this example, we will show the static route configuration rules of M2M devices.
Prerequisites
1. Two M2M devices with 4G or 5G function
2. At least one device:
- A PC, or laptop is required to configure the M2M device.
- This feature is applicable to the following
DWM-314-T, DWM-314-G, DWM-314-TP, DWM-311-GP, DWM-314-GP, DWM-313,
DWM-530-T, DWM-550-G, DOM-311-TSO, DOM-530-TSO, DOM-550-GSO, DTM-550-G
Topology
The notebook can access the Internet through M2M device #1, and the user can access the company's server. Static routing needs to be set up on M2M device #1.
Here is the IP address list.
|
M2M Device #1(DOM-550-GSO) :
LAN IP address: 192.168.0.1 |
M2M Device #2(DOM-530-TSO):
LAN IP address: 192.168.0.152 |
Configuration
1. Static Route Configuration:
Go to Basic Network > Routing > Static Routing tab for M2M Device#1
| Item | Description |
|---|---|
| Destination IP | Metric |
| Subnet Mask | Specify the Subnet Mask to 255.255.255.0/24 |
| Gateway IP | Metric |
| Interface | Select LAN |
| Metric |
The Metric of this static routing rule to 10 Value Range: 0 ~ 255 |
| Rule | Enable |
Test Result
Please set the devices according to the above environment and configure them. Then further validate it to make sure it works as expected.
-
Expected Test Results:
Traffic sent to the target server IP will go through the designated gateway (192.168.0.152). Users can use a notebook to ping the server IP (192.168.100.141). - Test Results:
We use the Windows command prompt (CMD) and perform the following test on a notebook. We enter ping and tracert 192.168.100.141 in the Windows command prompt (CMD) and execute it.The test results are as follows. There is a route (192.168.100.0) in the routing table of M2M device#1.

