apt install vim
vim /etc/network/interfaces

iface eth0 inet6 static
address 你的公用IPV6地址
netmask 64
gateway 你的IPV6网关
autoconf 0
dns-nameservers 2001:4860:4860::8844 2001:4860:4860::8888

重启网卡
/etc/init.d/networking restart

测试ping6 google.com