VPS开启IPV6
使用动态的分配ipv6
vim /etc/network/interfaces
添加
iface eth0 inet6 auto
添加静态ipv6
vim /etc/network/interfaces
auto lo
iface lo inet loopback
dns-nameservers 114.114.114.114 8.8.8.8
dns-search coal
auto eth0
iface eth0 inet static
address 192.168.183.11/24
gateway 192.168.183.1
auto eth1
iface eth1 inet6 static
address 2409:875xxxxxxxxxxxxxxx/64
gateway 2409:87xxxxxxxxxxxxxxxxxxx
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 程序员小航
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果