Routing gateway setting forwarding principle (specific configuration)

A gateway serves as the "entry point" between networks, operating at the network layer. A routing gateway is a device that enables access to the internet through a gateway. It functions as a path-finding device, connecting different networks and acting as an exit point for the network where the device resides. While it can communicate with both hosts, direct communication between them is not allowed. **Web Environment:** ![Routing Gateway Setting Forwarding Principle (Specific Configuration)](http://i.bosscdn.com/blog/pI/YB/AF/p9Y6GAT0djAABeFzNQss4382.png) Let’s discuss the network setup. There are three servers located in two completely isolated networks—Network 1 and Network 2. These two networks cannot communicate with each other. Server1 is on Network 1, Server3 is on Network 2, and Server2 has two network cards, one in each network. Since Server3 and Server1 are on separate networks, they cannot directly access each other. To enable communication between them, we must use Server2, which acts as the gateway. If Server3 wants to reach Server1, it sends data to Server2, which then forwards it to Server1. **Specific Configuration:** Server3 needs to add a route so that traffic destined for the 192.168.100. network segment is sent to Server2. At first, I thought it should only go through the 109.105.115. network segment, but the correct configuration is as follows: ![Routing Gateway Setting Forwarding Principle (Specific Configuration)](http://i.bosscdn.com/blog/o4/YB/AF/p9Y5GAe2iNAABOHc9lcnY609.png) You can see that the route for the 192.168.100.* network segment has been added to the routing table. Next, configure Server2. The network interfaces on Server2 are set up like this: ![Routing Gateway Setting Forwarding Principle (Specific Configuration)](http://i.bosscdn.com/blog/pI/YB/AF/p9Y7eAEr00AADXz4dATaA005.png) At this point, if you try to ping Server1 directly from Server3, it still doesn’t work. However, using the tcpdump command on Server2 shows that the data is indeed being sent to it. ![Routing Gateway Setting Forwarding Principle (Specific Configuration)](http://i.bosscdn.com/blog/o4/YB/AF/p9ZACADBs-AAB6ocukEr4628.png) The only remaining possibility is that Server2's forwarding function is disabled. So, we need to enable IP forwarding on Server2. ![Routing Gateway Setting Forwarding Principle (Specific Configuration)](http://i.bosscdn.com/blog/pI/YB/AF/p9Y_WAT_QqAAALxfqkwU0816.png) After enabling the forwarding feature, try pinging Server1 again from Server3. This time, it works successfully. Now, communication between the two previously isolated networks is established through the routing gateway.

FRP Handrails

FRP Handrails,frp railing,frp guardrail,frp railings,frp balustrade

Hebei Dingshengda Composite Material Co., Ltd. , https://www.frpdsd.com