请知悉:本文最近一次更新为 1 year 前,文中内容可能已经过时。

最近一台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?


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《NetworkManager: platform-linux: do-add-ip6-address: failure 95 (Operation not supported)解决办法》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌