全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 880|回复: 14

[美国VPS] VIRMARCH该如何设置ipv6

[复制链接]
发表于 2022-12-6 12:23:04 | 显示全部楼层 |阅读模式
loc大神,我看virmarch有ipv6地址了,尝试使用,却怎么也ping不通,我看/etc/network/interfaces配置里的ipv6地址和网关都有。有大神知道原因,万分感谢
auto lo
  iface lo inet loopback

auto eth0
  iface eth0 inet static
   address 45.66.217.134
   gateway 45.66.217.1
   netmask 255.255.255.0
   dns-nameservers 8.8.8.8 8.8.4.4
   up ip addr add 2a12:a301:0:4::a674:fedf/64 dev eth0
   up ip -6 route add 2a12:a301:0000:0004:0000:0000:0000:0001 dev eth0
   up ip -6 route add default via 2a12:a301:0000:0004:0000:0000:0000:0001
发表于 2022-12-6 12:25:27 | 显示全部楼层

发完工单,IPV6没给,却删机了
发表于 2022-12-6 12:33:31 | 显示全部楼层
我也遇到同样的问题
发表于 2022-12-6 12:41:05 | 显示全部楼层
  1. iface eth0 inet6 static
  2.    address 2a12:a301:0:4::a674:fedf/64
  3.    gateway 2a12:a301:0:4::1
复制代码
发表于 2022-12-6 12:49:26 | 显示全部楼层
配置好后要重启
 楼主| 发表于 2022-12-6 12:52:34 | 显示全部楼层

按照您的方法添加了静态ip,也重启了vps,还是不能ping通
 楼主| 发表于 2022-12-6 12:53:44 | 显示全部楼层
root@PunyStandard-VM:~# ping ipw.cn
PING ipw.cn(2402:4e00:40:40::2:3b6 (2402:4e00:40:40::2:3b6)) 56 data bytes
From PunyStandard-VM (2a12:a301:0:4::a674:fedf) icmp_seq=1 Destination unreachable: Address unreachable
From PunyStandard-VM (2a12:a301:0:4::a674:fedf) icmp_seq=2 Destination unreachable: Address unreachable
From PunyStandard-VM (2a12:a301:0:4::a674:fedf) icmp_seq=3 Destination unreachable: Address unreachable
发表于 2022-12-6 13:01:06 | 显示全部楼层
沙漠之水 发表于 2022-12-6 12:52
按照您的方法添加了静态ip,也重启了vps,还是不能ping通

你去面板添加个ipv6 地址 然后设置试试
发表于 2022-12-6 13:01:19 来自手机 | 显示全部楼层
v6配置似乎是有问题的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-19 21:18 , Processed in 0.064193 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表