About nixCraft

Topics

Linux: How to disable the IPv6 protocol

Posted by Vivek Gite [Last updated: December 22, 2006]

Sometime you just need to disable IPv6 protocol. In some case, you do not need it at all or it may increase browsing speed.

Linux has Internet Protocol Version 6 (IPv6) enabled by default, almost all distro enable it.

Open your modprob.conf file (Red Hat and friends) and add following line:
# vi /etc/modprobe.conf

Add following line:
alias net-pf-10 off

Save and close the file. Reboot the system.

If you are using Debian/Ubuntu linux (thanks to beranger), open file /etc/modprobe.d/aliases
# vi /etc/modprobe.d/aliases
Find the line:
alias net-pf-10 ipv6
Replace to
alias net-pf-10 off
alias ipv6 off

Save and reboot the system. IPv6 support should now be disabled and it did improve my DNS performance. Also you can install DNS proxy - to improve DNS performance and squid caching server.

E-mail this to a friend      Printable version

You may also be interested in other helpful articles:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.