Hi
I think I might have a little gap in my understanding about converged networking in Hyper-V, I have never used this before but it looks fairly simple to set up. Its the whole VLAN ID thing that I dont really get. I have followed these two examples for my configuration, I have read other sources too but they dont cover the physical switches which is where I think my gap of knowledge is.
https://technet.microsoft.com/fr-fr/library/dn550728.aspx
When I first looked at this I thought it wouldnt involve any configuration on the physical switch in terms of VLAN, I assumed that the virtual switch on hyper-v handled all that. However, when I use VLAN IDs as per the examples above, I cannot route traffic through my main network between the two hosts (I have two hosts, each with 8 NICs, all of them are plugged into my main network switches which is also shared by all my clients and servers laptops and mobiles etc, I create 1 team using all 8 NICs). I create the virtual networks give them IP addresses but I cant ping between them at all from one host to another (for example to ping between the cluster networks I use ping S 10.10.7.1 10.10.7.2).
As soon as I remove the VLAN IDs (I just comment out the lines for VLAN ID and run the script again) and again set IP addresses on the vNICs used for the cluster I can then ping between the two hosts. My management network uses a 192.1.x.x range and the cluster network uses a 10.10.x.x range. My cluster validation all goes ok, each vNIC (cluster, migration, SMB) is on its own subnet and this all gets green ticks.
I have two questions about this:
- In order to get VLAN IDs working, do I need to configure the physical ports on the physical switches to use specific VLANs, and create a trunk to the switch in my other building for the other node? I am assuming yes since I cant get this to work.
- Doing it without VLAN IDs, is there any real drawback to this provided I do keep the networks in their own separate subnets or should I really be using VLANs?
Many thanks
Steve