红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

在Ubuntu下禁用IPV6

发布时间:2008-11-17 16:36:02来源:红联作者:Agreed
Ubuntu下禁用IPV6的方法:

输入sudo gedit /etc/modprobe.d/aliases,然后把alias net-pf-10 off #ipv6替代alias net-pf-10 ipv6

把hosts文件中关于IPV6的关注释掉

输入sudo gedit /etc/hosts

然后新/etc/modprobe.d/bad_list文件,内容是alias net-pf-10 off

大功搞成,重启Ubuntu系统即可。
文章评论

共有 1 条评论

  1. yezhulin1982 于 2008-11-18 10:50:33发表:

    还需要在firefox中禁用ipv6。
    network.dns.disableIPv6 true