个人工具

UbuntuHelp:WebBrowsingSlowIPv6IPv4

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 14:26的版本 (新页面: {{From|https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4}} {{Languages|UbuntuHelp:WebBrowsingSlowIPv6IPv4}} Ubuntu has a newer Internet protocol called IPv6 turned on by default. ...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Ubuntu has a newer Internet protocol called IPv6 turned on by default. However, a lot of older hardware — such as NICs and modems — only support IPv4. This leaves you wondering why Internet applications seem slower. This guide shows how to disable this new protocol.

Disabling IPv6

Ubuntu:

  • gksudo gedit /etc/modprobe.d/blacklist
  • Add this line: blacklist ipv6
  • Save the file and restart your computer

Kubuntu:

  • kdesu kate /etc/modprobe.d/blacklist
  • Add this line: blacklist ipv6
  • Save the file and restart your computer

After restarting, open up a terminal and type:

ip a | grep inet6

If there's no output, IPv6 is disabled.

Another method (perhaps simpler) is editing /etc/modprobe.d/aliases and replacing "alias net-pf-10 ipv6" with "alias net-pf-10 off". Done!