NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

fodderbot's avatar
fodderbot
Aspirant
Nov 17, 2021

Hyper-V hosts single nic VLAN config

Hello

 

I have 2 Hyper-V hosts with a single nic (Intel NUC's) and I would like the VMs on them to use different than default vlans. 

I configured the 2 ports as vlan 1 untagged (default) and vlan 5 tagged.

Creating a vm on each host and assigning them VLAN 5. After booting them I can the GS108TV2 learned their mac address but I can't seem to ping the vm on one host from the vm on the other host.

What ami I missing ?

 

Many thx

fodderbot

 

4 Replies

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    If you configure both Hyper-V hosts for using VLAN 5 on the adapter (while keeping VLAN 1 for the platform config), both VMs will connect to the VLAN 5. 

     

    The question is of/how you provide services like DHCP, Internet (default gateway, DNS relay), and how you handle the access to the VLAN 5 IP subnet which must be different of course fro the subnet on VLAN 1.

    • fodderbot's avatar
      fodderbot
      Aspirant

      Hi

       

      thank you for your swift reply. I did not quite get what you mean however.

      The Hyper-V hosts are connected on VLAN 1 while the adapter on the VMs is set to use VLAN 5.

      I can see the mac addresses of the 2 VMs learned by the switch on VLAN 5, but I can't ping them from each VMs respectively, and firewalling is off...

      Routing to other VLANS ot he internet  should not be an issue as I would dedicate a VM with mulitple NIC's to do the routing.

      I just can't understand why both VMs can't communicate on VLAN 5...

       

      Many thx for your help!

      • schumaku's avatar
        schumaku
        Guru - Experienced User

        The VLAN5 is configued on the switch, and the ports are configured for VLAN1 untagged/PVID1 plus the VAN5 tagged membership, so building a trunk port?

         

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More