云主机无法获取IPv6地址,如何排查?
解决方案
操作步骤
- 检查/etc/modprobe.d/disable_ipv6.conf文件,确认options ipv6 disable=0配置。
- 检查/etc/sysconfig/network,确认NETWORKING_IPV6=yes配置。
- 修改/etc/sysctl.conf,确认如下配置:net.ipv6.conf.all.disable_ipv6=0、net.ipv6.conf.default.disable_ipv6=0 、net.ipv6.conf.lo.disable_ipv6=0。
- 检查网卡配置文件/etc/sysconfig/network-scripts/ifcfg-ens33,确认参数配置正确。
