Solved

Using Hyper-V with different virtual subnets

Posted on 2010-09-01
8
638 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
Comment Utility
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
Comment Utility
Ok, let me look this over. Thanks for the speedy reply.
0
 

Author Comment

by:ovidbailey
Comment Utility
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
Comment Utility
From the host or the VM?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:ovidbailey
Comment Utility
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
Comment Utility
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
Comment Utility
Yes, that's correct.
0
 

Author Comment

by:ovidbailey
Comment Utility
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

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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 configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

763 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

7 Experts available now in Live!

Get 1:1 Help Now