宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

Vultr的老用户在用到服务器项目时都是IPV4地址,最近有人问小编IPV6地址怎么没有找到,其实是因为这个需要开通和配置才能使用,在本篇文章中,小编将会教大家如何在Debian8系统中激活和配置IPV6地址,大家要认真学起来哦!

Vultr服务器配置IPV6地址教程-编程部落

第一、激活IPV6地址

Vultr服务器配置IPV6地址教程-编程部落

上图是Vultr Debian8系统中激活IPV6地址操作。

Vultr服务器配置IPV6地址教程-编程部落

上图我们可以看到IPV6地址和网关信息。

第二、配置IVP6地址信息

这个一点有点像之前的添加新IP地址一样,激活后不可以立刻使用,还需要配置到服务器中。

/etc/network/interfaces

在这个文件中添加:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 144.202.84.14
netmask 255.255.254.0
gateway 144.202.84.1
dns-nameservers 108.61.10.10
post-up ip route add 169.254.0.0/16 dev eth0
iface eth0 inet6 static
address 2001:19f0:8001:1dbc:5400:01ff:fee0:634e
netmask 64
dns-nameservers 2001:19f0:300:1704::6

根据情况配置文件。

systemctl restart networking.service

重启生效。

以上就是Vultr服务器配置IPV6地址方法详细介绍,大家可以按照上面的步骤操作,如果还没有Vultr服务器的,可以现在入手一台,现在有Vultr优惠码活动,新用户赠送美元,机会难得哦!

(本文由美国主机侦探原创,转载请注明!)

Vultr服务器配置IPV6地址教程-编程部落

微信扫码加好友进群

主机优惠码及时掌握

0

标签:Vultr

.entry-tags .tag-links a{text-decoration:none;}
.single #primary .entry-footer .entry-like a{text-decoration: none;}
/*短代码*/
.couponPost{display: flex;flex-direction: row;font-size: 15px;padding: 15px 0px;border-bottom: 1px dashed #ccc;overflow:hidden;}
.couponPost .couponPostRight{margin-left: 20px;overflow: hidden;width: 616px;display: flex;flex-direction: column;justify-content: space-between;}
.couponPost .couponPostLeft{position: relative;overflow:hidden;width:166px;height:130px;}
.couponPostImage{height: 100%;display: flex;border: 1px solid #ccc;border-radius: 5px;}
.couponPostRight h2.title{margin-bottom:0;font-size:16px;}
.couponPostDesc{text-align: justify;}
.couponPostLeft .couponPostImage::before{content: \’促销\’;position: absolute;color: #fff;background-color: red;font-size: 14px;width: 88px;transform: rotate(-45deg);top: 9px;left: -23px;text-align: center;}
.couponPostRight h2.title a{color: #333;text-decoration: none;}
a.linkPost{display: inline-block;color: #E14036;padding: 0px 10px;border: 1px dashed #e14036;background-color: #FFD886;line-height: 20px;}
.couponPostLink a{margin-left:0!important;text-decoration:none;}
.imageNone::before{content:none!important;}