centos 6 – disable ipv6



disable ipv6 on centos 6 :
1/ nano /etc/sysctl.conf

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

2/ sysctl -p
3/ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0=enable , 1=disables
4/ reboot

Read More