Solved

Hyper-V How to Privately Route

Posted on 2010-11-26
3
766 Views
Last Modified: 2012-05-10
I have a hadfull of DC's I have created images of to put in a virtual environment using Hyper-V however, each of these Physical DC's were in different sites, and were on different subnets, but were routed.

I would like to replicate this in a virtual environment keeping their IP's the same, but somehow creating a virtual router.  How would I go about doing this.  I am working with 3 DC's each in a different Site, and I would like to keep the virtual network they are all using set to "Private" in Hyper-V.  There is no need for them to communicate with the host OS as this is a lab setup for testing.

Site 1 DC-01
---------------
IP:     10.0.2.22 / 24
DG:  10.0.2.1


Site 2 DC-02
---------------
IP:     10.4.0.10 / 16
DG:  10.4.0.1


Site 3 DC-03
---------------
IP:     10.2.0.10 / 16
DG:  10.2.0.1

Any help you can give would be great!  I have read a little about setting up a RAS but havent done it before.  Though again I'd like to do this all "Virtually" if possible.
0
Comment
Question by:NoodlesWIU
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 34219212
You are going to have to put all of them on the same Hyper-V host. Create 3 private virtual networks, Site1, Site2, and Site3. Attach each VM guest to the correct network. Create a 4th Windows Server VM, and configure it with 3 NICS, one connected to each network. Configure its interfaces to be 10.0.2.1, 10.4.0.1, and 10.2.0.1. Install RRAS and configure it to do LAN routing, and you should be in business.
0
 
LVL 3

Author Comment

by:NoodlesWIU
ID: 34219453
Awesome, I was planning all on the same host, and thought this would be my setup.  Though I have one question. Theoretically could I just put one NIC on the RRAS VM and assign it multiple IP's on different subnets to be in the same networks as each of the sites?  Having 3 NIC's is just as easy, but im curious from a learning standpoint if the same could be accomplished with one NIC.  Thanks for your help.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34219500
The single NIC should work, assuming that RRAs doesn't complain. That's not quite as good of a model because the 3 DCs would be able to see Ethernet broadcasts from each other, which they would not be able to do on your real life WAN. If you were to add a client that used DHCP and each DC had DHCP installed, you wouldn't be able to controll which DHCP server handed out the IP address.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

830 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