29 December, 2009

Disable IPv6 in Debian

I have problem with Java Webstart applications, which are using IPv6 by default. Because I'm not using IPv6 at all I decide to disable this protocol completely.

There are many pages how to disable ipv6 under Debian, but most of them was not working for me.

The most easiest work well:

Modify /etc/default/grub:

Don't forget to run update-grub after change (and reboot).

Then if you run
$ ip a
you should not see any IPv6 addresses...