Static routes provide a way of customizing network traffic flow to bypass the default gateway for communication with a specific network. This is especially useful for routing network traffic through specific VLANs to a network that’s not routable by the default gateway or through VPN tunnels. Each static route has two parts, the IP address of the gateway on the local network through which the external network may be accessed, and the bind address and subnet of the external network to route to.
Creating Static Routes
QuantaStor’s static route management is port specific which provides strong granular control of static routing on a port specific basis. To create a static route simply right-click on a Network Port in the Storage Systems section on the left, then choose Create Static Route… from the pop-up menu.
The Destination IP Address is the bind address of the network you’re setting up routing to. It also requires the subnet mask of that destination network to be specified in the Destination Netmask field.
For example, if you have a QuantaStor server with an IP address of 10.0.8.70/24 on port ens192 and a special gateway at 10.0.8.1 for accessing your 192.168.0.0/16 network then you’d enter a Destination IP Address of 192.168.0.0, a Destination Netmask of 255.255.0.0 and the gateway to route to to access that network Gateway IP Address of 10.0.8.1. Your port on 10.0.8.70 is then going to route all traffic destined for 192.168.0.0/16 via the local gateway at 10.0.8.1.
Static route management is integrated into the platform such that routes will automatically enable and disable via standard commands such as ifup and ifdown in cases where one is logged directly into a given QuantaStor server via ssh. We recommend using the qs CLI and/or the QuantaStor web management interface when configuring network ports but the routes will still properly activate in any event.
Deleting Static Routes
To delete a route simply select the Storage Systems section on the left, then expand the port that has the route, then right-click and choose Delete Static Route… from the pop-up menu. Another more direct option is to choose the Static Routes tab in the center section, then right-click on the route to be removed and again choose Delete Static Route… from the pop-up menu. Routes may be created and deleted at any time and are activated immediately when created. If a port is disabled the routes associated with the port are also automatically disabled.
Categories: Storage Appliance Hardware