Documentation du Dr FRAPPE

Ce wiki regroupe les résultats de mes expériences en informatique accumulés au cours de mes recherches sur le net.

Dans la mesure du possible, j'ai cité mes sources ; il en manque certainement… :-)

Ceci est une ancienne révision du document !


Create Static Routes

A static route is a pre-determined path that network information must travel to reach a specific host or network. Data from one point to another will always follow the same path regardless of other considerations. Normal internet usage does not require this setting to be configured.

I want to:

Visit multiple networks and multiple servers at the same time.

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

How can I do that?

1.Make sure the routers use different LAN IP addresses on the same subnet. Disable DHCP function of Router 2.

2.Visit http://tplinkmodem.net, and log in with the password you set for the router.

3.Go to Advanced > Network > Static Routing.

4.Click Add to add a new static routing entry. Finish the settings according to the following explanations:

•Network Destination - The destination IP address that you want to assign to a static route. This IP address cannot be on the same subnet with the WAN IP or LAN IP of the router. In the example, the IP address of the company network is the destination IP address, so here enters 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 enters 255.255.255.255.

•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 with the router’s IP which sends out the data. In the example, the data packets will be sent to the LAN port of Router 2 and then to the Server, so the gateway should be 192.168.1.2

•Interface - Determined by the port that sends out the data packets. In the example, the data is sent to the gateway through the LAN port.

5.Select the checkbox to enable this entry.

6.Click Save to save the settings.

Done!

Open a web browser on your PC. Enter the company server’s IP address to visit the company network.

Voir aussi