?
Solved

Using Hyper-V with different virtual subnets

Posted on 2010-09-01
8
Medium Priority
?
707 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 2000 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33586123
From the host or the VM?
0
 

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
A look into Log Analysis and Effective Critical Alerting.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

770 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