Routing gateway setting forwarding principle (specific configuration)

A gateway is the "gateway" between the network and the network, which is the network level. A routing gateway is a device that accesses the Internet through a gateway. The gateway is also a path finding device that connects to different networks, that is, an outlet of the network where the device is located. It can communicate with both hosts at the same time, and direct communication between the two sides of the host is not acceptable.

Web environment:

Routing gateway setting forwarding principle (specific configuration)

Let's talk about the network environment. There are three servers, which are in the environment where network 1 and network 2 are completely isolated. Network 1 and network 2 cannot communicate with each other. Among them, Server1 is in network 1, Server3 is in network 2, and Server2 has two network cards, which are located in network 1 and network 2. Server3 cannot directly access Server1 because they are on different networks. To achieve the interconnection between the two servers, you must use the Server2 server. Server2 is regarded as a gateway. If Server3 wants to access Server1, it will send data to Server2 and then forward it to Server1 with Server2.

Specific configuration:

Server3 adds a route, and requests to access the 192.168.100. network segment are sent to Server2. But I thought they could only pass the 109.105.115. network segment, so they must be set as follows:

Routing gateway setting forwarding principle (specific configuration)

You can observe that the route of the 192.168.100.* network segment has been added to the routing table, and then configure Server2. The NICs in Server2 are as follows:

Routing gateway setting forwarding principle (specific configuration)

At this point, if you ping Server1 directly in Server3, it is still unreasonable, but using the tcpdump command in Server2, it is found that the data has indeed been sent to Server2.

Routing gateway setting forwarding principle (specific configuration)

Then, there is only one possibility, that is, the forwarding of Server2 fails, so it is necessary to open the forwarding function of Server2.

Routing gateway setting forwarding principle (specific configuration)

Ping Server1 directly in Server3, ping通, get it.

MRS-Single Pole Rocker Switch

Specifications:


Mechanical life: More than 50.000 cycles

Electrical life: More than 100,000 cycles

Environment temperature Range: - 25 degrees ~ 85 degrees

Operating Relative Humidity Range: ≦96% RH, +40°C



Features


WIDE APPLICATION

Widely used for various kinds of electrical products, instrument, car, boat, household appliances such as lights, water dispenser, treadmill, coffee pot, speaker, electric car, motorcycle, TV, massage machine etc.


EASY TO INSTALL AND USE

2 PIN on-off Rocker Switch with SPST design, simple installation, freely turn on or off the load which you want to control.


HIGH OPERATING LIFE

Made of high quality polyamide eP(Nylon PA66) material, this sturdy mini boat rocker switch is born for anti-corrosion,anti-acid and high resistant with silver terminals.100,000 times of ON/OFF operating life span.

Small Rocker Switch,Micro Rocker Switch,Single Pole Rocker Switch,Single Rocker Switch

Ningbo Jialin Electronics Co.,Ltd , https://www.donghai-switch.com