How to disable IPv6 on CentOS 5.5By angsuman, Gaea News Network
Sunday, July 11, 2010
The reason for this article is simple. The recommended method from CentOS wiki doesn’t work while the other method works. Here is what will disable IPv6 on CentOS Linux and also prevent the module from loading.
- Edit /etc/sysconfig/network and set “NETWORKING_IPV6″ to “no”
- This still loads the module but IPv6 is administratively disabled. Run the next command to prevent loading the ipv6 module
- Then add the following to /etc/modprobe.conf :
- alias ipv6 off
- alias net-pf-10 off
- Now reboot the machine.
Filed under: Fedora 11, Fedora 7, How To, Linux, Open Source Software, Tech Note, Web, Web Hosting