How to connect this two hosts together in two different subnet host-only interfaces in vmware ?

Hi I have two hosts, which are respectively connected to two different subnet host-only interface in vmware Workstation. How to connect this two hosts together?  that also means the two can ping each other after the connection. Is it possible ? Thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bryant SchaperCommented:
create a virtual router,like vyatta, and place a nic on each network.  But if they need to talk why are they on different networks.
eemoonAuthor Commented:
Thank you so much for your fast reply. Do you think vmware workstation has the function of virtual router ? if so, can you let me know where it is. Thank you again
Bryant SchaperCommented:
it does not, their are a few virtual appliances that are routers, vyatta is one.  I think you can do it on Linux too
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

eemoonAuthor Commented:
It was said that windows server itself could be considered as a router and has router function. I do not know if the PC have the same function. If so, the host PC should be able to connect the its interface of the virtual hosts outside vmware.
Bryant SchaperCommented:
possibly, I use a router appliance
eemoonAuthor Commented:
Yes, Workstation should not have router function. How about ESX vmware itself ? Thank you
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No, there is no routing in VMware Workstation, you will need to use a virtual machine as a router.

try Freesco -
eemoonAuthor Commented:
How about ESX vmware itself ?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You would need to use the same virtual router ESXi has no virtual router.

But ESXi is easier to network configure than Workstations.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.