Criando interfarce bridge
nmcli connection show
nmcli connection add type bridge ifname vms-br1 autoconnect yes
nmcli connection add type bridge-slave ifname ens3 master bridge-vms-br1 autoconnect yes
nmcli connection show
nmcli connection down "Wired connection 1"
nmcli connection up "bridge-vms-br1"
Definindo interface Bridge no Virsh para Virt-Manager
nano config-vms-br1.xml
<network>
<name>vms-br1</name>
<forward mode="bridge" />
<bridge name="vms-br1" />
</network>
virsh net-define config-vms-br1.xml
virsh net-start vms-br1
virsh net-autostart vms-br1
virsh net-list --all
Removendo interfaces criadas
Caso queira remover as interfaces criadas faça o seguinte procedimento;
virsh net-destroy vms-br1
virsh net-undefine vms-br1
nmcli connection delete bridge-vms-br1 bridge-slave-ens3
nmcli connection up "Wired connection 1"