I created a new network – called virbr1
<network connections="1"> <name>virbr1</name> <uuid>a4ca0fc9-06e7-4ad6-8fad-e8b1865a6877</uuid> <forward mode="nat"> <nat> <port start="1024" end="65535"/> </nat> </forward> <bridge name="virbr1" stp="on" delay="0"/> <mac address="52:54:00:b7:af:d0"/> <domain name="virbr1"/> <ip address="192.168.100.1" netmask="255.255.255.0"> <dhcp> <range start="192.168.100.128" end="192.168.100.254"/> </dhcp> </ip> </network>allow virbr0<br />allow br0<br />allow virbr1
Note: in order to add a network with virt-manager gui one must run as root.
When I connected a VM to this – I got the following error:
usr/libexec/qemu-bridge-helper --use-vnet --br=virbr1 --fd=41: failed to communicate with bridge helper: stderr=> : Transport endpoint is not connected
In the gui – it says “access denied by acl file
Error starting domain: /usr/libexec/qemu-bridge-helper --use-vnet --br=virbr1 --fd=41: failed to communicate with bridge helper: stderr=access denied by acl file : Transport endpoint is not connected
The solution is the to edit the /etc/qemu/bridge.conf. Add allow virbr1. this allows non-root users to access the bridge
allow virbr0 allow br0 allow virbr1