全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 3700|回复: 21
打印 上一主题 下一主题

关于 hosthatch 的 IPV6 配置问题

[复制链接]
跳转到指定楼层
1#
发表于 2019-6-11 19:11:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 tibbs 于 2019-6-11 20:07 编辑

@gdzh65

已经配置成功
root@server:~# ping6 ipv6.google.com
PING ipv6.google.com(lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e)) 56 data bytes
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=1 ttl=57 time=0.363 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=2 ttl=57 time=0.447 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=3 ttl=57 time=0.475 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=4 ttl=57 time=0.411 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=5 ttl=57 time=0.438 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=6 ttl=57 time=0.787 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=7 ttl=57 time=0.435 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=8 ttl=57 time=0.432 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=9 ttl=57 time=0.414 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=10 ttl=57 time=0.428 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=11 ttl=57 time=0.480 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=12 ttl=57 time=0.461 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=13 ttl=57 time=0.508 ms
64 bytes from lax17s05-in-x0e.1e100.net (2607:f8b0:4007:808::200e): icmp_seq=14 ttl=57 time=0.491 ms
^C
--- ipv6.google.com ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13271ms
rtt min/avg/max/mdev = 0.363/0.469/0.787/0.096 ms

成功之前,请在
https://manage.hosthatch.com
管理处添加一个 subnet


配置方法  
  1. nano /etc/network/interfaces
  2. auto eth0
  3.   iface eth0 inet static
  4.    address 你的IPV4地址
  5.    gateway 你的 IPV 4 网关
  6.    netmask 255.255.255.0
  7.    dns-nameservers 1.1.1.1 8.8.8.8
  8.    
  9.    up ip addr add 您的IPV6地址/64 dev eth0
  10.    up ip -6 route add 你的IPV6网关 dev eth0
  11.    up ip -6 route add default via 你的IPV6网关

复制代码

简单粗暴

转载注明
https://www.locvm.info/html/archives/7.html 谢谢
2#
发表于 2019-6-11 19:27:59 | 只看该作者
感谢分享 抄到博客里
3#
 楼主| 发表于 2019-6-11 19:30:28 | 只看该作者
hxuf 发表于 2019-6-11 19:27
感谢分享 抄到博客里

声明版权!
4#
发表于 2019-6-11 19:31:15 | 只看该作者
IPV6的地址哪来的?发ticket?
5#
 楼主| 发表于 2019-6-11 19:32:49 | 只看该作者
mclover 发表于 2019-6-11 19:31
IPV6的地址哪来的?发ticket?

对啊   ,你还想啥呢??
6#
发表于 2019-6-11 19:36:42 | 只看该作者
tibbs 发表于 2019-6-11 19:32
对啊   ,你还想啥呢??

免费给?
7#
发表于 2019-6-11 19:38:07 | 只看该作者

只写了你ID
8#
 楼主| 发表于 2019-6-11 19:40:31 | 只看该作者

貌似没找我要钱
9#
发表于 2019-6-11 19:44:42 来自手机 | 只看该作者
声明版权所有!
10#
发表于 2019-6-11 20:06:47 来自手机 | 只看该作者
移动有ipv6但是连不上网
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-1-14 11:23 , Processed in 0.069031 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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