First, check if IPv6 is enabled by running the following command. If the output is 0, it means its enabled. If it’s 1, then its disabled already.
cat /proc/sys/net/ipv6/conf/all/disable_ipv6So, to disable ivp6 you need to add the following entries into your /etc/sysctl.conf file
Continue Reading...
source:http://linuxpoison.blogspot.com/2010/10/13578167755199.html