Disabling IPv6 in Ubuntu 9.10

rmmod ipv6

Also add "ipv6" to your "blacklist" file in /etc/modprobe.d/ and reboot.

3 Replies

Why do you care? You have no IPv6 connectivity, so it won't be used, and won't do any harm at all.

You can disable ipv6 with a sysctl call. As root :

sysctl -w net.ipv6.conf.all.disable_ipv6=1

You can now check that ifconfig doesn't show ipv6 addresses anymore.

In order for this to be automated on each reboots, you create a file

/etc/sysctl.d/60-noipv6.conf

which contains

net.ipv6.conf.all.disable_ipv6 = 1

Hope it helps.

@shinji:

On one note I found that Apache 2 defaults to ::1 when it loads up and can't determine the fqdn so there is reason number one.

THANK YOU!!!

I've been wondering that, but it wasn't bugging me enough to care enough to ask as I'm only using my Linode for testing right now.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct