Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Shawn9977
Posts: 2
Joined: 13. Apr 2022, 08:11

Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Post by Shawn9977 »

Hello All

Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

my environment:
Host OS is win10
Guest VM OS is Ubuntu 20.04
VirtualBox is 6,1,24 version
when I choose Bridged Adapter mode, there is no IP address after I input ip addr show command on the terminal on Ubuntu20.04, so does not have the internet on Ubuntu.

Can someone guide me step by step on how to complete Bridged Adapter mode to access the internet under WIFI ?



Thanks
Attachments
Picture1.png
Picture1.png (33.54 KiB) Viewed 1200 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Post by mpack »

The VirtualBox version doesn't really matter for this question. Bridged Mode essentially inserts a soft network switch at the host NIC so that host and guest can share access to the underlying Ethernet card. The same feature may or may not work with WiFi cards depending on how the WiFi drivers are written. WiFi adapters don't need switches so technically the technology is incompatible, though some work anyway.

So there is no "step by step" that guarantees to get switch mode working with WiFi. If you have WiFi then there's a good chance it will not work. If possible use wired instead, e.g. use powerline adapters to create a wired path to your laptop bridge or whatever your PC is.
Shawn9977
Posts: 2
Joined: 13. Apr 2022, 08:11

Re: Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Post by Shawn9977 »

Currently, most laptops do not have cable ports for the internet, they only have wifi access to the internet. my laptop can not connect to a wired cable to the internet.

so no method for guest VM to work in bridged adapter mode to access the internet with WIFI?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Post by mpack »

Shawn9977 wrote:Currently, most laptops do not have cable ports for the internet, they only have wifi access to the internet. my laptop can not connect to a wired cable to the internet.
I don't use laptops myself, but it's my understanding that most have provision for a docking station that can be used in static situations, and that docking station will typically have mains power, USB ports, monitor ports - and at least one Ethernet port.

Also, USB/Ethernet adapters exist.
Shawn9977 wrote:so no method for guest VM to work in bridged adapter mode to access the internet with WIFI?
What would you suggest? We canna change the laws of physics - nor the capabilities of the WiFi adapters that you chose.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Can Bridged Adapter Networking mode work under WIFI on Virtual Box 6.1.24 on Win10

Post by scottgus1 »

Shawn9977 wrote:no method for guest VM to work in bridged adapter mode to access the internet with WIFI?
There is one possibility: try a correctly-set-up static IP address in the VM's OS on the adapter connecting through Bridged. Web-search how to set a correct static IP address in Ubuntu.

Please note that I have anecdotally face situations where the Linux VM OS did not respond to a new network setup, so you may have to shut down and restart the VM to fully test the setup after setting the static IP address.

If you try this, please report back your result. If the idea fails, please provide a "ipconfig /all" from Windows and "ip address" or "ifconfig" from Ubuntu.
Post Reply