Static Routes
Depending on where a monitoring point is deployed, you may need to add static routes. Static routes are configured per interface.
Add static routes
Web admin
- Complete monitoring point setup.
- Log in to Web Admin
- Navigate to Network Settings > Network Interfaces.
- For the interface you want to add a static route to, select > Edit.
- Click Advanced Configuration.
- In the Static Routes section, enter the Address, Netmask, and Gateway address.
- Click to add another static route.
- Click Submit.
- Restart networking.
- The static route can be used.
Admin API
- Complete monitoring point setup.
- Access the Admin API.
- Navigate to Static Route > POST /interface/{interface_name}/static_route/.
- In the body section, click the Model Schema on the right.
- The text is copied to the body field.
- Update the fields as appropriate.
- Click Submit.
- In the Response Body section, look for
"success": true
to confirm that the static route is added to the interface.
- In the Response Body section, look for
- Restart networking. You will briefly lose connectivity to the Admin API.
- The static route can be used.
Web admin
- Complete monitoring point setup.
- Log in to Web Admin
- Click Network Configuration.
- In the Routing section, click Add Static Route.
- Update the fields as appropriate.
- Click Save.
- Restart networking.
- The static route can be used.
Edit static routes
Web admin
- Log in to Web Admin
- Navigate to Network Settings Network Interfaces.
- For the interface with the static route you want to edit, select > Edit.
- Click Advanced Configuration.
- Update the fields as appropriate.
- Click Submit.
- Restart networking.
Admin API
To edit a static route, you need to delete the route then add it again with a changed configuration.
Web admin
To edit a static route, you need to delete the route then add it again with a changed configuration.
Delete static routes
Web admin
- Log in to Web Admin
- Navigate to Network Settings > Network Interfaces.
- For the interface you want to delete a static route from, select > Edit
- Click Advanced Configuration.
- For the static route you want to delete, click .
- Click Submit.
- Restart networking.
Admin API
Note: This procedure deletes all static routes from the specified interface.
- Access the Admin API.
- Navigate to Static Routes > DELETE /interface/{interface_name}/static_route/.
- In the Parameters section, in the interface_name field, enter the interface you want to delete static routes from (e.g., eth1).
- Click Submit.
- In the Response Body section, look for
"success": true
to confirm that the static routes were deleted from the configuration.
- In the Response Body section, look for
- Restart networking. You will briefly lose connectivity to the Admin API.
- The static route deletion is complete.
Web admin
- Log in to Web Admin
- Click Network Configuration.
- In the Routing section, for the route you want to delete, click Delete Route.
- Restart networking.
- The static route deletion is complete.