美文网首页
Centos添加永久静态路由方法

Centos添加永久静态路由方法

作者: hel2o | 来源:发表于2016-08-10 08:47 被阅读0次

编辑static-routes默认是没有这个文件,可直接自己新建

vi /etc/sysconfig/static-routes
添加如下
any net 192.168.0.0/16 gw 192.168.99.233
any net 10.0.0/8 gw 192.168.99.233
any net 172.16.0.0/16 gw 192.168.99.233
保存后
service network reload

相关文章

网友评论

      本文标题:Centos添加永久静态路由方法

      本文链接:https://www.haomeiwen.com/subject/toodsttx.html