Personal tools
You are here: Home Fedora Solved Network Solutions Disabling IPv6 in Fedora

Disabling IPv6 in Fedora

by scott_glaser last modified Dec 01, 2009 09:28 AM
— filed under:

A lot of people have been coming into #fedora asking "how can i disable ipv6?" since their connection only uses ipv4. This howto will cover disabling ipv6 in the kernel stack during boot, stop ipv6 from being started by system calls and stop the ip6iptables service. IPv6 enabled should be entirely harmless, and if it _isn't_ then there is a bug which should either be reported to the local ISP (perhaps AAAA lookups are not working in DNS) or filed at

Applicable to Fedora Versions

  • Fedora Core 10+


  1. None

Doing the Work:

  1. First open a terminal.
  2. Then we need to disable ipv6 from being run. Do so by performing the following:
    su -c 'echo "install ipv6 /bin/true
    blacklist ipv6" > /etc/modprobe.d/blacklist-ipv6.conf'
  3. At the password prompt, enter the password for root and press return.

    NOTE: The first line install ipv6 /bin/true will stop the system from calling the ipv6 module while running: whenever the system needs to load the ipv6 module, it is forced to execute the command true instead of actually loading the module. Since /bin/true does absolutely nothing, the module never gets loaded. The second line blacklist ipv6 stops the the kernel stack from loading the ipv6 module during boot.

  4. Now we need to stop and disable the ip6tables service. Do so by performing the following in a terminal window:
    su -c 'service ip6tables stop && chkconfig ip6tables off'
    At the password prompt, enter the password for root and press return.
  5. After making these changes a system reboot will be required.
  6. If you find that anything is actually fixed by disabling IPv6, then you have found a bug. Make sure you report it at
  7. More Information


    We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on

    Added Reading

Document Actions
Log in

Forgot your password?
New user?