Disabling IPV6 on Debian

Tue, Jul 7, 2009

Linux

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 post was written by:

Duffy - who has written 48 posts on Tuts4Tech.

I am the owner of this website, please feel free to ask me any questions you have

Contact the author

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.

Leave a Reply