If using [VirtualBpx](/linux/virtual/virtual-box), see [this serverfault question](https://serverfault.com/questions/839443/giving-the-vm-an-own-ip-address). Select *Bridged Adapter* in the Network→Adapter settings. If using [KVM](/linux/virtual/kvm), see [this serverfault question](https://serverfault.com/questions/1098802/assigning-a-public-ipv4-automatically-to-every-kvm-vm-thats-being-created) and [this unix.stackexchange question](https://unix.stackexchange.com/questions/245628/configure-public-ip-addresses-in-kvm-vms). This is significantly more complicated than the VirtualBox approach. There is also [this at golinuxcloud](https://www.golinuxcloud.com/configure-bridged-network-in-virt-manager/) for using `virt-manager`. This refers to [here for setting up a bridge](https://www.golinuxcloud.com/how-to-configure-network-bridge-nmtui-linux/). One suggestion there is `nmtui` which is a text UI for doing this sort of thing. Then with the bridge set up, you can add the bridge as a Virtual Network Adapter. ![](virt-manager-bridge-settings-001.webp)