If you don't use ivp6 for anything and your ISP doesn't support it theres not much of a need to have it enabled. To disable it we need to edit /etc/modprobe.d/aliases
nano /etc/modprobe.d/aliases
By default you will have the following line
alias net-pf-10 ipv6
Replace it with the following
alias net-pf-10 off alias ipv6 off
You can now remove all the ipv6 stuff from /etc/hosts and once you reboot ipv6 will be disabled


This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.