route
Digi TransPort WR Routers User Guide
424
route
Configures a static route, a manually-configured entry in the routing table.
Syntax
route <1 - 32> <parameter> <value>
Parameters
destination
The destination IP network for the static route.
Value should be an IPv4 address.
mask
The destination IP netmask for the static route.
Value should be an IPv4 address.
gateway
The gateway to use for the static route.
Value should be an IPv4 address.
metric
The metric for the static route. The metric defines the order in which the device uses routes if there
are two routes to the same destination. In such a case, the device uses the route with the smaller
metric.
Accepted value is any integer from 0 to 255. The default value is 0.
interface
The name of the interface to which packets are routed.
Accepted values can be one of none, eth1, eth2, eth3, eth4, wifi-client1, wifi-client2, cellular1-sim1,
cellular1-sim2, cellular2-sim1, cellular2-sim2, ovpn1, ovpn2, ovpn3, ovpn4, ovpn5, ovpn6, ovpn7, ovpn8,
ovpn9, ovpn10, gre1, gre2, gre3, gre4, gre5, gre6, gre7, gre8, gre9 or gre10. The default value is none.