system configuration - Red Hat based systems
The requirements and recommended techniques for disabling ipv6 have changed frequently. Much of the advice found online today is either outdated or simply bad advice. Some of suggestions may work with some versions of an OS under certain configurations but not others.
If you do not need IPv6 support and are determined to disable it the following should work for most versions and configurations of RHEL5 and RHEL6. The appropriate approach is to administratively disable IPv6. As a general rule, you should no longer try to prevent the IPv6 module from loading since it is a dependency for a number of other components (e.g., bonding). In fact, as an aside, with some distributions and builds IPv6 is no longer a separate module but part of the kernel.
Any potential change should be carefully reviewed and evaluated before being implemented and confirmed following patching or upgrades.