Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

11.11. IPv6

11.11.1. 禁用 IPv6

有些 Linux 发行版会将 ipv6 设为默认,国内 ipv6 支持不好,导致网络出现异常

创建文件 /etc/sysctl.d/ipv6.conf

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

11.11.2. Ipv6 无法连接