I am using Ubuntu 14.04. And I have done the following to disable ipv6.
I have open /etc/sysctl.conf
using gedit
and paste the following lines at the end of sysctl.conf
.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
But when I check it using following command,
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
I am getting result as '0'( i.e still Enabled). Please help me to disable ipv6, so that I can use hadoop.
I followed instructions from this link.
Best Answer
To disable ipv6, you have to open
/etc/sysctl.conf
using any text editor and insert the following lines at the end:If ipv6 is still not disabled, then the problem is that
sysctl.conf
is still not activated.To solve this, open a terminal(Ctrl+Alt+T) and type the command,
You will see this in the terminal:
After that, if you run:
It will report:
If you see
1
, ipv6 has been successfully disabled.