I notice that the bridges created by ip
command and nmcli
command are distinct:
# Create a bridge via ip command and name it br-ip
ip link add dev br-ip type bridge
# Create another bridge via nmcli command and name it br-nmcli
nmcli con add ifname br-nmcli type bridge con-name br-nmcli
The two bridges look like:
21: br-ip: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether b6:9a:7a:57:63:7f brd ff:ff:ff:ff:ff:ff
22: br-nmcli: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether d2:fc:b8:6f:e3:2e brd ff:ff:ff:ff:ff:ff
The br-nmcli
has NO-CARRIER
tagged and has noqueue qdisc.
However, the br-ip
has no NO-CARRIER
tag and uses noop as its default qdisc.
So, how could I create a bridge via nmcli
has the same result as ip
command?
Besides, what does NO_CARRIER
mean?