Solved

Using Hyper-V with different virtual subnets

Posted on 2010-09-01
8
652 Views
Last Modified: 2012-05-10
I'm a newbie on Hyper-V.
I have three virtual machines on a box with two NIC's. The VM's and host are all 2008R2.
They are set up as follows:
Host Hyper-Vmachine: NIC 1 192.168.1.10/24
Virtual DC1: NIC1 192.168.1.11/24
Virtual DC2: NIC1: 192.168.1.12/24

What I want to do is to set up the third virtual machine (Virtual DC3) in a different subnet (e.g., 192.168.2.0/24) so that I can create a different site for AD testing.

Can I do that? If so,
(a) what address do I use for the second physical card?
(b) what address do I use for the Virtual DC3 virtual card?
(c) do I need to create another VM running ISA or Forefront?

Thanks in advance.
0
Comment
Question by:ovidbailey
  • 5
  • 3
8 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 500 total points
ID: 33578667
Well the questions can be answered differently depending on your hardware please read over.

http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/03/10/vlan-settings-and-hyper-v.aspx

http://blogs.msdn.com/b/adamfazio/archive/2008/11/14/understanding-hyper-v-vlans.aspx

Now you can just use a physical network card to seperate as well.
0
 

Author Comment

by:ovidbailey
ID: 33578704
Ok, let me look this over. Thanks for the speedy reply.
0
 

Author Comment

by:ovidbailey
ID: 33583454
For now, I'm going to try it with just the second NIC; I added a router between that NIC and the other network.

But I think I have something fundamentally wrong (maybe an issue with multi-homing on my actual machine).
Physical network 1Gig: 192.168.33.11 for the NIC and GW is 192.168.33.2
Everything works fine for the physical and virtual machines connected here.

Physical network 10/100: 192.168.1.11 for the NIC and GW is 192.168.1.1
When I uninstall the NIC and bound virtual network, then reinstall and configure just the NIC, I can ping everything from the host machine.
But as soon as I add the Virtual Network bound to this NIC, I can ping the local address on the virtual and actual machines, but I can no longer ping the router/ gateway.

Gotta be missing something real obvious?
But
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33586123
From the host or the VM?
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:ovidbailey
ID: 33586233
Neither, actually. Everything is OK on the real and virtual NIC1 (192.168.33.0), but neither works on the 192.168.1.0 network. For host and virtual, I can ping the local address (e.g., 192.168.1.11 or 192.168.1.101), but can't ping the gateway for that host or VM (e,g,m 192.168.1.1).
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33586283
Well you should be able to add a NIC to a seperate subnet don't without issues. So, if you don't add the Virtual network you can ping the gateway?
0
 

Author Comment

by:ovidbailey
ID: 33588778
Yes, that's correct.
0
 

Author Comment

by:ovidbailey
ID: 33588804
Yeah, this didn't make sense to me either. Unless you have a real quick solution, I think I'll just set things up per your first post using the pure virtual LAN or connect to NIC1. I can forget about the second NIC for now and post a new question on that topic later if I don't get it figured out. Thanks for the help.
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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now