ubuntu 10.04关闭ipv6的方法

cat /proc/sys/net/ipv6/conf/all/disable_ipv6
显示0说明ipv6开启,1说明关闭
  
 
如果开启,关闭ipv6的方法:
在 /etc/sysctl.conf 增加下面几行,并重启。
#disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

posted @ 2012-12-27 11:35  hello.world  阅读(194)  评论(0编辑  收藏  举报