Static routes enable you to override the default routing rules and specify specific output interfaces for a particular destination. Typically, traffic from a LAN segment will use the default route, such as the cellular interface. Alternatively, if outgoing traffic has a destination address that matches the address of another LAN segment, that traffic will go to the LAN address.
If you need to route traffic out a different interface from what the default routing or policy route use, you can configure a static route.
You can configure Static Routes under Networking > General > Static Routes. You can add both IPv4 and IPv6 static routes.
To configure a static route:
| SETTING | DESCRIPTION | RANGE | DEFAULT |
|---|---|---|---|
| ENABLED | Set to ENABLED if static route is to be used as soon as it is saved. | Enabled, Disabled | Enabled |
| NAME | Enter a name that describes the static route. | n/a | Blank |
| ROUTE PRIORITY |
Enter the route priority. The router will process any configured static routes in order from lowest to highest. You can view all routing rules and their priorities in the Status/Monitoring > Networking > Routing table, and adjust static route priority as required. |
0 – 65535 | 100 |
| DESTINATION IP ADDRESS | Enter the Destination IP address (10.10.10.0 for IPv4, for example). This destination will be directed through the static route. | IP address | Blank |
| DESTINATION IP PREFIX | Enter the routing prefix that applies to the Destination IP Address (24, for example). |
1 – 32 (IPv4) 1 – 128 (IPv6) |
32 (IPv4) 128 (IPv6) |
| VIA NEXT HOP (OPTIONAL) |
Enter the IP address for any device to which static route traffic will be routed (192.168.2.100 for IPv4, for example). Static route traffic to the DESTINATION IP ADDRESS will be routed to this IP address before going out the OUTPUT INTERFACE. The next hop IP address must be reachable by the OUTPUT INTERFACE. That is, it must be an address in the OUTPUT INTERFACE’s network address range. If you do not configure VIA NEXT HOP, the DESTINATION IP ADDRESS and DESTINATION IP PREFIX must be reachable by the OUTPUT INTERFACE. |
IP address | Blank |
| OUTPUT INTERFACE |
Enter the output interface (the Default LAN, for example) for outgoing traffic. The output interface can be a LAN segment as well as a WAN interface. For example, you may have a destination address you want to reach only by Cellular.
|
Any available LAN segment and WAN interface | Blank |
To see the static routes, go to the Status/Monitoring > Networking > Routing table. In the table you can view routing rules and priorities, including static routes. You can sort the table by VRF/Table ID — static routes will be numbered 254.
Note that the routing rules for Multi-WAN Policies override static routes (Multi-WAN policies have lower Table ID numbers than static routes and therefore take precedence).
Misconfigured static routes will not appear in the table. For example, if the VIA NEXT HOP IP address does not exist on the network, the static route will be invalid and not appear in the table.