hosthatch老面板配置ipv6

网络资源 admin 来源:Hosthatch配置IPV6地址 3个月前 (02-14) 334次浏览 0个评论

工单申请ipv6

面板配置

在https://manage.hosthatch.com
管理处添加一个 subnet


配置小鸡网卡

SSH运行以下命令:

nano /etc/network/interfaces
auto eth0
iface eth0 inet static
   address 你的IPV4地址
   gateway 你的IPV4网关
   netmask 255.255.255.0
   dns-nameservers 1.1.1.1 8.8.8.8
   up ip addr add 您的IPV6地址/64 dev eth0
   up ip -6 route add 你的IPV6网关 dev eth0
   up ip -6 route add default via 你的IPV6网关

完成后可以PING一下GOOGLE的ipv6。

ping6 ipv6.google.com

显示如下:

64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=248 ttl=119 time=0.553 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=249 ttl=119 time=0.553 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=250 ttl=119 time=0.612 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=251 ttl=119 time=0.621 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=252 ttl=119 time=0.511 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=253 ttl=119 time=0.499 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=254 ttl=119 time=0.621 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=255 ttl=119 time=0.547 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=256 ttl=119 time=0.604 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=257 ttl=119 time=0.527 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=258 ttl=119 time=0.552 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=259 ttl=119 time=0.522 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=260 ttl=119 time=0.543 ms
64 bytes from ord37s19-in-x0e.1e100.net (2607:f8b0:4009:806::200e): icmp_seq=261 ttl=119 time=0.529 ms

 

 


VPS小白 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接
喜欢 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址