locked
VLAN tagging inside Linux VM - working with Hyper-V vSwitches? RRS feed

  • Question

  • G'day

    I have found various information on how to do VLAN-Tagging with Hyper-V but they reference Windows VMs which don't do native VLAN support  (at least up to 2008 R2 the manufacturer has to add VLAN support, Server 8 will change this). Our adapters inside the hosts (intel PRO1000) would support this bout it would be easier to just tell the Linux VM "have a eth0.100" and tag the packets and be happy (by using the Linux 8021q module)-

    The vSwitches in 2008 R2 SP1 are curently somewhat "unmanaged" when compared to physical switches.
    Unmanaged switches sometimes just ignore the VLANs i.e. don't touch the tagged packes - or in bad case: just drop them.
    How do Hyper-V vSwitches actually act with VLANs?

    I will try that out soon but I have to wait for my network admins to make the physical port member of a tagged VLAN - it would be easier to make a eth0.111 inside the Linux VM (netvsc driver) instead of mangling on the physical host :-)

    Wednesday, May 30, 2012 12:23 PM

All replies

  • Hi,

    you must manage VLANs on Hyper-V. In network card management (in VM Properties) you must define VLAN ID.


    This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Microsoft Student Partner 2010 / 2011 / 2012
    Microsoft Certified Professional | Connected Home Integrator | Consumer Sales Specialist
    Microsoft Certified IT Professional: Consumer Support Technician on Windows Vista
    Microsoft Certified IT Professional: Enterprise Support Technician on Windows Vista
    Microsoft Certified IT Professional: Server Administrator on Windows Server 2008
    Microsoft Certified Solututions Associate: Windows Server 2008
    MCP transcript, contact information, list of all Certifications

    Monday, June 18, 2012 9:04 PM