Friday, February 01, 2013 5:59 AM
I just purchased (4) HP DL385p Gen8 servers, loaded all four with Windows 2012 Datacenter and have the network setup as listed below. I have the HyperV role setup on the 1st server and I am trying to get one VM working as desired. I'd like when I change the VLAN ID on the Guest VM NIC from 100 to 110 (or other VLANs we have) that it changes IP addresses and passes traffic, I am having trouble getting this to work. I have a 2008R2 6 node Hyper-V cluster working as specified, only difference is the ability to use "VLAN Promiscuious" - apparently HP doesn't have a compliant version of the HP Network Configuration Utility for Server 2012 and they recommended we use the Server 2012 Built in NIC teaming.
NIC 1: PRIVATE (Heartbeat non-routable)
NIC 2: PUBLIC (HOST MGMT)
TEAM: Both NIC 3 & 4 - (VM NETWORK)
I have Port Channel setup on the Cisco Switch and the modes for where both External 1 & 2 terminate to the Cisco Switch in Trunk Mode.
Friday, February 01, 2013 2:58 PM
I'd like when I change the VLAN ID on the Guest VM NIC from 100 to 110 (or other VLANs we have) that it changes IP addresses and passes traffic, I am having trouble getting this to work.
Friday, February 01, 2013 7:42 PMMy question is why are you switching between VLANs? And can you instead create two different NICs vs having to change the ip on a single nic all the time?
Saturday, February 02, 2013 8:34 PMI plan to setup my cluster similarly using a port channel between two Cisco switches that trunk all VLANs between each other and on the port channel. I assume you know you need different IP schemes for each VLAN if you are routing between them at the switch. Changing the VLAN tag on the VM has nothing to do with the IP scheme are already indicated. I suppose you could use DHCP reservations for each VLAN but that's a bit overkill.
Saturday, February 02, 2013 8:39 PM
On your router You will have to have Virtual adapaters with an IP assigned to it in the correct subnet and the VLAN tag of course. Also note if you are running a full clustered enviroment with iscsi SANs, you should have a different switch for iscsi traffic.
Sunday, February 03, 2013 1:39 AM
I was able to get this to work as desired. To be clear, we segment our network with VLAN's (Imagine that!) and is why we have some VM's on one vlan and some on others. Once a VM is set to a specific VLAN, it doesn't change all of the time.
We have an HP Core Switch that has all of our VLAN's defined, each VLAN has an IP address "The Gateway for that subnet" and an IP Helper address for DHCP to work.
Then, we have Cisco Switches where we have all four server ethernet interfaces terminating to. Ethernet interfaces on the server (3 & 4) are configured as a NIC Team on Server 2012 using mode "Switch Independent", Load Balancing "Hyper-V Port" and Standby Adapter set to "None - both active". Where these terminate to on the Cisco Switch, say port 7 & 8 are set with a Port-Channel Group with mode Trunk.
This setup allows the IP address to be Dynamically assigned on a VM Guest by setting the VLAN ID on the VM Guest Settings>Network Adapter page.
So, by changing the VLAN ID does have an impact on which IP address gets assigned here.
Monday, February 04, 2013 1:57 AMModerator