vps配置ipv6地址

1.修改配置文件###

vim /etc/network/interfaces

2.添加以下内容###

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:c:1af0::2
        netmask 64
        endpoint 66.220.18.42
        local 108.174.250.156
        ttl 255
        gateway 2001:470:c:1af0::1

3.重启网络###

systemctl restart networking

posted @ 2019-05-01 22:41  姜文文  阅读(1365)  评论(0编辑  收藏  举报