Solved

Connecting 2 VMware Workstation Environment Together

Posted on 2015-02-21
14
276 Views
Last Modified: 2015-03-03
Due to lack of hardware on one of my laptop, I need to connect 2 VMware Workstation 10 on 2 laptops together so I can build my Domain with SCCM installed. What do I need to do to accomplish this task? Do I need a router to do this? If so, how do I set up the router?
0
Comment
Question by:dongocdung
  • 5
  • 5
  • 3
  • +1
14 Comments
 
LVL 37

Assisted Solution

by:bbao
bbao earned 249 total points
ID: 40623889
just put both laptops on the same subnet better via a crossover cable for a high-speed wired connection though wireless connection is also fine if inter-VM communication is not that intensive.

for each VM to talk to other VMs, they need to switch their NIC mode to Bridged (not NAT or Local Host), and make sure they are having the IPs on the same subnet.
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 63 total points
ID: 40624078
To make things simple maje sure ALL VMs on both hosts laptops are connected to the LAN in bridged networking.

Modern laptops do not need a cross over cable or simple hub or switch will suffice!

No router or router configuration required unless you have a complex Nat or Host only config!
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 188 total points
ID: 40624150
As Andrew has noted, I have done this by connecting the virtual machines using an external router (or switch). My router is a switch and has the DHCP server for networking.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:dongocdung
ID: 40624892
If my IP on one VM on host 1 is 10.0.0.1 and subnet is 255.255.255.0 and IP on the other VM on host 2 is 10.0.0.2 and subnet is 255.255.255.0 then what will be the default gateway. Do I have to configure a default gateway for my network?
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 188 total points
ID: 40624916
If your two hosts are on the same router and subnet AND if your machines are using Bridged networking, then they will all be on the same subnet.

Using NAT (Default) will lead to multiple subnets, so use Bridged for sure.
0
 
LVL 37

Assisted Solution

by:bbao
bbao earned 249 total points
ID: 40624923
> Do I have to configure a default gateway for my network?

the two hosts are on the same subnet and they should be able to talk to each other.

if the two hosts have no need to access the internet, you don't need to configure the default gateway for them, as they are already on the same subnet and no routing is required here.
0
 

Author Comment

by:dongocdung
ID: 40625013
Is it possible to configure VMs on both hosts with custom virtual network (not bridged) connecting to each other?
0
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 188 total points
ID: 40625016
NAT will use different subnets and make life complicated for you. Set both to Bridged for simpler setup. At least test this way to see how it works for you.
0
 
LVL 37

Assisted Solution

by:bbao
bbao earned 249 total points
ID: 40625042
> Is it possible to configure VMs on both hosts with custom virtual network (not bridged) connecting to each other?

NO.

the other options (NAT and Local Host) will assign your VM's NIC to an in-machine network so it is impossible for the VM to talk to other VMs running in another physical host.
0
 

Author Comment

by:dongocdung
ID: 40627328
I tried to put the 2 hosts on the same subnet but I saw 4 different network adapters on host 1 (Ethernet, VMware Network adapter VMnet1, VMware Network adapter VMnet8, Wifi) and 3 network adapter on host 2 (VMware Network VMnet1, VMware Network VMnet8, Wifi). Which adapter should I configure?
0
 
LVL 37

Assisted Solution

by:bbao
bbao earned 249 total points
ID: 40627381
> I then configured the VM1 on host 1 with 10.0.0.1 and 255.255.255
> and VM2 on host 2 with 10.0.0.1 and
255.255.255.0

Of course they cannot talk to each other as the two VMs are sharing the exact same IP addresss - 10.0.0.1.

BTW, i think it should be a typo for VM1's mask as the '0' at the end is missing.
0
 

Accepted Solution

by:
dongocdung earned 0 total points
ID: 40628061
Bbao - I have modified the previous comment. Please take a look
0
 
LVL 37

Expert Comment

by:bbao
ID: 40630228
please don't close this question as i think we are approaching the final answer.

per the author's previously modified comment, i speculate the issue is caused by unspecified adapter in Bridged mode. running VMware's Virtual Network Editor can fix this issue.

as host1 has two physical network adapters (LAN and WLAN) and the VM's NIC is set to Bridged mode, hence the VMware engine has to choose one of the physical adapters for automatic bridging, but i might be NOT the adapter you preferred.

to ensure the Bridged mode choose your desired adapter, run VMware Virtual Network Editor and change the adapter setting for Bridged mode from Automatic to the specific adapter.

FYI - Configuring Bridged Networking
https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-BAFA66C3-81F0-4FCA-84C4-D9F7D258A60A.html

moreover, better double check the same thing against host2 to make sure only the desired adapters to be used for connecting the two VMWare Workstations.
0
 

Author Closing Comment

by:dongocdung
ID: 40641523
Good tips
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question