Solved

Hyper-V virtual switch card config

Posted on 2016-08-23
3
108 Views
Last Modified: 2016-08-24
This server host is 2012r2, as well as all its (not installed yet) VMs the same. It has multiple network cards.
I installed the host and configured all network adapters with static IPs.
Then I installed Hype-V role and checked a physical card for each of the VMs, leaving the rest for the host.
Now each checked card is linked to a virtual switch created automatically.
Then I go to Virtual Switch Manager and uncheck the "Share with host..." for each switch, so that its card is used exclusively by its VM.

But...
Now if I go to properties of such a "switch" card (on the host), I don't have access anymore to network properties (IP, mask, etc.). Only the Hyper-V is checked, and the rest cannot be accessed.

Anyone can explain why?
Shouldn't one be able to configure the card? I understand that connecting to the VM will use the address of the virtual NIC... but does this mean the physical card has no address at all?? I thought the physical card is like an uplink to the switch, am i wrong?
0
Comment
Question by:campinam
[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
3 Comments
 
LVL 81

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 100 total points
ID: 41768149
a virtual switch doesn't really have an ip address. Share with host you configure the ip address on the host otherwise you configure it on the virtual machine. For instance for 1 external NIC managed with the host it gets a dhcp address of 192.168.0.100 yet the virtual machine will get another ip address using dhcp.

It only gets more confusing if you add virtual machine manager to the mix because you have logical networks and physical networks. Two different tenants can have logical networks of 192.168.0/24 and be connected to the same actual NIC yet there traffic will be transparent to each other (meaning that tenant 1 will not be able to access tenant 2 even though as far as they are concerned they are in the same subnet.
1
 
LVL 58

Accepted Solution

by:
Cliff Galiher earned 400 total points
ID: 41768204
Binding a NIC to a virtual switch does (properly) disable most of the NIC settings on the host. That is by design. The NIC effectively becomes just a port on the switch, and like any other unmanaged physical switch, does not concern itself with IP layer stuff. So what you've described is expected behavior.
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 41769201
My EE article Some Hyper-V Hardware and Software Best Practices should help with a lot of these kinds of questions.

Team two ports, preferably on different physical NICs, and bind a static IP to that team. That's your management access.

Then, create at least one more team for the virtual switch (vSwitch). We prefer to _not_ share this team with the host OS just as you have. The TCP/IP stack gets completely hidden to the host OS. This is as it should be.
0

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

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.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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