Connecting 2 VMware Workstation Environment Together

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?
dongocdungAsked:
Who is Participating?
 
dongocdungConnect With a Mentor Author Commented:
Bbao - I have modified the previous comment. Please take a look
0
 
bbaoConnect With a Mentor IT ConsultantCommented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
John HurstConnect With a Mentor Business Consultant (Owner)Commented:
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
 
dongocdungAuthor Commented:
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
 
John HurstConnect With a Mentor Business Consultant (Owner)Commented:
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
 
bbaoConnect With a Mentor IT ConsultantCommented:
> 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
 
dongocdungAuthor Commented:
Is it possible to configure VMs on both hosts with custom virtual network (not bridged) connecting to each other?
0
 
John HurstConnect With a Mentor Business Consultant (Owner)Commented:
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
 
bbaoConnect With a Mentor IT ConsultantCommented:
> 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
 
dongocdungAuthor Commented:
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
 
bbaoConnect With a Mentor IT ConsultantCommented:
> 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
 
bbaoIT ConsultantCommented:
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
 
dongocdungAuthor Commented:
Good tips
0
All Courses

From novice to tech pro — start learning today.