linux centOS 开启ipv6
开启ipv6
修改/etc/sysctl.conf
vim /etc/sysctl.conf
#net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
2.执行命令 启用IPv6
sysctl -p
3.查看ip
ifconfig