Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connecting 2 VMware Workstation Environment Together

Posted on 2015-02-21
14
Medium Priority
?
580 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 3
  • +1
14 Comments
 
LVL 37

Assisted Solution

by:bbao
bbao earned 996 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 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 252 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 97

Assisted Solution

by:John Hurst
John Hurst earned 752 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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 97

Assisted Solution

by:John Hurst
John Hurst earned 752 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 996 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 97

Assisted Solution

by:John Hurst
John Hurst earned 752 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 996 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 996 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

715 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