How to disable IPV6 [SOLVED]

I created the machine and due to oversight during installation I left IPV6 enabled

Is there a simple way that does not create problems to disable it, without redoing everything?

Add the following lines to /etc/sysctl.conf:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Then at root prompt type “service network restart” or reboot system.

I saw some notes online and they converge with what you suggest …

verifying the file in question I do not see these strings set to 0

I guess they are the default so and to disable it enough to add them to 1

what do you think about it?

Just add them with “= 1”

you solved your indication was perfect, thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.