logo
DocsSerial consoleRouting

Routing Configuration

Overview of the default routing configuration on Simplifyd WAN Edge appliances

Show Routes

show routes

This command shows all the routes and their attributes.

Here’s an 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 # 

Configure Routes

Add a route

The command to add a route follows the following format:

route add [route prefix]/[route mask] nh [next hop IP address] intf [interface name]

For example, to add the following route 192.168.200.0/24 reachable out the wan0 interface and through a gateway or next hop of 192.168.4.1 we use the following command:

route add 192.168.200.0/24 nh 192.168.4.1 intf wan0

Delete a route

The command to delete an existing route follows the following format:

route del [route prefix]/[route mask]

For example, to delete the following route 192.168.200.0/24 we use the following command:

route del 192.168.200.0/24