今天刚买的 Claw JP,付完款后,发现系统是默认的 Debian 12,而我一直习惯了用 Debian 11,于是通过后台面板里的按钮重装系统。系统重装好后,发现 IPv6 无法 SSH 连接,用工具网站多地点 Ping IPv6,国内国外都全部超时。搜索论坛,发现有小伙伴遇到了同样的问题。
由于我是联通网,买这个机子就指望 IPv6 用呢,所以肯定要想办法解决。
考虑到我进行了重装系统操作,所以这个问题大概率是与重装系统有关的。这个时候想起来 Claw 的 IPv6 是最近才添加的新功能,会不会是重装系统的镜像里面没有配置好 IPv6?于是开始上网查找相关内容,并最终顺利解决问题。主要就是要开启系统的 DHCPv6 功能,步骤如下:
1. 找到系统的网络配置文件
首先 cd 到 /etc/network/ 文件夹(注意没有s),这个文件夹里面的 interfaces 文件(注意有s),就是网络配置文件了。但是你打开它,会发现里面什么都没有,因为这个是主配置文件,它会包括旁边的 interfaces.d 文件夹里面的所有文件作为子配置文件。改这两边的文件都是等效的。
那我们再 cd 到 /etc/network/interfaces.d/ 文件夹,可以看到里面有个叫 50-cloud-init 的文件,这个文件里面写的就是系统的网络配置。我们打开看看,可以使用 nano、vim 等工具打开:
auto lo
iface lo inet loopback
auto ens5
iface ens5 inet dhcp
2. 修改系统的网络配置文件,添加 DHCPv6 功能
我们在这个文件的后面,加上这样的一行,表示启用 IPv6 的 DHCP,然后记得保存文件。
iface ens5 inet6 dhcp
3. 重启网络服务,使修改生效
在命令行运行 systemctl restart networking,使网络服务重启,这个时候 IPv6 其实就已经正常了。运行 ifconfig 进行验证,可以看到 Claw 后台面板里面分配给我们的那个 IPv6 地址。再进行连接,也可以连上了。
省流版
1、文件编辑器打开 nano /etc/network/interfaces.d/50-cloud-init(也可以用 vi 命令使用 vim 编辑器)
2、在最下面粘贴上 iface ens5 inet6 dhcp 添加 DHCPv6 功能。,保存文件。
3、运行 systemctl restart networking 重启网络服务。
另外这里附上联通网络使用 IPv6 连接这个日本小鸡的体验
Ping延迟的话,目前是晚高峰时间,联通的IPv4延迟为去程260ms,回程170ms左右。换成IPv6,去程和回程都可以在100ms多点了,路由上可以看到走的是软银的线路。但是移动的IPv4延迟为50ms多,电信的为60ms多,仍有很大差距。IPv6的延迟移动与联通表现相似,在80-100ms左右,电信则在300ms左右,延迟较高。
使用联通的IPv6进行了一下测速,多线程下载最后显示307Mbps,中间最高到了330多,单线程下载为230Mbps。多线程和单线程均可以跑满200Mbps的限速。切换到IPv4,虽然延迟特别高,但是多线程下载速度仍然能有100多Mbps,上传没有速度,单线程下载也只有5Mbps左右。
联通走IPv6的线路似乎并不是很稳定,延迟波动变化较大,实际体验可能不是特别好。毕竟联通到日本,常见的IIJ和软银的线路,体验都不太行。
Hi vvars.com,
I would like to discuss SEO!
I can assist in optimizing your website to reach the first page of Google, thereby increasing the leads and sales generated from your site.
Note: I'd be happy to discuss SEO services in greater detail with you; we can work together. Drop your best number to reach.
Thanks,
Bests Regards,
Henry Joel
Sr SEO consultant
https://www.increaseorganictraffic.com
Ph. No: 1-804-715-1479
If you don’t want me to contact you again about this, reply with “unsubscribe”
Hi vvars.com,
I would like to discuss SEO!
I can assist in optimizing your website to reach the first page of Google, thereby increasing the leads and sales generated from your site.
Note: I'd be happy to discuss SEO services in greater detail with you; we can work together. Drop your best number to reach.
Thanks,
Bests Regards,
Henry Joel
Sr SEO consultant
https://www.increaseorganictraffic.com
Ph. No: 1-804-715-1479
If you don’t want me to contact you again about this, reply with “unsubscribe”
Hello Admin. Earn Extra Money from your site https://vvars.com
Hi Friend
Earn Extra Money from your site https://vvars.com
You can Earn Extra Money from https://vvars.com by posting banner.
Low Traffic, No Issue,Every Site Acceptable
No Tension of Ban like as Adsense
Already earning with Adsense? You can use it for extra Income
More site mean more earning
For more info Visit here and Sign UP at: https://bit.ly/47BuOgq
Thanks a lot. A lot of posts!
california online casino no deposit bonus https://combatcasino.info/review-betwhale/ casino belgie online