Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

MAC Spoofing

Direct answer

MAC Spoofing policy controls whether a guest may transmit frames whose source MAC differs from the MAC identity normally assigned or learned for its virtual NIC.

When to use this

Use it for virtual routers, load balancers, nested hypervisors, clustering or appliances that legitimately originate multiple/source-shifted MAC addresses.

First 30 seconds

1. MAC spoofing protection drops frames from unexpected MACs.

2. Allow only for nested hypervisors, NLB, some clusters.

3. Hyper-V: MacAddressSpoofing On/Off.

4. vSphere: MAC changes, forged transmits.

5. Document exceptions.

Operational verification

guest frame source MAC → policy check → forward/drop

Evidence · next step

Review security scope and test only the specific addresses/protocols the workload requires.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show the policy is safely scoped or that every alternate MAC is legitimate.

Next check: Review security scope and test only the specific addresses/protocols the workload requires.

Platform / version applicability
virtualization-network
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-network
Scope / prerequisiteUse it for virtual routers, load balancers, nested hypervisors, clustering or appliances that legitimately originate mu…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

guest generates alternate source MAC → virtual port anti-spoof decision → virtual switch/uplink → upstream learning/security → peer

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • MAC spoofing is primarily a transmit/source-MAC admission concern; receive behavior may be controlled separately.
  • Disabling anti-spoof controls can be required for some virtual appliances but increases L2 abuse risk.
  • A changed guest MAC can also conflict with upstream port-security or duplicate-MAC checks.
  • Permit only the scope required by the workload and verify actual source frames.
Key checks
  • esxcli network vswitch standard policy security get -v vSwitch0 — MAC changes / forged transmits
  • Get-VMNetworkAdapter <vm> | fl MacAddressSpoofing — Hyper-V setting
  • cat /etc/pve/firewall/<vmid>.fw — Proxmox macfilter
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

Egress of the alternate source MAC shows the local hypervisor allowed it, but it does not show upstream acceptance or safe isolation.

Settings

PlatformSetting
vSphereMAC address changes / Forged transmits (Reject by default on vDS)
Hyper-VSet-VMNetworkAdapter -MacAddressSpoofing On|Off
ProxmoxFirewall macfilter option

Enable only for VMs that need it (nested Hyper-V, NLB, some clusters).

In depth

MAC spoofing (VMware: "MAC address changes" and "Forged transmits") controls whether a VM may send or receive with a MAC other than its assigned one. Allow it only where needed:

Use caseNeeds
Nested hypervisorsForged transmits + MAC changes (or MAC learning)
Windows NLB (unicast)MAC spoofing
Guest-level bonding/failover clusters with virtual MACsMAC spoofing
Set-VMNetworkAdapter -VMName lab-esx -MacAddressSpoofing On
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-network current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Networking → MAC Spoofing. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/formatnetwork.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
mac spoofing vmspoofed source macvirtual switch mac changesforged transmits
Embedded reference data

Quick lookup tables

Virtual Networking → MAC Spoofing reference map

Fast virtual-network boundaries for Virtual Networking → MAC Spoofing.

BoundaryMeaningEvidence limit
Assigned MACNormal vNIC identityBaseline
Alternate sourceGuest-generated MACWorkload need
Hypervisor policyAllow/dropLocal boundary
UpstreamLearn/securityExternal boundary
Confirmation

Confirm action

Continue?