Disabling the IPv6 module
In this recipe we will consider the need to disable the IPv6 module on a CentOS server.
IPv6 was designed to solve the problems of IPv4, but it is an accepted fact that not everyone uses it and not all hardware supports it. The deployment of IPv6 is accelerating but for this reason it is also a possibility that some environments will expect that IPv6 has been disabled on the server. This is certainly not unusual, and in these circumstances, you may find that disabling IPv6 will not only speed up networking, but it will also serve to reduce an administrative overhead and improve your current level of security.
Getting ready
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges and a console-based text editor of your choice.
How to do it...
Before we start, you should be aware that this recipe is not advised if you are using or you are intending to use any IPv6-dependant features such as Bonding, Postfix,...