Disabling IPv6

From ArchWiki
Revision as of 20:24, 21 November 2009 by Musikolo (talk | contribs)
Jump to navigation Jump to search

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