Static routing

On the 'Routing' page you can add custom static routes, for example, to the local resources of the provider or other IP-networks and nodes, as well as see the current IPv4/IPv6 routes. A static route defines a rule for sending IP-packets through a specified gateway or network interface.

Click on 'Create route' to add a custom route.

sr01_en.png

In the 'Static route parameters' section, select the type of route and specify the destination address. Enter the gateway address or select the interface through which the corresponding traffic will be routed. There are several options available in the 'Route type' field: 'Route to host', 'Route to network' and 'Default route'. Select the required option depending on your task. In the 'Destination network address' field, enter the IP address of the network or destination node. Then enter the gateway address or select the interface through which the traffic will be transmitted.

sr02_en.png

Check the 'Add automatically' option to apply the route when the specified gateway is available.

For example, let's add a route to the remote network segment available for SSTP-connection.

sr03_en.png

In the 'Interface' field there will be connections, interfaces and segments available on Keenetic, as well as the value 'Any'.

Besides adding static routes manually, you can upload a list of routes from a batch file created in advance. This feature is very useful when you add a lot of routes.
The file with the .bat extension should have a classic view with the syntax of Windows operating system. Example of command from a batch file:

route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1


For example, let's make a batch file with a list of routes.

sr-bat_en.png

To load routes from a file, click 'Load from file'.

sr04_en.png

In the 'Interface' field of 'Load from file' window you should select the interface for which the routes will be applied (as usual, ISP gives a list of routes for the local network, i.e. it should be the interface through which Keenetic connects to the Internet). Then click the button 'Select file' and specify the path to the batch file on your computer. Then click 'Upload'.

sr05_en.png

As a result, all static routes from the batch file will be added to the Keenetic routing table.

sr06_en.png

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.