Score:1

QEMU VM network bridge in WLAN/Wifi

ws flag

Host (Ubuntu 22.04.1 LTS) is connected through WLAN/Wifi.

My goal:

  • QEMU VM (Linux Kernel created with buildroot) has it's own local IP address, host can reach VM through this IP address
  • it doesn't matter, if the VM has internet or is reachable from somewhere else than the host
  • host has a separate IP address, therefore NAT is unsuitable

Just creating a bridge using network manager is not suitable, because I only have WLAN:

Note that a bridge cannot be established over Wi-Fi networks operating in Ad-Hoc or Infrastructure modes. This is due to the IEEE 802.11 standard that specifies the use of 3-address frames in Wi-Fi for the efficient use of airtime.

Source

This tutorial is maybe my solution, but it is written for Gentoo. https://wiki.gentoo.org/wiki/QEMU/Bridge_with_Wifi_Routing

Is there a similar ubuntu config file "etc/conf.d/net"? Is it possible, to apply this tutorial on ubuntu?

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.