Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using Hyper-V with different virtual subnets

Posted on 2010-09-01
8
Medium Priority
?
718 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

636 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