Connecting Mac OS Guest to Mac Host Internet

Discussions related to using VirtualBox on Mac OS X hosts.

Connecting Mac OS Guest to Mac Host Internet

Postby JL1 » 4. Aug 2021, 23:19

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.
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

Re: Connecting Mac OS Guest to Mac Host Internet

Postby granada29 » 5. Aug 2021, 00:51

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.
granada29
Volunteer
 
Posts: 348
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

Postby mpack » 5. Aug 2021, 10:24

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.
mpack
Site Moderator
 
Posts: 34922
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 19 guests