vps配置ipv6地址
作者:互联网
1.修改配置文件
vim /etc/network/interfaces
2.添加以下内容
iface ens18 inet6 static
address 2a00:b700:2::2b3
netmask 64
gateway 2a00:b700:2::1
dns-nameservers 2a00:b700::220
3.重启网络
systemctl restart networking
标签:vps,配置文件,2a00,vim,地址,static,ipv6,inet6,b700 来源: https://www.cnblogs.com/jiangwenwen1/p/10801086.html