Difference between revisions of "Disabling IPv6"

From ArchWiki
Jump to: navigation, search
(Changed note to regular test, expanded. Added code for filenames.)
Line 10: Line 10:
 
  alias net-pf-10 off
 
  alias net-pf-10 off
  
You can also add {{Filename|/etc/modprobe.d/modprobe.conf}} to your {{Filename|/etc/mkinitcpio.conf}} and rebuild the kernel ram disk to have the IPv6 module disabled early in the process.
+
You can also add {{Filename|/etc/modprobe.d/modprobe.conf}} to your {{Filename|/etc/mkinitcpio.conf}} and [[Mkinitcpio#Image_creation_and_activation|rebuild the kernel ram disk]] to have the IPv6 module disabled early in the process.

Revision as of 07:28, 14 June 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 2.6.16.2-1, 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 Template:Filename 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

You can also add Template:Filename to your Template:Filename and rebuild the kernel ram disk to have the IPv6 module disabled early in the process.