In this post, you will learn how to enable Bridge Mode in Gnome-Boxes.
Gnome-Boxes is an excellent virtualization solution for those who want to test operating systems quickly without wasting time on complex configurations.
You know, why having waste of time, right?
It’s as simple as choosing the OS, defining RAM and disk space, selecting the ISO, and you’re ready to go.
However, this simplicity comes with a “price.”
Some useful functions – such as using the same IP range as the host computer (Bridge Mode) are not available by default.
While it’s not straightforward, it is possible to solve this.
Step 1: Install Virt-Manager
To enable the bridge function in Gnome-Boxes, we first need to install virt-manager.
On Debian/Ubuntu-based distributions, run:
sudo apt install virt-manager
Step 2: Terminal Configuration
Before using the tool, we need to configure a few things via the terminal.
First, check if the file /etc/qemu/bridge.conf exists on your distribution.
If it exists, edit it and add:
allow all or allow + bridge interfaces
Example:
allow virbr0 allow vbr0
Note: In my own tests, I used the allow all option to ensure it worked.

If the bridge.conf file or the qemu folder inside /etc does not exist, you must create them.
After creating them, run the following commands:
sudo chmod 755 -R /etc/qemu
sudo chmod u+s /usr/lib/qemu/qemu-bridge-helper
Step 3: Creating the Bridge Connection
Now, let’s create the bridge connection. In the terminal, run:
$ nmcli con add con-name vbr0 ifname vbr0 type bridge autoconnect yes ipv4.method auto
$ nmcli con add con-name vbr0-port ifname eth1 type ethernet slave-type bridge master vbr0 autoconnect yes
Note: Replace eth1 with your actual network interface name if it’s different.
Now, we need to activate it:
$ nmcli connection(to list your network connections)$ nmcli connection down eth1$ nmcli connection up vbr0
Step 4: Finalizing in Virt-Manager
Now we just need to define which network the Virtual Machine will use.
Open virt-manager (run it as your regular user, not sudo).
In the Virtual Machine Manager, select the VM you want to use with bridge mode and go to: Edit – Virtual Machine Details
Look for your Network Adapter (NIC) and click on Network Source. You will see options for User Mode (NAT) or “Specify shared device name” (Bridge).
Choose the Bridge option and enter the name of the bridge we created: vbr0. (You can choose any name, but it must match what you created in the terminal).
Click Apply, and you’re done!
Interested in Windows tips too? Check out our guide on“
Source: Fonte: https://www.reddit.com/
https://blog.christophersmart.com/
https://mike42.me/blog/2019-08-how-to-use-the-qemu-bridge-helper-on-debian-10
https://discussion.fedoraproject.org/t/virtual-machine-manager-bridged-network-why-so-complicated-to-achiev/38979