Howtos / Articles

How To Disable IPv6 on CentOS

A default install of CentOS will enable IPv6 connectivity. If you don’t need IPv6, there is no need to have it enabled. Follow the steps below to disable IPv6 on a CentOS install. Note: Run these commands as a user with root privileges. Check to see if you’re installation is currently set up for IPv6: # cat /proc/sys/net/ipv6/conf/all/disable_ipv6 If the output is 0, IPv6 is enabled.
If the output is 1, IPv6 is already disabled. Edit the /etc/sysctl.conf file to…

Read more [...]

How To Disable IPv6 on Ubuntu

A default install of Ubuntu will enable IPv6 connectivity. If you don’t need IPv6, there is no need to have it enabled. Follow the steps below to disable IPv6 on a Ubuntu install. Check to see if you’re installation is currently set up for IPv6: $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 If the output is 0, IPv6 is enabled.
If the output is 1, IPv6 is already disabled. Edit the /etc/sysctl.conf file to set the kernel parameter to disable IPv6: $ sudo nano…

Read more [...]