How to set the interworking of different network segments in Centos
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!