Difference between revisions of "Disabling IPv6"

From ArchWiki
Jump to navigation Jump to search
m (Changed /etc/modprobe.conf to /etc/modprobe.d/modprobe.conf as /etc/modprobe.conf is now deprecated)
Line 3: Line 3:
 
{{i18n_links_start}}
 
{{i18n_links_start}}
 
{{i18n_entry|English|IPv6 - Disabling the Module}}
 
{{i18n_entry|English|IPv6 - Disabling the Module}}
 +
{{i18n_entry|Español|IPv6 - Inhabilitar el Módulo}}
 
{{i18n_entry|Polski|IPv6 - Wyłączanie modułu (polski)}}
 
{{i18n_entry|Polski|IPv6 - Wyłączanie modułu (polski)}}
 
{{i18n_entry|Русский|Отключение модуля IPv6}}
 
{{i18n_entry|Русский|Отключение модуля IPv6}}

Revision as of 20:24, 21 November 2009

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end 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 /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