This is a companion discussion topic for the original entry at https://linuxconfig.org/redhat-8-enable-disable-ipv6
Thanks for sharing this. Note the step n. 5 should use sysctl -w net.ipv6.conf.all.disable_ipv6=0
or ipv6.disable=0
respectively.
thank you for pointing out this to me.
Although the:
ipv6.disable=1
is correct as the article asks the reader to remove it from grub config.
the article will be updated shortly.
Hey just a tip but you probably also want to comment out or delete
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
from /etc/hosts
The reason I say this is because things like postfix by default listen to localhost, if this line exists in /etc/postfix then postfix will break unless we go modify it to listen to 127.0.01
Hi Keimond,
Welcome to our forums.
You can also get postfix work by setting the inet_protocols
to ipv4
, and restart the service. That way you can keep the IPv6 localhost entry in your hosts file.