Difference between revisions of "Disabling IPv6"

From ArchWiki
Jump to navigation Jump to search
Line 10: Line 10:
  alias net-pf-10 off
  alias net-pf-10 off
{{Note|Renember to set '''/etc/modprobe.conf''' in ''Files'' section of '''/etc/mkinitcpio.conf'''}}
{{Note|Renember to set '''/etc/modprobe.d/modprobe.conf''' in ''Files'' section of '''/etc/mkinitcpio.conf'''}}

Revision as of 05:16, 8 March 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Since Arch's official kernel26 package, IPv6 is no longer compiled directly into the kernel, but as a module. Many don't require the features, and may benefit from added performance (many programs will query IPv6 addresses first, unaware that you don't have an IPv6 connection) and free memory (250k, that's a mighty big module).

The ipv6 module is loaded at boot. There are many programs which will load the ipv6 module if they detect that it's available. In fact, they're loading net-pf-10, which is an alias to ipv6. Adding the following line to /etc/modprobe.d/modprobe.conf will disable the automatic loading of ipv6, while also allowing you to load it manually, if needed.

# disable autoload of ipv6
alias net-pf-10 off
Note: Renember to set /etc/modprobe.d/modprobe.conf in Files section of /etc/mkinitcpio.conf