• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

creating a network with virtual machines on the same computer

how would I go about creating a network with virtual machines on the same computer?
for example having 3 virtual machines running on my computer, on a virtual network.
Many thanks
2 Solutions
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
What Virtual Product do you want to use, VMware Player?

You would install one of the following software Hypervisors, install 3 Virtual Machines, and ensure that NAT (networking the Default) is selected.

VMware Player 3.0 Free Download

VMware Server 2.0.2 Free Download

VMware Workstation 7.1.4 (60 day trial, $199)

Oracle Virtualbox 4.0

Parallels Desktop 4 for Windows

I would recommend Virtualbox or VMware Player for FREE.

LogMeIn Hamachi should work for you and is free for personal use: https://secure.logmein.com/products/hamachi/features.aspx

You can also check out NeoRouter which has a free version, even for business use: http://www.neorouter.com/products.html I haven't used NeoRouter before, but i looks like a good product.
Are you trying to manipulate the network and have the VMs using different subnets and such?  If not, VM Player is nice and simple.  If you need more robust ability to create the network (multiple virtual subnetworks, etc.) you will need VM Server or Workstation.  When you install any of these it creates new interfaces that act as a virtual switch.  There are then three options for each VMs network: Bridging, NAT, and host only.

The Bridging method would allow each VM to act as if it were on the same network as your host.  If you use DHCP, the VMs would get DHCP addresses just like your host and would be more like peers.  This is the default.

NAT, which would put all of the VMs on a private network unto themselves and your host would essentially act like your gateway, NATing their connection to your hosts internet/default gateway.  

Host Only would create a private network that allow your VMs to talk to each other, but they would not have access to or through your host.
Im using vmware workstation,and running multiple hosts on the same network,by selecting the Bridge option for all the NIC's.
Also an important option is VMCI,which allows virtual machines to cummunicate with the host and other virtual machines,it's located in the virtual machine settings,Options tab,and the "Guest Isolation",worth checking out.

Featured Post

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now