Disabling IPv6 on Fedora 17 Linux

By Zhiqiang Ma On Feb 19, 2013

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:

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
By: Zhiqiang Ma Last updated: Feb 19, 2013 Views: 3,298
Tags: , , , , , ,

About Zhiqiang Ma

Zhiqiang Ma is a PhD candidate at Dep. of CSE, HKUST. He is interested in system software for cloud computing, virtualization of large-scale distributed system, etc. Find Zhiqiang on Facebook, Twitter, LinkedIn and Google+.

2 Comments on Disabling IPv6 on Fedora 17 Linux | Add Comment
  • Nice try, but the correct config parameters are:

    net.ipv6.conf.all.disable_ipv6=1
    net.ipv6.conf.default.disable_ipv6=1

    between disable and ipv6 you have to paste an underscore

Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.