February 2, 2007 · General · Email This Post

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

If you disable IPv6 and get reasonable Internet connection & DNS speeds

You need to edit the aliases file using the following command

sudo vi /etc/modprobe.d/aliases

Find the line: alias net-pf-10 ipv6

change to

alias net-pf-10 off

If the above change is not working you need to change the following one

alias net-pf-10 off ipv6

Save the file and reboot

  • Share/Save/Bookmark

Related Articles

11 Comments to “How to Disable IPV6 in Ubuntu”

  1. bart says:

    Could you please explain me why would I disable IPV6 ? for which reason ?

  2. admin says:

    some people might get slow network/Internet connections, DNS resolution problems.If you disable ipv6 these two problems will be fixed.

  3. You should not disable IPv6 because it is the future and the Web is moving towards it… Most hosting providers have updated and there is a good chance just 10% og your requests needs to be resent in IPv4.

    If you need faster DNS you should rather look at a different DNS provider. Consider switching to OpenDNS for example! They are really fast and you get URL typo-correction and lots of other useful features.

  4. Alex says:

    There are some few software (for example, VMWare Server 2) doesn’t work with Ubuntu and IPV6. This could be one reason.

  5. t0m5k1 says:

    i think that if IPv6 is not utilised within a LAN nor has the LAN external access to IPv6 networks then it is not needed & could cause unexpected issue’s therefore it should be disabled.
    Yes the future of the inet is with IPv6 but at the moment not enough ISP’s use it or offer it so it is only usefull in development environments.

  6. Jon Determan says:

    I disable IPV6 bacuse the campus I am on doesnt support IPV6 and internet doesnt work at all if IPV6 is enabled

  7. raindog469 says:

    I’m behind an ipv4-only router. ipv6 may be the future, but the future is not here yet.

  8. Would’nt it be the right way to disable/blacklist the ipv6 kernel modules in /etc/modprobe.d/blacklist?

  9. Nick says:

    … for security reason. There are a lot of machines using tunneling of ipv6 over ipv4 (e.g.teredo in windows) to overcome firewall rules of the admins and expose that way the corporate networks to the outside world. What sense make firewalls and NAT adresses, when they just get traversed by ipv6 traffic.

  10. boold says:

    also for security reasons, several services had remote exploits in their ipv6-implementation, more will come.

  11. hardy stevenson says:

    in jaunty the aliases file is empty. But the probs
    seem to most effect the http://www…so doing about:config
    in firefox/ network.dns.disableIPv6 changed to true
    made me happy enough…
    the reasoning behind diabling IPv6 is that its
    too early and IPv4 still dominates by far way far.
    so it avoids hangups to revert…tootles

Leave a Reply