1

I want to make my virtual machines visible in LAN using the 192.168.1.0/24 ip addresses as if they are a separate device in my LAN. Every tutorial I find has instructions about how to do it via ethernet wired connection, but I want this to happen using WiFi wireless connection. I want to achieve the bridged connection Virtual Box makes with qemu/kvm virt-manager.

The closest thing I found is in this answer where it says that wireless is possible but not the same way as wired. So what is that other way? Any help please?

cgeopapa
  • 11
  • 2
  • The possible way with wireless is using NATed networking I stead of a bridge. – dyasny Jul 15 '21 at 02:44
  • But by using NAT will my VMs be visible in my LAN? I want to set up a firewall in my VM. Is a NATed network what I'm looking for? – cgeopapa Jul 16 '21 at 05:08
  • Not really, no. But that's a limitation of wifi, it doesn't support promiscuous mode required for a bridge. You might make do with openvswitch, but I haven't tried it personally – dyasny Jul 16 '21 at 21:36
  • See this related Q/A where I made an answer that explains a STAtion client wireless interface set as STAtion client (rather than Access Point) can't be bridged, most of the time: https://unix.stackexchange.com/questions/554331/theoretical-tap-interface-w-wifi-parent-interface – A.B Oct 13 '21 at 20:39
  • I am also trying to bridge virt-manager with WiFi adapter, and have found it should be possible. Debian wiki mentions ebtables: https://wiki.debian.org/BridgeNetworkConnections#Bridging_with_a_wireless_NIC However, I am also reading ebtables has been superseded by nftables: https://netfilter.org/projects/nftables/index.html: Quote: "**nftables** replaces the popular **{ip,ip6,arp,eb}tables**." The wiki page also got a script for manually configuring each ebtables rules when bridging with WiFi, so I suspect it should be a way to script this this each guest OS that should use a WiFi bridge. If s – Kenneth Aug 28 '22 at 21:41

0 Answers0