How to create Static Routing on MERCUSYS Routers

This Article Applies to:

This article mainly introduces Static Routing and how to set it via the management page of the MERCUSYS router.

Static routing is a form of routing that is configured manually by a network administrator or a user by adding entries into a routing table. The manually-configured routing information guides the router in forwarding data packets to the specific destination.

I want to:

Visit multiple networks and servers at the same time. For example, in a small office, my PC can surf the internet through Router A, but I also want to visit my company’s network. Now I have a switch and Router B. I connect the devices as shown in the following figure so that the physical connection between my PC and my company’s server is established. To surf the internet and visit my company’s network at the same time, I need to configure the static routing.

A Static Routing setup illustration: Router A connected to INTERNET and gets LAN IP as "192.168.0.1". Router B is connected to Router A through a Switch and gets LAN IP as "192.168.0.2". PC wired to Switch and get IP as "192.168.0.100". The company's server is wired to Router B and gets IP as "172.30.30.1" while the WAN IP between them is "172.30.30.100".

 

How can I do that?

1. Change the routers’ LAN IP addresses to two different IP addresses on the same subnet. Disable Router B’s DHCP function.

2. Visit http://mwlogin.net and log in with your MERCUSYS ID or the password you set for Router A.

3. Go to Advanced > Network > Routing.

All settings on Static Routing page under Advanced > Network page.

4. Click Add and finish the settings according to the following explanations:

All settings in Add a Routing Entry page.

Network Destination: The destination IP address that you want to assign to a static route. This IP address cannot be on the same subnet as the WAN IP or LAN IP of Router A. In the example, the IP address of the company network is the destination IP address, so here, enter 172.30.30.1.

Subnet Mask: Determines the destination network with the destination IP address. If the destination is a single IP address, enter 255.255.255.255; otherwise, enter the subnet mask of the corresponding network IP. In the example, the destination network is a single IP, so here, enter 255.255.255.255.

Default Gateway: The IP address of the gateway device to which the data packets will be sent. This IP address must be on the same subnet as the router's IP, which sends out data. In the example, the data packets will be sent to the LAN port of Router B and then to the Server, so the default gateway should be 192.168.0.2.

Interface: Determined by the port (WAN/LAN) that sends out data packets. In the example, the data are sent to the gateway through the LAN port of Router A, so LAN/ WLAN should be selected. Description: Enter a description for this static routing entry.

5. Click SAVE.

6. Check the Routing Table. If you can find the entry you’ve set, the static routing is set successfully.