Hyper-v v-NIC has span traffic issue.

Songchai P 0 Reputation points
2026-07-14T01:54:50.8833333+00:00

I have a HPE Proliant DL360 gen11 with a pair of HYPER-V failover cluster and external iscsi storage.

On the Hyper-v host

The server running window server 2022 standard. I have created hyper-v v-switch.

The solution is span traffic from cisco 9300L-24T-4X into HPE server.

On the Hyper-v VM

I have created application receive span traffic. I am enable v-nic port mirroring mode destination.

Issue:

We have compared ip address list between virtual nic and physical nic on ipv4 statistic on wireshark.

Wireshark capture ip address on virtual nic less than physical traffic. There are some ip addresses of physical interface is not in virtual nic.

Anyone please help me How to tunning hypver-v virtual network adapter to received traffic span port same as physical interface.

Thank you

Best regards,

Songchai P.

Windows for business | Windows Server | Storage high availability | Virtualization and Hyper-V
0 comments No comments

1 answer

Sort by: Newest
  1. Domic Vo 33,190 Reputation points Independent Advisor
    2026-07-14T02:32:49.8533333+00:00

    Hello Songchai,

    The behavior you are seeing is expected when using Hyper‑V port mirroring in destination mode. The virtual NIC configured as a mirror destination will only receive traffic that the vSwitch can forward, but it does not replicate every single packet seen on the physical NIC. In particular, Hyper‑V’s port mirroring is limited to traffic that traverses the vSwitch. Frames that are handled entirely in the host stack, or offloaded by the NIC hardware, may not be mirrored into the VM. That explains why Wireshark on the VM shows fewer IP addresses than a capture on the physical NIC.

    To maximize visibility, you need to ensure that the vSwitch is bound to the correct physical adapter and that the span traffic from the Cisco switch is actually entering the vSwitch pipeline. If the span is delivered to the host NIC but bypasses the vSwitch (for example, due to SR‑IOV or hardware offload features), the VM mirror destination will not see it. Disabling SR‑IOV on the vSwitch and turning off certain offloads such as VMQ or RSS for the capture NIC can help force traffic through the vSwitch path. You should also confirm that the VM’s vNIC is explicitly set to “Port Mirroring Mode: Destination” in its advanced settings, and that the source vNICs or external vSwitch ports are set to “Port Mirroring Mode: Source.” Without both ends configured, the mirror will be incomplete.

    If your goal is to replicate the full physical NIC view, Hyper‑V port mirroring alone will not achieve it. The vSwitch only mirrors traffic it processes, not all traffic received by the adapter. For complete visibility, you would need to capture directly on the physical NIC using tools like Microsoft Network Monitor or Wireshark with NDIS capture, or use a dedicated capture appliance connected to the Cisco span port. Hyper‑V port mirroring is best suited for intra‑VM and vSwitch traffic analysis, not full physical span replication.

    In short, the discrepancy you are seeing is by design. To tune the VM to receive more of the span traffic, disable SR‑IOV and offloads on the vSwitch NIC, ensure proper source/destination port mirror configuration, and accept that some traffic handled outside the vSwitch path will not be visible inside the VM. For full parity with the physical NIC capture, you need to capture at the host NIC level rather than relying on Hyper‑V port mirroring.

    I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!

    Domic Vo.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.