On the L1 Hyper-V host, enable MAC address spoofing on the network adapter of the nested VM. Run PowerShell as Administrator:
Set-VMNetworkAdapter -VMName "NestedVMName" -MacAddressSpoofing On
If the nested VM is connected through a specific virtual switch, you can first identify its adapter with:
Get-VMNetworkAdapter -VMName "NestedVMName"
Then enable spoofing on that adapter:
Set-VMNetworkAdapter -VMName "NestedVMName" -MacAddressSpoofing On
If you have multiple nested VMs, apply it to each VM that needs to pass traffic using MAC addresses other than its assigned virtual NIC MAC. You can verify the setting with:
Get-VMNetworkAdapter -VMName "NestedVMName" | Select-Object VMName,Name,MacAddressSpoofing
The result should show MacAddressSpoofing : On. This setting is applied to the L1 host's Hyper-V virtual NIC/port, not to the physical switch itself. You do not need to modify the physical network switch when the problem is Hyper-V's MAC spoofing protection.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin