Solved

Connecting 2 VMware Workstation Environment Together

Posted on 2015-02-21
14
214 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:Bing CISM / CISSP
Bing CISM / CISSP 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 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) 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 90

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
 

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 90

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:Bing CISM / CISSP
Bing CISM / CISSP 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 90

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:Bing CISM / CISSP
Bing CISM / CISSP 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:Bing CISM / CISSP
Bing CISM / CISSP 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:Bing CISM / CISSP
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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:

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now