1.新增桥接网卡br0
nmcli c add type bridge autoconnect yes con-name br0 ifname br02.建立连接
echo 'BRIDGE="yes"' >> /etc/sysconfig/network-scripts/ifcfg-eno13.重启
reboot
4.查看状态 ip a
1: lo:mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever2: eno1: mtu 1500 qdisc mq master br0 state UP qlen 1000 link/ether 08:94:ef:05:be:e8 brd ff:ff:ff:ff:ff:ff3: eno2: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 08:94:ef:05:be:e9 brd ff:ff:ff:ff:ff:ff4: eno3: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 08:94:ef:05:be:ea brd ff:ff:ff:ff:ff:ff5: eno4: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 08:94:ef:05:be:eb brd ff:ff:ff:ff:ff:ff6: enp0s20u1u5: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 0a:94:ef:05:be:ef brd ff:ff:ff:ff:ff:ff7: br0: mtu 1500 qdisc noqueue state UP link/ether 08:94:ef:05:be:e8 brd ff:ff:ff:ff:ff:ff inet 192.168.0.206/24 brd 192.168.0.255 scope global dynamic br0 valid_lft 3155sec preferred_lft 3155sec inet6 fe80::a94:efff:fe05:bee8/64 scope link valid_lft forever preferred_lft forever8: virbr0: mtu 1500 qdisc noqueue state DOWN link/ether 52:54:00:75:90:d1 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever9: virbr0-nic: mtu 1500 qdisc pfifo_fast master virbr0 state DOWN qlen 500 link/ether 52:54:00:75:90:d1 brd ff:ff:ff:ff:ff:ff