记录:Racknerd家VPS设置IPv6方法

小代呀2022-04-27日常分享33664

        在4月21日Racknerd的五一闪购活动中,我抢到了15.58刀的vps,配置如下:

2022劳动节 - 闪购第八波
2 GB 内存
2 个CPU核心
35 GB SSD 存储
5 TB 月流量
1Gbps带宽
1个IPv4
免费送ClientExec的授权 (购买后开工单获取)
机房: 圣何塞,达拉斯,芝加哥,纽约
价格: $15.58 /年
数量:50


        这款服务器可以通过工单迁移至洛杉矶DC 02(Multacom Corporation)机房,在配置IPv6过程中,我遇到了网关不通,无法通过IPv6访问外网的情况;通过咨询RN客服我得到了如下解决方案:

For Ubuntu, the Debian instance needs to enable IPV6 manually after configuring. Kindly follow the below-mentioned steps to enable the IPv6 address for your server.

Login to your server via ssh connection and adding the the below entries in sysctl.conf file:

nano /etc/sysctl.conf

Scroll all the way down, and add the following lines at the end:

net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.eth0.autoconf = 0
net.ipv6.conf.eth0.accept_ra = 0

To check run:

sysctl -p

Then try to restart network

systemctl restart networking

Then check with

ping6 google.com

If its still not working try to reboot your VPS once.


操作完之后就可以愉快的使用IPv6网络了,值得一说的是RN家的工单响应速度可比某vir强太多了,就是营销策略有待提高。

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。