Solved

Hyper-V virtual network question

Posted on 2013-01-02
11
341 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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
Comment Utility
Then that should do it.  Do you have multiple NICs or just one?
0
 
LVL 14

Author Comment

by:Ben Hart
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 14

Author Comment

by:Ben Hart
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
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…

771 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

15 Experts available now in Live!

Get 1:1 Help Now