I’m still seeing this issue in various deployments.
Searching the net shows lots of people have similar issues only related to IPv6 RAs and it looks like only WindowscClients are affected…
It looks like Windows just strips off the vlan tags and then gets the RAs which are in VLAN tagged packets.
-
PriorityVLANTag (standard Window keyword for NICs) documentation states (https://docs.microsoft.com/en-us/windows-hardware/drivers/network/enumeration-keywords):
“The miniport driver should remove the 802.1Q header from all receive packets regardless of the *PriorityVLANTag setting.
If the 802.1Q header is left in a packet, other drivers might not be able to parse the packet correctly.
If the Rx flag is enabled on the receive path, the miniport driver should copy the removed 802.1Q header into OOB.
Otherwise, if the Rx flag is disabled, the miniport driver should not copy the removed 802.1Q header into OOB.” -
https://community.arubanetworks.com/community-home/digestviewer/viewthread?MID=31121
“Windows listens to RA’s coming in on tagged vlans.” -
http://forum.mikrotik.com/t/windows-10-router-advertisement-leaking/162655/1
“This has nothing to do with Mikrotik specifically, the same would be seen using a router from any other network vendor.
It is well known that most Microsoft network drivers strip VLAN tags on ingress,
so any tagged broadcast/multicast packets will also be delivered to the network stack rather than being discarded.”
Regarding IPv4 DHCP Broadcasts:
“IPv4 is not targeted most of the time because DHCPv4 answers are normally unicast, except if the broadcast flag is set in the request”
That makes perfect sense. Yes the broadcast can also leak but the answer is unicast and would never reach the server. -
VMWare: https://communities.vmware.com/t5/ESXi-Discussions/vmxnet3-NIC-removes-VLAN-tags-in-Windows-7-x64-VM/td-p/451197
“Note: Some Windows machines can strip VLAN tags unless Monitor mode is enabled for the guest OS NIC (VLAN pass-thru).”
Anyone knows how to turn this off in Windows?
In my case a Windows Client is connected to a port with PVID 1 which also has some tagged vlans on it.
The Windows Client is running inside a VM. It’s not possible to remove the VLAN tags off of the port because they’re required for other VMs on the VM-Switch.
My hypervisor is Proxmox and I’m using virtio vNIC (https://bugzilla.redhat.com/show_bug.cgi?id=1854416).
There seem two workarounds:
Option #1:
Set “Priority and VLAN tagging” in the driver to disabled

Option #2:
Set VLAN ID to the untagged PVID of the port the machine is connected to.
In my case PVID is 1 so I set the NIC driver to vlan 1 (is set to zero by default):
