全球主机交流论坛

标题: 关于 hosthatch 的 IPV6 配置问题 [打印本页]

作者: tibbs    时间: 2019-6-11 19:11
标题: 关于 hosthatch 的 IPV6 配置问题
本帖最后由 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 谢谢
作者: hxuf    时间: 2019-6-11 19:27
感谢分享 抄到博客里
作者: tibbs    时间: 2019-6-11 19:30
hxuf 发表于 2019-6-11 19:27
感谢分享 抄到博客里

声明版权!
作者: mclover    时间: 2019-6-11 19:31
IPV6的地址哪来的?发ticket?

作者: tibbs    时间: 2019-6-11 19:32
mclover 发表于 2019-6-11 19:31
IPV6的地址哪来的?发ticket?

对啊   ,你还想啥呢??
作者: mclover    时间: 2019-6-11 19:36
tibbs 发表于 2019-6-11 19:32
对啊   ,你还想啥呢??

免费给?
作者: hxuf    时间: 2019-6-11 19:38
tibbs 发表于 2019-6-11 19:30
声明版权!

只写了你ID
作者: tibbs    时间: 2019-6-11 19:40
mclover 发表于 2019-6-11 19:36
免费给?

貌似没找我要钱
作者: hcyme    时间: 2019-6-11 19:44
声明版权所有!
作者: 法拉利    时间: 2019-6-11 20:06
移动有ipv6但是连不上网
作者: tibbs    时间: 2019-6-11 20:08
hxuf 发表于 2019-6-11 19:38
只写了你ID

https://www.locvm.info/html/archives/7.html  谢谢  
作者: hcyme    时间: 2019-6-11 20:10
法拉利 发表于 2019-6-11 20:06
移动有ipv6但是连不上网

江苏移动很给力,火箭速度有七十多,还稳。不过用的人多了就麻烦事儿,以前电信ipv6也是高开低走
作者: 冻猫    时间: 2019-6-11 20:14
电信ipv6是辣鸡,境外流量全要绕英国
作者: adminw    时间: 2019-6-11 22:03
提示: 作者被禁止或删除 内容自动屏蔽
作者: tibbs    时间: 2019-6-11 22:08
adminw 发表于 2019-6-11 22:03
面板填那个没啥用 不赢填写,直接上/48你这个太麻烦了

上 64 的好处都有啥?
说对了就给他
作者: adminw    时间: 2019-6-11 22:10
提示: 作者被禁止或删除 内容自动屏蔽
作者: tibbs    时间: 2019-6-11 22:11
adminw 发表于 2019-6-11 22:10
一个机器根本用不完整个/64段,还得自己后台添加路由,直接从1开始/48添加到ipv6地址处,这算是单独的不 ...

这也可以啊
  问题是很多人不会
不如直接  /64
    --
其实我也不会,我参考了不少文件,我家里的 IPV6 还不能从 路由分配到子网
作者: adminw    时间: 2019-6-11 22:16
提示: 作者被禁止或删除 内容自动屏蔽
作者: tibbs    时间: 2019-6-11 22:18
adminw 发表于 2019-6-11 22:16
以前搞过一段时间idc这都不是问题

  那你不早点说,很郁闷的
研究了半天   
   我的主控不在这里,都是些优化的,国企才辞职下来的,被领导逼到疯 。
作者: mikj521    时间: 2019-6-11 22:24
他们家默认就有送 V6地址
作者: adminw    时间: 2019-6-11 22:52
提示: 作者被禁止或删除 内容自动屏蔽
作者: msn-00100    时间: 2019-6-11 22:57
多个地址怎么配呢




欢迎光临 全球主机交流论坛 (https://loc.528866.xyz/) Powered by Discuz! X3.4