Score:1

Bridged network on Ubuntu Server 22.04.1 LTS

vc flag

I'm trying to set up a couple of VM's with KVM/Qemu. They are supposed to be on the same network as the host. I have tried out a couple of guides found on the internet but to no avail.

Will someone please tell me how to do it?

Best regards

Doug Smythies avatar
gn flag
I have a couple of possible helpful answers, [here](https://askubuntu.com/questions/638162/kvm-network-bridge-to-assign-static-ip/638269#638269) and [here](https://askubuntu.com/questions/1412503/setting-up-a-bridge-for-host-and-vm/1412973#1412973).
mccleod48 avatar
vc flag
Both of them are unsuitable for my setup. It's a DHCP situation. No staic IP's.
Doug Smythies avatar
gn flag
O.K. the one I pointed you to for [this same question over on Ubuntu forums](https://ubuntuforums.org/showthread.php?t=2480450) was [for dhcp](https://ubuntuforums.org/showthread.php?t=2461631&p=14036896#post14036896)
user535733 avatar
cn flag
Please add important information (like dhcp) to your question above. Volunteers donate their time and effort to help you, so make that donation worthwhile.
Score:0
in flag

I have done this setup, and it worked before I restarted the host machine. So technically it's correct. Please try this and see if it works for you.

Essentially it boils down to this:

  1. Create a bridge using nm-connection-editor.
  2. Join the network interface on the host to the bridge.
  3. Remove the existing libvirt network and create a new one using this bridge as basis
  4. Select "Virtual network: bridged network" in the Virtual Machine Manager guest config or use the quivalent cli commands.

The bridge becomes invisible to the guest and host.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.