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.
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
reporting disabled (1), ubuntu x64 14.04 still manages to somehow autoconfig an a v6 ip on the main interface (ipv6 is set to auto in the network manager by default) – stackblow Jun 30 '15 at 16:121
), and the advice from Mostafa below - yetipv6
still appears in mydmesg
and slows down my boot - what can I do?[ 19.434645] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
– FooBar Apr 15 '17 at 11:21someapp.conf.d
directory available. On my system there is/etc/sysctl.d/
with many config files for various settings. I created a new one called30-noipv6.conf
and put the settings from above in and then loaded it withsudo sysctl -p /etc/sysctl.d/30-noipv6.conf
. – dragon788 Apr 19 '18 at 22:03