How to disable IPv6 on Linux (Old Version Kernels)
Posted on In NetworkUpdate: this only works on older Linux kernels (e.g. Fedora 12). For newer kernels, please seeĀ How to disabling IPv6 on Linux
IPv6 is enabled by default on most Linux distros. However, IPv4 is still the mostly used network and IPv6 is not used in many environment. This post introduces how to disable IPv6 support on Linux.
The method is simple:
# echo "options ipv6 disable=1" >> /etc/modprobe.d/disable-ipv6.conf
“option ipv6 disable=1” tells Linux not to enable the ipv6 module.
3 comments