"ip: either "local" is duplicate, or "/24" is garbage" 错误是由于在 "ip addr add" 命令中重复使用了 "local" 关键字导致的。在该命令中,"local" 用于指定要添加的 IP 地址是本地地址。正确的命令应该是:ip addr add dev eth0 192.168.1.130/24 broadcast +。

IP 地址添加命令错误:ip addr add dev eth0 local 192.168.1.130/24 broadcast + 报错原因解析

原文地址: https://www.cveoy.top/t/topic/puM9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录