Answered by:
Create a new port/ New Virtual network adapter

Question
-
Hi
I have a on Nic team . I need to create multiple Hyper-V virtual network adapters on the host . I can only create one virtual switch. It doesn't let me create multiple virtual switches on one team . Is there anyway I can create multiple Nics host OS.
Thanks
mumtaz
Answers
-
You should use a nic team in an ideal world rather than a team .
Which can be achieved by the below script. This assumes Team1 is the name of your nic team. Rest of the stuff is all created automatically .
I haven't tried this on a single nic . I presume this is also achievable .
New-VMSwitch -Name "VMNET" -MinimumBandwidthMode Weight -NetAdapterName "Team1"
Rename-VMNetworkAdapter -ManagementOS -Name "VMNET" -NewName "server2"
Add-VMNetworkAdapter -ManagementOS -Name "Cluster" -SwitchName "VMNET"
Add-VMNetworkAdapter -ManagementOS -Name "Migration" -SwitchName "VMNET"
Add-VMNetworkAdapter -ManagementOS -Name "ISCSI" -SwitchName "VMNET"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "server2" -Access -VlanId "317"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "ISCSI" -Access -VlanId "110"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Migration" -Access -VlanId "24"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Cluster" -Access -VlanId "26"Set-VMNetworkAdapter -ManagementOS -Name "server2" -MinimumBandwidthWeight "5"
Set-VMNetworkAdapter -ManagementOS -Name "Cluster" -MinimumBandwidthWeight "20"
Set-VMNetworkAdapter -ManagementOS -Name "Migration" -MinimumBandwidthWeight "30"
Set-VMNetworkAdapter -ManagementOS -Name "ISCSI" -MinimumBandwidthWeight "30"
Set-VMSwitch "VMNET" -DefaultFlowMinimumBandwidthWeight "10"- Edited by mumtaz khan MS Thursday, August 15, 2013 1:07 PM
- Marked as answer by Jeremy_WuModerator Sunday, August 25, 2013 2:39 AM
-
Thanks Jeremey
Here is solution that explains how tio create host profile
http://www.hyper-v.nu/archives/hvredevoort/2011/04/scvmm-2012-preparing-the-host-profile/
mumtaz
- Marked as answer by Jeremy_WuModerator Sunday, August 25, 2013 2:39 AM
All replies
-
Just to clarify I want to know how to create tNics referred in this http://technet.microsoft.com/en-us/library/hh831648.aspx
Thanks
- Marked as answer by mumtaz khan MS Thursday, August 15, 2013 9:36 AM
- Unmarked as answer by mumtaz khan MS Thursday, August 15, 2013 9:36 AM
-
You should use a nic team in an ideal world rather than a team .
Which can be achieved by the below script. This assumes Team1 is the name of your nic team. Rest of the stuff is all created automatically .
I haven't tried this on a single nic . I presume this is also achievable .
New-VMSwitch -Name "VMNET" -MinimumBandwidthMode Weight -NetAdapterName "Team1"
Rename-VMNetworkAdapter -ManagementOS -Name "VMNET" -NewName "server2"
Add-VMNetworkAdapter -ManagementOS -Name "Cluster" -SwitchName "VMNET"
Add-VMNetworkAdapter -ManagementOS -Name "Migration" -SwitchName "VMNET"
Add-VMNetworkAdapter -ManagementOS -Name "ISCSI" -SwitchName "VMNET"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "server2" -Access -VlanId "317"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "ISCSI" -Access -VlanId "110"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Migration" -Access -VlanId "24"
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Cluster" -Access -VlanId "26"Set-VMNetworkAdapter -ManagementOS -Name "server2" -MinimumBandwidthWeight "5"
Set-VMNetworkAdapter -ManagementOS -Name "Cluster" -MinimumBandwidthWeight "20"
Set-VMNetworkAdapter -ManagementOS -Name "Migration" -MinimumBandwidthWeight "30"
Set-VMNetworkAdapter -ManagementOS -Name "ISCSI" -MinimumBandwidthWeight "30"
Set-VMSwitch "VMNET" -DefaultFlowMinimumBandwidthWeight "10"- Edited by mumtaz khan MS Thursday, August 15, 2013 1:07 PM
- Marked as answer by Jeremy_WuModerator Sunday, August 25, 2013 2:39 AM
-
-
-
-
Hi mumtaz,
As far as I know, there is no such setting.
However, you can try to post the question in our SCVMM forum for a workaround.
SCVMM forum
http://social.technet.microsoft.com/Forums/systemcenter/en-US/home?category=virtualmachinemanager
Thanks.
Best Regards
Jeremy Wu -
Thanks Jeremey
Here is solution that explains how tio create host profile
http://www.hyper-v.nu/archives/hvredevoort/2011/04/scvmm-2012-preparing-the-host-profile/
mumtaz
- Marked as answer by Jeremy_WuModerator Sunday, August 25, 2013 2:39 AM