Hyper-V VM vlan id on different clusters

Posted on 2014-08-04
Last Modified: 2014-11-12

I have hit a problem with using VLAN IDs on Hyper-V VM's.

We have two physical locations and each location has a Hyper-V cluster. These locations are linked by a 1Gb connection. We are running a spanned ip subnet across these sites and this spanned subnet is using the VLAN ID 4094. Ethernet switches have full connectivity to all devices on the 4094 network in both locations. Hyper-V hosts have full connectivity to all devices on 4094. Hyper-V hosts are connected to trunk ports that allow 4094

However my problem is, i have a VM in each site on Hyper-V that has 4094 specified in the network adapter settings of the VM. The VM in location 1 can see all devices on the 4094 VLAN except the Hyper-V based VM in location 2 and likewise the VM in location 2 can see all devices on 4094 except the VM in location 1.

Anybody know if VM's on different clusters cannot use the same vlan id?

Many Thanks
Question by:hbg-uk-ltd
    LVL 56

    Accepted Solution

    Yes, they can. VLAN tagging happens purely at layer 2 and neither knows nor cares. I have this working in several places and with hyper-v replica, it isn't even uncommon. You have something else going on. Either a port not configured for trucking or 802.1q or some other configuration that is mangling the tagged headers.

    Author Comment

    Managed to find my problem.

    I went though the configs of all switches involved in the path. These were all configured correctly. The hosts in each location could ping every device on the 4094 vlan.

    I then looked at the Load Balancing Mode on my NIC team, this was set to Address hash. Given that this is a Hyper-V host i changed all members of both clusters to have the Balancing Mode to be Hyper-V Port.

    This sorted my issue.

    Thanks for helping out Cliff

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now