前期准备
安裝Dibbler:
wget https://netix.dl.sourceforge.net/project/dibbler/dibbler/1.0.1/dibbler-1.0.1.tar.gz tar zxvf dibbler-1.0.1.tar.gz cd dibbler-1.0.1 ./configure make make install在/var/lib/dibbler/client-duid 填入 /64的DUID duid在op后台获取,看图

mkdir /var/lib/dibbler/ nano /var/lib/dibbler/client-duid

mkdir /etc/dibbler/ nano /etc/dibbler/client.conf内容为:
## 请自行替换网卡名称eno1部分,我这里是eno1,不一定你的就是,使用ip add指令查看自己的 log-level 7 duid-type duid-ll inactive-mode iface eno1 { pd }查看网卡


nano /etc/network/interfaces 内容: iface eth0 inet6 static address 2001:bc8:xxxx::1 ##你的op后台/64 IPv6地址,冒号后面随便填一个数字就好 netmask 64 ##后台ipv6后面的那个数字,上面有截图,我这里是64设置开机自启
nano /etc/systemd/system/dibbler-client.service内容:
[Unit] Description=Dibbler Client After=networking.service [Service] Type=simple ExecStart=/usr/local/sbin/dibbler-client start [Install] WantedBy=multi-user.target

systemctl enable dibbler-client.service重启系统
rebootps:reboot重启报错输入以下命令即可,重启失效,暂时没啥好办法解决,最简单粗暴解决办法就是dd系统。
export PATH=$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin测试是否设置成功开启ipv6,可按CTRL+C退出ping:
ping6 ipv6.google.com

教程完毕,点个赞收个藏常来逛逛~