PVE开启IPv6
vim /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
然后执行sysctl -p或者重启主机
输入
apt-get install net-tools -y
ifconfig