Page 1 of 1

Development network with Win7 host and BSD guests

Posted: 21. Apr 2012, 02:10
by Toktik
Hi,

I want to setup network with 3 BSD guests to develop and test my "scalable" webapp. The problem currently I stuck on - misconfigured network.

I have fiber optic internet and ONT. My host computer is connected to him directly. I have 3 Guest OS's with Bridged Adapter attached to my physical ethernet interface. Currently I get dynamic public addresses for each guest, therefore I have 3 "problems".
1. I know that someday my ISP will limit my IP addresses count.
2. I dont want to be these hosts public
3. I want static addresses (because each time I need to reconfigure my app incase IP changed) => it should be local.

What I should do? How can I make virtual network and have access to internet from guests and Host<->Guests, Guest<->Guest access?

Thanks!

Re: Development network with Win7 host and BSD guests

Posted: 21. Apr 2012, 09:12
by BillG
The only way for the guests to have direct Internet access (and be accessible from the Internet) is for them to have a public IP (ie the current setup you have). You could have the guests and the host in the same network using the host only network but the guests would not have Internet access (unless you also gave them a second NIC configured as NAT).

Normally I would set up the vms on an internal network and use an additional vm as a router between this network and the physical network, as you would for a development network on physical machines. The internal network behaves just like a switch/hub. What networks the vms could access would depend on how you configured your router vm.