Pages

Wednesday, 29 June 2016

Disabling IPv6 in CentOS 7

If you ever find yourself in the situation where it is absolutely necessary to disable IPv6 - this can be performed as below:

vi /etc/sysctl.conf

and add:

net.ipv6.conf.all.disable_ipv6 = 1

and then ensure changes are persistent:

sysctl -p

Finally reboot the system:

shutdown -r now

No comments:

Post a Comment