1 . Modify / etc / sysconfig / Network, added:
NETWORKING_IPV6 = NO
2 . Modify / etc / the hosts, the local host name phrase parsing also commented ipv6:
# :: 1 localhost localhost6 localhost6.localdomain6
. 3 in /. etc / modprobe 2.d / end dist.conf added:
Alias NET -pf- 10 OFF
Alias IPv6 OFF
and reboot the system (to be restarted) .
CAT >> / etc / modprobe .d / dist.conf << EOF
Alias NET -pf- 10 OFF
Alias ipv6 OFF
EOF
execute lsmod | grep -i ipv6 andifconfig | grep -i inet6, if nothing then the success is disabled.