Vir JP难民 33节点的V6挂了,所以现在套HE应急一下,所以下面的是先屏蔽Vir JP的V6,然后使用HE的V6隧道
HE注册这些就不说了。
安装netplan.io
apt install netplan.io
然后在he的官网获取netplan<0.103的,然后魔改一下
# This is the network config written by 'subiquity'
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: yes
dhcp6: yes
accept-ra: no
addresses:
- xx.xx.xx.xx/24
# - xxxx:xxxx:xxxx::xxxx/48
# - xxxx:xxxx:xxxx::xxx:xxxx/40
gateway4: xx.xx.xx.1 #V4网关,通常最后是IPV4前面最后换成1
# gateway6: 第一个V6的网关
# gateway6: 第二个V6的网关
nameservers:
addresses: [1.1.1.1, 8.8.8.8,2001:4860:4860::8888, 2001:4860:4860::8844]
tunnels:
he-ipv6:
mode: sit
remote: 默认就好
local: 你的V4
addresses:
- "默认就好,如果申请了/48的可以换成48的"
gateway6: "默认就好,如果申请了/48的可以换成48的"
然后
netplan try
没问题的话就可以应用。
如果Vir JP的V6回来的话,要取消he隧道的话就,把上面的
tunnels:
he-ipv6:
mode: sit
remote: 默认就好
local: 你的V4
addresses:
- "默认就好,如果申请了/48的可以换成48的"
gateway6: "默认就好,如果申请了/48的可以换成48的"
删掉,把
# - xxxx:xxxx:xxxx::xxxx/48
# - xxxx:xxxx:xxxx::xxx:xxxx/40
gateway4: xx.xx.xx.1 #V4网关,通常最后是IPV4前面最后换成1
# gateway6: 第一个V6的网关
# gateway6: 第二个V6的网关
的#拿掉,然后重新
netplan try
没问题后看看
ifconfig
的eth0的IPV6回来没有,然后就用
curl ip.me -6
回来后就
ifconfig he-ipv6 down
重新用回原先的V6。
或者试试
curl ip.me -6
看看是不是你的IPV6,或者用其他手段看看,要是不行的话,可以卸载netplan
apt autoremove netplan.io
接着重启网络看看
sudo systemctl restart networking.service
还是不行的话,别问我我也不知道 

好久没来技术板水贴了 ~
(bushi~btw 要是33的V6回来了叫我一声,我看看能不能恢复原来的
这不是昨天晚上你和我提到的嘛,瞌睡的要死就没顾上研究。
这下好了,你直接把踩坑步骤写出来了,我可以一把梭了,诶嘿嘿~
我稍后把那个ipv6 ndppd的写出来,不知道怎么让它监听所有的网卡。