全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

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

[已解决] 绿云大水牛的IPv6网关是多少?

[复制链接]
发表于 2022-10-12 23:50:27 | 显示全部楼层 |阅读模式
本帖最后由 plugins 于 2022-10-13 12:37 编辑

系统自动分配的是
   up ip addr add 2602:ffc8:2:105::6d:eXXX/112 dev eth0
   up ip -6 route add 2602:ffc8:0002:0105:0000:0000:0000:0001 dev eth0
   up ip -6 route add default via 2602:ffc8:0002:0105:0000:0000:0000:0001


能ping通这个网关,但是不能访问外网的IPv6地址
  1. $ ping google.com
  2. PING google.com(lga15s44-in-x0e.1e100.net (2607:f8b0:4006:808::200e)) 56 data bytes
  3. ^C
  4. --- google.com ping statistics ---
  5. 2 packets transmitted, 0 received, 100% packet loss, time 1032ms
复制代码
发表于 2022-10-13 00:46:06 | 显示全部楼层
  1. nano /etc/network/interfaces,把ens3改成你ip a显示实际的网卡
  2. auto lo
  3. iface lo inet loopback
  4. auto ens3

  5. iface ens3 inet static
  6. address 你的ipv4/24
  7. gateway 你的网关
  8. iface ens3 inet6 static
  9. address 你的ipv6/112
  10. gateway 你的网关
复制代码
 楼主| 发表于 2022-10-13 12:37:00 | 显示全部楼层
发表于 2022-10-13 12:40:38 来自手机 | 显示全部楼层
hh也是ipv6七死八活见鬼
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-5-14 17:36 , Processed in 0.059474 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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