I need to create a VirtualBox network that will connect some guest OS each other and with my host machine.
All the guests OS's will be configured to have static IP addresses in the same subnet and with the same gateway (tipically the host ip).
How can I achieve this?
EDIT April 6 2011
I have been able to create a virtual network of Win 2008 R2 Servers using the "Host Only" network mode and specifying static IP addresses for each server.
I am able to work with the servers from the host machine but I am not able to browse the internet from "every" guest machine in the network (3 virtual servers).
I have tried using the following methods:
- I have added a second NIC to every guest and configured this second NIC to have "Bridged networking". This solution works just for the first server that is in the network. Any other server it is not able to get a valid IP from the DHCP.
- I have configured the gateway of the servers being the virtual IP address assigned to the host machine. I know that this solution it's not correct and cannot work.