Static Routes
CONFIGURE > NETWORK CONNECTIONS > Static Routes
Static routes are predefined paths that traffic can be configured to take through the network for purposes such as security, cost or to override the default route.
The list of configured static routes are displayed in a table with their current status indicated by the status column.
Status | Meaning |
---|---|
Installed |
The route is installed in the routing table. |
Not Installed |
The route may not be currently installed, but should update in a moment. |
Error |
The route failed to be installed. |
Failed to fetch status |
There is an error with the system and status failed to be obtained. This is a temporary error and should update in a moment. |
The network interface is disabled |
The static route is bound to an interface which is not enabled. |
The network interface is disconnected |
The static route is bound to an interface which is not connected. |
The network interface has no active connections |
The route cannot be installed as there are no active connections on this interface. |
Configure Static Routes
On the Static Routes page you can add, edit or delete static routes.
Note:Only basic validation is performed when static routes are saved. Check the status column to ensure your route is installed and working correctly.
Create a static route
-
Click the Add button to navigate to the creation page.
-
Enter a valid IPv4 or IPv6 destination address or network, followed by the netmask in CIDR notation. The destination address/network must be unique.
-
Enter the gateway or select an interface for the static route to use.
-
Optionally, provide a metric for the route. Routes with a lower metric value are higher priority.
Destination Address
Default Metric
IPv4
0
IPv6
1024
-
Click the Apply button to save the changes.
-
If the changes are saved successfully you are returned to the Static Routes list page.
-
If there is an error with the configuration and the route fails to install, a red banner is displayed.
-
If the route installed successfully, a green success banner is displayed.
-
-
The current status of the configured route is displayed in the table, which may change depending on the status of the network configuration.
Edit a static route
-
Click the description of the desired static route in the list to access the Edit page.
-
Update the details of the static route.
-
Click apply to save the changes.
Delete a static route
-
Click the description of the desired static route in the list to access the Edit page.
-
Click the Delete button at the top-right of the page.
-
Click Yes to confirm the action.
-
If the route was removed from the routing table as expected, a green success banner is displayed.
Managing Static Routes via Command Line
Administrative users can also view the status and perform configuation of static routes via the command line interface.
After creating or modifying a route via the command line, you should take note of the route id and confirm that it has been installed successfully in the routing table.
Description |
Command |
---|---|
Display IPv4 installed routes |
ip route |
Display IPv6 installed routes |
ip -6 route |
Display all route information |
ip route show table all |
Show status of configured routes via ogcli |
ogcli get monitor/static_routes/status |
Get static route configuration via ogcli |
ogcli get static_routes |
Create static route via ogcli |
ogcli create static_route << END |
Update static route via ogcli |
ogcli update static_route "1.1.1.1" << END |
Delete static route via ogcli |
ogcli delete static_route "1.1.1.1" |