NYCPHP Meetup

NYPHP.org

[nycphp-talk] Virtualbox as a dev environment

Gary Mort garyamort at gmail.com
Fri Sep 2 16:22:19 EDT 2011


On 9/2/2011 1:27 PM, Yitzchak Schaffer wrote:
>
> You can set up the networking to bridge to the host OS's connection, 
> or to use a NAT subnet within the workstation. That is, your host 
> workstation can communicate with the VM, but other machines cannot. 
> I'm not a network guy, so sorry if my explanation is rubbish :)

Nope, makes perfect sense.  Question: can you do both?

That's how I have my virtualBox setup.  It gets 2 adapters.  Adapter 1 
is a bridge to the host OS's connection - and I don't run any servers on 
that interface.  Adapter 2 is an internal adapter is an internal only 
virtual network.  My host system has a virtual adapter connected to it, 
and every VM I run will also get a virtual adapter connected to it.

Mainly this means I can have everything up and running regardless of the 
status of my "real" network as my virtual network is always running.




More information about the talk mailing list
Automatic Email Organization without missing anything!