PVE 开启IPV6
https://www.proxmox.wiki/?thread-262.htm
查看内核也已经开启ipv6自动配置:
cat /proc/sys/net/ipv6/conf/vmbr0/accept_ra
1
cat /proc/sys/net/ipv6/conf/vmbr0/autoconf
1
查看已开启ipv6转发:
cat /proc/sys/net/ipv6/conf/vmbr0/forwarding
1
需要将accept_ra值改成2才能自动配置SLAAC ipv6地址:
/etc/sysctl.conf
net.ipv6.conf.all.accept_ra=2
net.ipv6.conf.default.accept_ra=2
net.ipv6.conf.vmbr0.accept_ra=2
net.ipv6.conf.all.autoconf=1
net.ipv6.conf.default.autoconf=1
net.ipv6.conf.vmbr0.autoconf=1