SDB:Disabling IPv6 completely

From openSUSE


Situation

IPv6 is not widely used yet and can be disabled, as it slows down IPv4 TCP/IP connections. Disabling process is very easy and if needed you can always undo the changes.

Please note : disabling can cause problems with some applications. For example: default SuSE 10.1 will warn Postfix configuration is incorrect.

Procedure

In order to disable IPv6 edit /etc/modprobe.conf file as follows:

Find alias sit0 ipv6 entry and put a hash (#) at it's very beginning. Add the following line below: alias sit0 off It should look like this:

[...]

#alias sit0 ipv6
alias sit0 off

[...]

After that, find alias net-pf-10 ipv6 entry aswell, and do the same:

  • Comment the original line
  • Put "alias net-pf-10 off" below.

Your configuration should now look as follows:

[...]

#alias net-pf-10           ipv6
alias net-pf-10           off

[...]

Go to /etc/modprobe.d/ and edit blacklist file. Write in it the following line and save changes:

[...]

blacklist ipv6

[...]

After the reboot ipv6 support should not be loaded up anymore.

Links

If you dont want to disable ipv6 completely and you need internet mainly for websurfing, have a look at the following article:

http://en.opensuse.org/Disable_IPv6_for_Firefox