发信人: tcpip (俺的昵称改了), 信区: cnunix
标  题: 关闭Soliars2的路由功能(转寄)
发信站: 哈工大紫丁香 (Sun Sep 26 15:31:46 1999), 转信

寄信人: digger.bbs@bbs.sjtu.edu.cn 
发信站: 华南理工大学 BBS木棉站
日  期: Mon Aug 24 19:11:20 1998

发信人: albin.bbs@bbs.dlut.edu.cn (阿乐斌), 信区: Unix
标  题: 关闭Soliars2的路由功能
发信站: 碧海青天 (Mon Aug 24 10:40:51 1998)
转信站: sjtubbs!sjtunews!ustcnews!DUT
Origin: rose.dlut.edu.cn

   在默认情况下,如果Solaris机器上有两块以上网卡,Solaris将在这几块网卡之间
路由。在Solairs 2.4以下版本中可以通过修改/etc/init.d/inetinit启动脚本文件关
闭此功能,具体方法是在此文件最后加入如下行:
    ndd -set /dev/ip ip_forwarding 0
   在Solaris 2.5中可通过建立文件/etc/notrouter关闭此功能:

      #touch /etc/notrouter

   但应注意的是启动过程在关闭路由功能之前会带来一些安全上的问题(原文:Be
aware that there is a small window of vulnerability during startup when 
the machine may route, before the routing is turned off.)

--
※ 修改:.trueip 于 Sep 26 15:35:33 修改本文.[FROM: dns.mtlab.hit.ed]
--
※ 转寄:.华南网木棉站 bbs.gznet.edu.cn.[FROM: dns.mtlab.hit.ed]

--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: trueip.bbs@melon.gzn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:1.984毫秒