Page 1 of 1

virtual guest as a stand alone server

Posted: 9. May 2016, 00:59
by Freemind
Hi all

I have a question about VB guest.

I have a local working group I want to turn into a private domain.
This group have a couple of PCs in two subnets: First subnet is 10.0.0.x and second is 10.0.1.x.
One router/gateway is 10.0.0.1 and it is in the first subnet. This router connects to internet (via modem). Second router is in second subnet, its wan port connected to 10.0.0.1 with static ip 10.0.0.2. Its inside ethernet side gateway is 10.0.1.1

Now there are couple of PCs in first subnet and some PCs in second subent.
Now, in one PC I installed VirtualBox and install a CentOS in a guest machine. I want this guest acting as a stand alone server for DNS , domain server and web server. I want this virtual server can be seen from both subnet's PC and all those PC's can join the private domain. So this virtual server must have a static IP. Since the host PC is in second subnet. and its IP also is configured as static, say 10.0.1.2. I want this virtual server's IP address to be static 10.0.1.3 as well, Can I? Or give its static IP as 10.0.2.1 as another subnet. I want that from other PCs in both subnets, this virtual server looks /acts like just a standalone server. Can I?

How to setup VB's network? Using Bridge mode? Any configuration for "VirtualBox Host-Only Network" at host side?
How to configure network in the Virtual server?

Thanks a lot

Re: virtual guest as a stand alone server

Posted: 9. May 2016, 07:18
by BillG
Not much of that has anything to do with VirtualBox. The only reasonable way for the vms to communicate is to run them in bridged mode. They will then behave just like physical machines connected to the same network as the host they run on.

All the rest is a networking problem which has nothing to do with VirtualBox at all.