Solved

Hyper-V virtual network question

Posted on 2013-01-02
11
350 Views
Last Modified: 2014-11-12
Scenario:

1 Hyper-V host running 08 R2, it's primary nic is on a 10.2.1 subnet.  It will house VM's that need to be addressed on a 10.2.3 subnet.  But since the host is 10.2.1 what is the best way to setup the virtual network so clients can access to vm's on 10.2.3 and I can still access the host on 10.2.1?
0
Comment
Question by:Ben Hart
11 Comments
 
LVL 119
ID: 38736473
you can create a network switch for your new network, but do you have a router between the different subnets?
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 38736515
There is a layer 3 core switch here that's the GW for all subnets at this site.
0
 
LVL 95

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 250 total points
ID: 38736663
Then that should do it.  Do you have multiple NICs or just one?
0
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)

 
LVL 14

Author Comment

by:Ben Hart
ID: 38736747
Dual on-board nics.  So all involved is creating a virtual network under the virtual network manager.. would it be external, internal or private?
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 250 total points
ID: 38737218
One way to accomplish that is to create a new external virtual adapter from unused NIC and use that virtual adapter in the VM. Don’t forget to disable “Allow management operating system to share this network adapter” option for it.

On the other end (the physical layer 3 switch) you will have to configure the routing between both subnets.

---

If it’s for testing purposes only, you could use virtual router based on Vyatta Linux, for example: in this case, you will have to create a VM with two NICs: one connected to the external virtual adapter shared with the host and another to a private virtual adapter shared with the VM. Vyatta can do the routing. Do not use this in production environment, it’s a slow router.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 38737234
do you set the switch port for your primary nic (the one thats used by the os) as a trunk or as a normal port?
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38737275
It’s should be a normal access port. The other one, where the second physical NIC is connected too but it must be in different VLAN on the switch. Then you will need to find out how to configure the routing between both VLANs: the default VLAN (where the first server NIC is connected) and the new VLAN. Generally, you need a router to do it but it can be done on a layer 3 switch also depending on the switch OS.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 38737282
The routing is already in place as these are established vlans.. my confusion was on the proper networking config on the hyper-v boxes themselves..
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38737291
I would suggest searching Internet for “Hyper-V 2008 R2 networking” – there are many examples, one may be suitable for your situation. The option “Allow management operating system to share this network adapter” appears in Hyper-V 2008 R2 only.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 38738152
Certainly.. except you get a literal ton of crap that's not related too.  I had thought posting here would be easier and faster.
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 38738571
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

832 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