Ubuntu 16.10 禁止IPv6
step 01
append the following snippets to file /etc/sysctl.conf
#disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
step 02
make it take effect, execute command as root
sudo sysctl -p
Good luck :-)
本文介绍如何在Ubuntu16.10中禁用IPv6。通过编辑/etc/sysctl.conf文件并添加特定配置来实现IPv6的禁用,最后执行sysctl命令使配置生效。

被折叠的 条评论
为什么被折叠?



