These days while supporting application server we found that if the IPV6 is enable it can create a problem at the time of connectivity. As we are not using it we thought to disable it. In our environment we are using Red Hat Enterprise Linux(RHEL) 6.X and CentOS 6.X

To disable IPv6 on both this flavor we have add following lines in /etc/sysctl.conf

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

And reboot the system.

If you want to disable IPv6 without rebooting your system, then you have to run following commands:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6

OR

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

Related content:

  1. Disable ipv6 in Ubuntu
  2. Cacti on CentOS
  3. Installing Nagios on CentOS
  4. Remotely Turn Off Monitor
  5. Disabling SELinux
How to Disable IPv6 on RHEL / CentOS
Tagged on:                                                     

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recommend on Google