配置桥接网络例子如下 nmcli connection add type bridge con-name qinbr ifname qinbr nmcli connection modify qinbr ipv4.method manual ipv4.addresses 172.16.24.211/17 ipv4.gateway 172.16.1.1 ipv4.dns 172.16.1.2 connection.autoconnect yes nmcli connection add type bridge-slave con-name eth0 ifname enahisic2i0 master qinbr nmcli connection up qinbr nmcli connection up eth0
|