[Ubuntu]Disabling IPv6 support

Published by netty5 - Last update on November 10, 2009 08:10 AM by jak58

[Ubuntu]Disabling IPv6 support





Intro


Before performing any operation,better check out: Disable IPv6 will speed internet connections

To disable IPv6 support in Ubuntu, edit the file /etc/modprobe.d/blacklist:

gksu gedit /etc/modprobe.d/blacklist


Add at the end of file the line:

blacklist ipv6


Reboot your system.

To make sure that IPv6 is disabled, type in a terminal:

ip a | grep inet6
  • If this command returns nothing, it simply means that IPv6 is disabled.

Ubuntu 9.10

  • For Ubuntu 9.10, IPv6 can be disabled by grub:


gksu gedit /etc/default/grub 
  • Change the line:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 
  • to

GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash” 
  • Then update grub:

sudo update-grub