How to disable ubuntu 14.04 ipv6
I want to disable ipv6 on my ubuntu 14.04 system.
I have tried to put the end of /etc/sysctl.conf file
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
these three lines and reboot but it can't take ip address anymore.
How to disable ipv6 from my system?