logo

Routing Configuration

View and manage the routing table on the Simplifyd Box device from the shell

Viewing the Routing Table

show routes

Displays all routes currently active on the device.

Example:

wan-edge-1615561 # show routes
* 0.0.0.0/0 via tun0
D 0.0.0.0/0 via 192.168.178.1 wan0
D 0.0.0.0/0 via 10.161.155.133 wwan0
C 10.10.0.0/24 via tun0
C 10.161.150.0/29 via wwan1
C 10.161.155.132/30 via wwan0
C 192.168.178.0/24 via wan0
C 192.168.200.0/24 via lan0
wan-edge-1615561 #

Route Type Flags

FlagMeaning
*Active default route (traffic exits through this path)
DDHCP-learned default route
CConnected — directly attached network
SStatic route (manually configured)

Adding a Static Route

route add <prefix>/<mask> nh <next-hop> intf <interface>
ArgumentDescription
<prefix>/<mask>The destination network, e.g. 10.10.0.0/24
<next-hop>The gateway IP address traffic should be forwarded to
<interface>The interface to use for this route

Example — route 10.10.0.0/24 via gateway 192.168.178.1 out wan0:

route add 10.10.0.0/24 nh 192.168.178.1 intf wan0

You can also use the add route form:

add route 10.10.0.0/24 nh 192.168.178.1 intf wan0

Deleting a Static Route

route del <prefix>/<mask>

Example — remove the route to 10.10.0.0/24:

route del 10.10.0.0/24

You can also use the rm route form:

rm route 10.10.0.0/24

Only manually added static routes can be deleted with this command. Connected (C) and DHCP-learned (D) routes are managed automatically and cannot be removed directly.


Setting the System Tunnel Route

The set system-tunnel-route command defines the IP range used by the Simplifyd Cloud. Traffic destined for this range is always sent through the secure tunnel (tun0) regardless of other routing rules.

set system-tunnel-route <prefix>/<mask>

Example:

set system-tunnel-route 102.221.184.0/22

This setting is normally configured automatically during device provisioning. Only change it if directed by Simplifyd support.