尚艺品 發表於 2017-1-21 16:15:18

Centos如何设置不同网段的互通?Centos设置不同网段的互通的方法

<p><strong>环境如下:</strong></p>
<p>一台 192.168.16.0网段的服务器</p>
<p>一台192.168.1.0网段的服务器</p>
<p>192.168.16.0网段和192.168.1.0网段的机器无法互通。</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201701/2017012116112753.jpg" /></p>
<p><strong>具体操作如下:</strong></p>
<p>在192.168.16.177的机器上添加路由表</p>
<p>route add -net&nbsp; 192.168.1.0&nbsp; gw 192.168.16.1 netmask 255.255.255.0</p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201701/2017012116112754.jpg" /></p>
<p align="center"><img alt="" src="https://img.jbzj.com/file_images/article/201701/2017012116112755.jpg" /></p>
頁: [1]
查看完整版本: Centos如何设置不同网段的互通?Centos设置不同网段的互通的方法