参考:

关闭IPV6,ubuntu 14.04

Ubuntu 14.04 禁用ipv6

1.检查ipv6是否开启:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

2.禁用ipv6,在/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

3.reboot重启。

2017.6.11

相关文章:

  • 2021-07-27
  • 2021-07-19
  • 2022-02-25
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-05
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2021-09-30
相关资源
相似解决方案