1、配置kvm桥接网络,并验证
方法1:修改配置文件,添加网卡设备br1
[root@localhost network-scripts]# cat ifcfg-br1
DEVICE="br1"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO="none"
IPADDR="192.168.136.140"
NETMASK="255.255.255.0"
GATEWAY="192.168.136.2"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
DHCPV6C="no"
STP="on"
DELAY="0"
[root@localhost network-scripts]# cat ifcfg-ens33
UUID=e7b1fa3e-c126-4b6e-a25c-7b491aab10a7
DEVICE=ens33
ONBOOT=yes
BRIDGE=br1
TYPE=Ethernet
NAME=ens33
重启服务
[root@localhost network-scripts]# systemctl restart network
方法2:图形化界面配置
[root@l