Web lists-archives.com

Re: Permanent Use of IPv4

Le 15/02/2019 à 16:13, Stephen P. Molnar a écrit :
Thanks for help from this gropup I can force the use of IPv4 by running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.

This does not force the use of IPv4 but disables the use of IPv6 addresses on existing interfaces.

For a number of reasons I have just done a fresh install of Stretch, hoping that the installer woould allow me to select IPv4, which, of course it didn't.

You can pass ipv6.disable_ipv6=1 to the installer/kernel command line.
I don't remember if the installer records such custom parameters to /etc/default/grub GRUB_CMDLINE_LINUX however.