homehowtokbslinksaboutcontactprojectsmusic

Index > Help Tutorials > Disable IPv6 in Ubuntu
paste the following in your terminal
cat << eot >> /etc/sysctl.conf

# disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
eot
verify
sudo sysctl -p
You will see this in the terminal whatever options are enabled/uncommented in sysctl.conf, in this example
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
second check
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
if output is 1 then IPv6 is disabled Reference