Search This Blog

Thursday, May 30, 2013

Disable IPv6 in CentOS 6

#for persistence over reboots:
add the following to /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

#during runtime:
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

I did a # service network restart, just for kicks.

No comments:

Post a Comment