Allow 2 VMs from different subnet to communicate RRS feed

  • Question

  • Hi Hyper V Expert,

    I have the VM Test environment using Hyper V. I am using Windows Server 2012 as the Hyper V Host. Within this Host, I have configured one VM as the AD with preinstalled Windows Server 2008 SP2. This AD is up and running properly. this VM is connected to a virtual switch called "Switch1". the connection type  is internal network, means that there is no connection to the external network and there is no traffic going out. Now, I would like to do a test of intersite AD replication using my VM Test environment. in this case, I have created another virtual switch called "Switch2" and I have built another VM attached to "Switch2". how should I create the routing to allow both of the VM connected to different virtual switch to communicate with each other just like the VPN over WAN? However, need to ensure that the routing won't disturb or affect any routing in the external network. it must be within the VM test environment only.

    Please advise.



    Monday, November 10, 2014 9:33 AM


  • For Hyper-V Questions, the best place is here:  https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv

    Its the Hyper-V forum, this forum is for the specific product Virtual Server 2005.

    As for routing, you'd do it just like you would with two physical networks, that the two you are working with are virtual doesn't change anything.  Add a simple Linux VM with routing or install another VM with interfaces to both your networks and use RRAS

    If both your virtual switches are internal, then you don't need to worry about your internal routing affecting your external network.

    • Marked as answer by Henry2050 Monday, November 17, 2014 2:42 AM
    Monday, November 10, 2014 5:46 PM