Solved

Using Hyper-V with different virtual subnets

Posted on 2010-09-01
8
669 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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.
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

828 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