最近一台VPS碰到个报错:
NetworkManager[1466]: <warn> [1683532134.5625] platform-linux: do-add-ip6-address[2: fe80::17ff:fe01:458c]: failure 95 (Operation not supported)
NetworkManager[1466]: <warn> [1683532136.5627] ipv6ll[1f7ee68859309353,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
但我已经禁用IPv6了啊,为什么还有这样的频繁的报错信息输出呢?
如何解决呢?具体方法如下:
nmcli connection show
列出全部的网络信息:
NAME UUID TYPE DEVICE
Wired Connection d0b453d0-2169-4aa7-994b-dd634cc5c583 ethernet enp0s3
tailscale0 6a10af42-04f9-49b5-a12e-c62d3a358ade tun tailscale0
System enp0s3 3c36b8c2-334b-57c7-91b6-4401f3489c69 ethernet --
得知需要移除IPv6的网络名:Wired Connection
然后根据网络名移除IPv6并重启对应网络连接即可:
nmcli con mod "Wired Connection" ipv6.method disabled
nmcli con down "Wired Connection" && nmcli con up "Wired Connection"
参考资料
Why does NetworkManager report IPv6 related warnings when IPv6 is disabled in the kernel?
如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。
如本文对您有用,捐赠和留言 将是对我最好的支持~(捐赠可转为站内积分)
如愿意,请向朋友推荐本站,谢谢。
尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。