Need help finding something? Start Here

How to disable IPv6 in CentOS 6

Edit /etc/sysconfig/network

Change the following:

NETWORKING_IPV6=yes to
NETWORKING_IPV6=no

Edit /etc/modprobe.conf

Add the following if it does not exist:

alias net-pf-10 off
alias ipv6 off

Stop the ipv6tables service

service ip6tables stop

Disable the ipv6tables service

chkconfig ip6tables off

After these changes, IPv6 will be disabled after the next reboot of your system.

Was this helpful?: 
5
Average: 5 (1 vote)