Need some help with my Hyper V Cluster configuration? Here is what I have setup to this point.
Windows 2012 R2 with HyperV and Failover Clustering configured. I have 4 network adapters created in a team I then created a Virtual Switch with that Team NIC I then created 4 VMnetworkadapters I used this Powershell to set all this up
New-VMSwitch “VSwitch” -MinimumBandwidthMode Weight -NetAdapterName “Team1" -AllowManagementOS $false
Add-VMNetworkAdapter -ManagementOS -Name “Management” -SwitchName “VSwitch”
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Management” -Access -VlanId 50
Set-VMNetworkAdapter -ManagementOS -Name “Management” -MinimumBandwidthWeight 15
Add-VMNetworkAdapter -ManagementOS -Name “Live Migration” -SwitchName “VSwitch”
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Live Migration” -Access -VlanId 200
Set-VMNetworkAdapter -ManagementOS -Name “Live Migration” -MinimumBandwidthWeight 25
Add-VMNetworkAdapter -ManagementOS -Name “Cluster” -SwitchName “VSwitch”
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Cluster” -Access -VlanId 44
Set-VMNetworkAdapter -ManagementOS -Name “Cluster” -MinimumBandwidthWeight 25
Add-VMNetworkAdapter -ManagementOS -Name “VMLan” -SwitchName “VSwitch”
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Server” -Access -VlanId 128
Set-VMNetworkAdapter -ManagementOS -Name “VMLan” -MinimumBandwidthWeight 35
I’ve assigned the following IP addresses Live Migration = 10.0.200.0/24 Cluster = 10.0.44.0/24 Management = 10.0.50.0/24 VMLan = 192.168.128.0/24
All servers on the network are in the 192.168.128.0/24 VLAN. All Hosts can see other servers on the vlan just fine and I can remote into the hosts without issue.
My problem begins when I create a new VM on the hosts and assign it to the VSwitch. It will not get an IP address at all. If I give it an IP on the 192.168.128.0/24 VLAN which is where I want it to be it will not communicate to any other device
on the network. I’ve done a ton of reading and I believe I have something setup wrong, I’m just not sure what it is. I assume its something with having the VMLan configured on the VSwitch. Most of the articles I read talk about just setting
up 3 VMNetworkAdapters: CSV, Live Migration, and Management. If I do that I’m not sure how to get the host to talk on the 192.168.128.0/24 VLAN right now I have the VMLan adapter assigned a IP on that network so I can remote into it.
Any suggestions would be greatly appreciated.