Virtual Networks for 2 VM's on the same physical machine

Posted on 2012-09-20
Medium Priority
Last Modified: 2012-09-27
I would like to get some pointers on how to setup Virtual Networks for most effective communication between two Virtual Machines on the same physical hardware.

My scenario is as follows:

- I have Server 2008 R2 with Hyper-V installed
- I have two guest machines installed on that server
- one of the machines is a Terminal Server that provides full desktop to multiple users
- second machine is a server that hosts QuickBooks data for users accessing it from Terminal Server desktops (first machine)

My goal is to setup the communication between those machines that it does not go through the LAN.

I am just starting with the Hyper-V and would like some advice on how to set this up so it is most efficient.
Question by:pyotrek
  • 2
  • 2
LVL 20

Accepted Solution

Svet Paperov earned 2000 total points
ID: 38420046
Create a virtual adapter from a physical NIC. Assign the same virtual adapter to both virtual machines. The virtual adapter is actually a virtual 10Gbit switch. That means, if both virtual machines are in the same IP network segment the traffic between them will not go out of the virtual server.

Here is some additional info:


Author Comment

ID: 38430726
If I understand correctly the Private network assigned to both machines will allow them to communicate through Virtual 10GB switch, but how those machines communicate to the rest of the network?
Users need to connect to the at least one of the Virtual Machines (the one that is Terminal server)
LVL 20

Assisted Solution

by:Svet Paperov
Svet Paperov earned 2000 total points
ID: 38431209
No, you don't create a Private but an External one. The virtual machines connected to it will communicate between them as it was via 10Gb switch.

Author Closing Comment

ID: 38440839
This is how I had it set up originally - your comments confirmed this for me - thank you

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hopefully if you are reading this article you have NOT attempted to use an old Hyper-V snapshot on a Domain Controller.  If you have, you're probably beyond frustrated as you have searched Google relentlessly only to find out that doing a snapshot o…
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
Integration Management Part 2
Loops Section Overview
Suggested Courses
Course of the Month16 days, 8 hours left to enroll

864 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