Hyper-V isolated ports still receiving broadcast traffic

Krishna Reddy 40 Reputation points
2026-09-02T10:06:21.76+00:00

Hi everyone

VMs connected to isolated ports on the same Hyper-V virtual switch are unexpectedly able to receive broadcast traffic from other isolated VMs. I’m not very familiar with how the port isolation settings work, so I’m not sure if I configured something incorrectly.

How can I check whether the Hyper-V network adapters are using the correct primary and secondary Private VLAN settings, and what should those settings look like for isolated VMs and what is the easiest way to verify that the isolation is working correctly and prevent broadcast traffic from being passed between VMs that should be separated ?

Many thanks

Windows for business | Windows 365 Business
0 comments No comments

Answer accepted by question author
Domic Vo 32,140 Reputation points Independent Advisor
2026-09-02T10:54:17.7033333+00:00

Hi,

Hyper‑V port isolation relies on Private VLAN (PVLAN) semantics, so if you’re seeing broadcast traffic leak between isolated ports, it usually means the adapters are not bound to the correct PVLAN type. Each VM NIC has two attributes: the primary VLAN ID and the secondary PVLAN type. The primary VLAN ID is the base VLAN, and the secondary defines whether the port is promiscuous, community, or isolated. For isolated VMs, the primary VLAN ID must match across all ports, but the secondary type must explicitly be set to Isolated. That ensures they can only talk to promiscuous ports (like a router or gateway) and not to each other.

You can check this in PowerShell with Get-VMNetworkAdapterIsolation -VMName <VMName>. This will show the current isolation mode and VLAN IDs. If you need to correct it, use Set-VMNetworkAdapterIsolation -VMName <VMName> -IsolationMode Isolated -PrimaryVlanId <VLANID>. For the gateway or management VM, configure its adapter with -IsolationMode Promiscuous so that isolated VMs can reach it but not each other.

To verify isolation is working, the simplest test is to run a broadcast packet capture (for example with Wireshark) on one isolated VM while generating broadcast traffic from another. If the configuration is correct, the capture should show no broadcast frames arriving. You can also confirm by checking the Hyper‑V switch configuration with Get-VMSwitch and ensuring the PVLAN settings are applied consistently.

If broadcast traffic is still leaking, it usually means either the secondary PVLAN type was left at “Community” instead of “Isolated,” or the switch itself was not configured with PVLAN support enabled. Correcting those settings will stop the unwanted broadcast propagation.

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?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

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.