Connecting Mac OS Guest to Mac Host Internet

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
JL1
Posts: 4
Joined: 27. Nov 2018, 17:58
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Big Sur, Win 10, Win Server 2016

Connecting Mac OS Guest to Mac Host Internet

Post by JL1 »

Is there a procedure to have a Mac VM access the Internet through the Mac host?

Is this even possible? I’m guessing that it isn’t given the paucity of information about it.
granada29
Volunteer
Posts: 687
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Connecting Mac OS Guest to Mac Host Internet

Post by granada29 »

Definitely. The VM is just another machine in your network. My preferred setup is to use bridged networking in the VirtualBox network settings and let the DHCP server on my lan assign the address. There are a number of network setups which are all pretty well explained in Section 6 of the VirtualBox manual.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Connecting Mac OS Guest to Mac Host Internet

Post by mpack »

JL1 wrote:I’m guessing that it isn’t given the paucity of information about it.
That would be a bad guess. There are a lot of topics NOT covered on these forums because they're unaffected by running in a VM.

There is plenty of coverage in the user manual and in the howto section here of the various networking modes provided by VirtualBox. Go have a look. Pay particular attention to Bridged Networking mode as Granada indicated: this makes your VM a full participant on the host network, but works best on a LAN connection.
Post Reply