Search code examples
network-programmingsimulationvirtual-machinelan

virtual networking on single machine


Is it possible to run more than one virtual machines on my PC using virtual box/ vmware/ virtual pc etc and connecting all of them together? So if i write an application like a chat program or something else, it treats running image as separate machine. All machines should have different IP addresses and they could have different OS as well.

Please tell me how can i do this.


Solution

  • You will have to start with a machine that has loads of RAM and CPU power. Other than that there is nothing difficult. All you have to do is install virtual box(Freely available) And download several Linux flavors(You can use windows too) mount the drives in virtual box and start creating the machines. You can start all of them together if you want to and they will have different IP addresses.

    Read http://forums.virtualbox.org/viewtopic.php?p=33943#33943

    http://www.virtualbox.org/manual/ch02.html

    http://www.virtualbox.org/manual/ch03.html

    Finally http://www.virtualbox.org/manual/ch06.html#network_internal