Web lists-archives.com

Re: Permanent Use of IPv4


On Fri, Feb 15, 2019 at 10:13:14AM -0500, Stephen P. Molnar wrote:
> Thanks for help from this gropup I can force the use of IPv4 by running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.
> My question is how can I implement the sysctl statement on boot?

echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf