NAT network service

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
REL
Posts: 2
Joined: 22. Nov 2015, 12:39

NAT network service

Post by REL »

Hi,
I am trying to set the following:
I need some Windows Guest VMs on my MAC host which should use NAT network services to interconnect. I want to assign fixed IPs to the guest machines in order to make the connection independent from where I connect to the internet (yes, I am on a macbook).
For some reason (in which I am interested in) I cannot connect from my host to the VMs.

Please advise,

Areil
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: NAT network service

Post by mpack »

VMs on a NAT network are already independant of how the host connects, so your question is misplaced IMHO. You should not mess with the IP assignment in a NAT VM.
REL
Posts: 2
Joined: 22. Nov 2015, 12:39

Re: NAT network service

Post by REL »

could you please elaborate:

I need constant access to my VMs from my host as well as between the VMs.

If I work in bridged mode they receive always new IPs and I cannot refer to them the same way.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: NAT network service

Post by mpack »

I mean that VMs which use NAT are assigned IP addresses by the VirtualBox NAT DHCP server, not by the physical network. So, don't mess with the IP addresses.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: NAT network service

Post by Perryg »

Given your request I would simply add a second virtual adapter to the the guest set to host-only. This allows the host <> guest communications whether there is a network connection or not.
See chapter 6 Virtual networking in your VirtualBox users manual.
Post Reply