Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to set the interworking of different network segments in Centos

Shulou Source: shulou.com Published: 2022-06-01 19:06:26 10月02日 Update

This article mainly shows you "how to set up the interworking of different network segments in Centos". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "how to set up interworking between different network segments in Centos".

The environment is as follows:

A server on the 192.168.16.0 network segment

A server on the 192.168.1.0 network segment

The machines of the 192.168.16.0 network segment and the 192.168.1.0 network segment cannot communicate with each other.

The specific operations are as follows:

Add a routing table on the machine of 192.168.16.177

Route add-net 192.168.1.0 gw 192.168.16.1 netmask 255.255.255.0

The above is all the contents of the article "how to set up the interworking of different network segments in Centos". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Network segment different content article server machine learning help service easy to understand more organization environment knowledge editing industry information information channel routing channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Xiaomi Shulou Technology Shulou Information Linux