Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How To: VLAN’s with Hyper-V NIC Team (LACAP Active Trunk)

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    1 Posts 1 Posters 429 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HermanH
      Herman
      last edited by

      Hi Folks,

      Would need some help getting VLAN’s working in combination with a Hyper-V NIC Team. This is the situation.

      Hyper-V host running Windows Server 2019

      • 1 Management LAN network card
      • 4 Network cards teamed as LACP Teaming Mode and Hyper-V Port Load Balancing. The NIC Team is fully up and running.
      • The NIC Team is connected to 4 VM’s including pfSense (LAN interfaces)

      HP 1810-24G 24G port Gbps Switch

      • Port 1,2,3 and 6 are connected to the NIC Team as LACAP Active Trunk port (TRK1)
      • Trunk port 1 on Native VLAN 1 is Untagged (all other ports also)
      • Trunk port 1 on VLAN10 is Excluded (all other ports also)

      Running pfSense 2.4.5-RELEASE-p1 as a virtual machine

      • LAN (hn0) is connected to the NIC Team (IP: 10.0.0.254)
      • WAN (hn1) is connected to the ISP modem (Bridge mode)
      • VLAN10 (on hn0-Lan), VLAN Tag: 10 (IP: 10.10.0.254)

      On the Hyper-V host ran the following PS command to allow VLAN 10 traffic . Using the MAC address to address the LAN interface of pfSense. The LAN interface is part of the NIC Team mentioned earlier.

      After running this command all connectivity on the network stops?! Also VLAN 1.

      Get-VMNetworkAdapter -VMName "01. pfSense Firewall" | Where-Object -Property MacAddress -eq "00155d000f08" | Set-VMNetworkAdapterVlan -Trunk -NativeVlanId 1 -AllowedVlanIdList "10"

      Running the following PS command brings everything up and running again.

      Get-VMNetworkAdapter -VMName "01. pfSense Firewall" | Where-Object -Property MacAddress -eq "00155d000f08" | Set-VMNetworkAdapterVlan -Untagged

      Would appreciate some insights here. Does this problem occur because of the NIC team?

      Looking forward to get this done with you help.

      Kind regard,
      Herman F.

      Limburg | The Netherlands.
      It is nice to be important. But it is more important to be nice! | Failure, the best teacher it is!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.