Hyper-v networking best practices for clustering

1. Core Design Principles

  1. Redundancy everywhere

  2. Traffic separation
    At minimum, logically separate:

    Use dedicated VLANs and where possible dedicated NICs or vNICs (with QoS).

  3. Consistent, deterministic configuration

  4. Throughput > latency for VM & LM, latency > throughput for heartbeat

Minimum practical pattern (per host):

On smaller hosts, you might combine some roles but never put everything on one adapter team without QoS and VLAN separation.

3. Virtual Switch & Teaming Best Practices

  1. Use SET (Switch Embedded Teaming) on 2016+

  2. Converged networking vNICs

  3. Avoid mixing “AllowManagementOS = $true” with converged design

  4. For older OS (2012 R2)

4. VLAN & IP Addressing Guidelines

  1. Create dedicated VLANs per traffic type
    Suggested layout:

  2. IP schema example

  3. Routing rules

5. QoS and Bandwidth Management

  1. Use Hyper-V / SMB QoS with converged networking

    PowerShell example:

    Set-VMNetworkAdapter -ManagementOS -Name "vNIC-VM"           -MinimumBandwidthWeight 50
    Set-VMNetworkAdapter -ManagementOS -Name "vNIC-S2D"          -MinimumBandwidthWeight 25
    Set-VMNetworkAdapter -ManagementOS -Name "vNIC-LiveMigration" -MinimumBandwidthWeight 15
    Set-VMNetworkAdapter -ManagementOS -Name "vNIC-Mgmt"         -MinimumBandwidthWeight 10
    
  2. SMB Multichannel + SMB Direct (RDMA) for S2D / CSV / Live Migration

  3. Don’t throttle cluster heartbeat too much

6. Storage Network (iSCSI / SMB / S2D)

  1. iSCSI SAN

  2. SMB 3.x / Storage Spaces Direct

  3. Avoid mixing storage + noisy VM traffic on the same physical NICs without strong QoS and capacity.

7. Live Migration Network

  1. Dedicated or converged vNIC

  2. Compression vs. SMB vs. RDMA

  3. Throttle LM concurrency

8. Cluster / Heartbeat / CSV Network

  1. At least two distinct networks

  2. Cluster network order

  3. Name each network clearly

9. Security Best Practices

  1. Isolate management and storage from user/VM networks

  2. Use firewalls

  3. Use secure management protocols

  4. Protect virtual switches

10. Switch Configuration Best Practices

  1. LACP / Static teaming

  2. Spanning Tree / PortFast

  3. Consistent switch templates

11. Testing & Validation

  1. Before putting into production:

  2. Monitoring

12. Example “Gold” Pattern (Summary)

For each Hyper-V cluster node: