Disable IPv6 in Debian
I have a problem with Java Webstart applications, which are using IPv6 by default. Because I’m not using IPv6 at all I decided to disable this protocol completely.
There are many pages about how to disable ipv6 under Debian, but most of them were not working for me.
The easiest one worked well:
Modify /etc/default/grub:
1
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
Don’t forget to run update-grub after change (and reboot).
Then if you run
1
ip a
you should not see any IPv6 addresses…
This post is licensed under CC BY 4.0 by the author.