[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 773
  • Last Modified:

Hyper-V How to Privately Route

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
NoodlesWIU
Asked:
NoodlesWIU
  • 2
1 Solution
 
kevinhsiehCommented:
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
 
NoodlesWIUAuthor Commented:
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
 
kevinhsiehCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now