是否需要手动设置接口广播地址?
我正在从旧的networking工具转换我的脚本: ifconfig eth0 192.168.2.1 netmask 255.255.255.0 到iproute2: ip link set eth0 up ip addr add 192.168.2.1/24 dev eth0 我注意到新的命令默认不会设置广播地址。 什么是: 1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 1c:6f:65:c5:d6:d7 brd ff:ff:ff:ff:ff:ff inet 192.168.2.1/24 brd 192.168.2.255 scope global eth0 就是现在: 1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 1c:6f:65:c5:d6:d7 brd ff:ff:ff:ff:ff:ff inet […]