Disabling IPv6 on Fedora 17 Linux

IPv6 is enabled by default on most Linux distros. However, IPv6 is not used most of time (at least in my case). This post introduces how to disable IPv6 support on Linux (newer Kernel versions, such as in Fedora 17).

IPv6 on Linux can be easily configured via sysctrl.

Add these lines to /etc/sysctl.conf:


Note that you will need to restart Linux to make it take effect.

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.


  1. Nice try, but the correct config parameters are:


    between disable and ipv6 you have to paste an underscore

    1. Thanks for pointing this out. It is a formatting problem after the site changes to be using markdown. `_` is treated as a formatting character. It is fixed now.

Leave a Reply

Your email address will not be published. Required fields are marked *