Static routing is a form of routing that occurs when a router uses a manually-configured routing entry, rather than information from dynamic routing traffic.
Milesight Industrial Router supports different network access, including the Ethernet, Cellular, VPN and VLAN access, which supports your own rule to send the data to the specific destination server IP through specific gateway.
This article describes how to configure Static Route in Milesight Router.
Milesight Router: access to the Internet successfully.
- Routing table can be check on Status > Routing of router’s Web GUI. Take WAN port as primary link as an example.
- In this example, there is a server address 188.8.131.52, which needs to access through the cellular network. we need to check the Cellular network is connected first. We can find the gateway address is 10.98.100.205.
- Configure Static Route
(1) Configure static route on router’s Web GUI
Go to Network -> Routing -> Static Routing to add a new route as our example needs.
(2) Add static IP via CLI command
ROUTER(config)# ip route 184.108.40.206/32 10.98.100.205
220.127.116.11/32: Destination address and prefix mask
10.98.100.205: Cellular gateway address
Note: Remember save the configuration via write
- Then you can check the routing table in Status page again.
- After adding the route, the router will go through Cellular network directly when you visit the server 18.104.22.168 through it.