Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Virtual Switch · Virtual Networking

Direct answer

A Virtual Switch is a software switching function in the virtualization layer that forwards Ethernet frames between virtual ports and, when connected, physical or logical uplinks.

When to use this

Use this Topic to reason about L2 forwarding between VMs and uplinks, port policy, MAC learning and where frames are accepted, filtered or forwarded.

First 30 seconds

1. A virtual switch forwards frames between vNICs and uplinks.

2. Types: Linux bridge, OVS, Hyper-V vSwitch, vSphere VSS/VDS.

3. External/Internal/Private on Hyper-V.

4. Check uplink and VLAN config.

5. Learning and security policies.

Operational verification

vNIC → vSwitch port → uplink

Evidence · next step

Observe the next physical/virtual boundary and the return traffic.

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

It does not show external switch forwarding, remote delivery, return-path symmetry or application health.

Next check: Observe the next physical/virtual boundary and the return traffic.

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 this Topic to reason about L2 forwarding between VMs and uplinks, port policy, MAC learning and where frames are ac…
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

vNIC/virtual port → switch ingress policy → MAC/VLAN forwarding decision → destination virtual port or uplink → external network

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
  • A virtual switch is an L2 forwarding boundary unless additional routed/NAT functions are explicitly present.
  • Port attachment and switch existence do not prove correct VLAN or security policy.
  • MAC learning is evidence of source traffic, not proof that return traffic can reach the VM.
  • External connectivity still depends on host uplinks and physical/network-fabric configuration.
Key checks
  • ovs-vsctl show — Open vSwitch config
  • Get-VMSwitch | ft Name,SwitchType,NetAdapterInterfaceDescription — Hyper-V switch type
  • esxcli network vswitch standard list — ESXi vSwitch
ReferenceHow it works1 section · depth on demand

Guest-to-physical journey

Virtual Switch should be traced end to end as: guest vNIC → vSwitch port/policy → VLAN/overlay/bridge → uplink/team → physical switch → routed/security path → service.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Frames leaving a virtual switch uplink show local forwarding; they do not show the physical switch accepted the VLAN/MAC or that the return path exists.

Generic switching/STP/VLAN behavior belongs to Networking; product branches own virtual-switch implementation and feature differences.

In depth

A virtual switch connects vNICs to each other and to physical uplinks, forwarding by MAC address within the host. Implementations: VMware vSS/vDS, Hyper-V vSwitch (and SET), Linux bridge, Open vSwitch, NSX/OVN overlays.

Common features: VLAN tagging, uplink teaming/failover, security policies (MAC changes, forged transmits, promiscuous), traffic shaping, port mirroring. Traffic between two VMs on the same host and VLAN never leaves the host — physical monitoring tools will not see it.

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 → Virtual Switch. 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
vSwitchvirtual ethernet switchsoftware switchhypervisor switch
Embedded reference data

Quick lookup tables

Virtual Networking → Virtual Switch reference map

Fast virtual-network boundaries for Virtual Networking → Virtual Switch.

BoundaryMeaningEvidence limit
Ingress portFrame arrivesSource-side evidence
PolicyVLAN/security appliedDecision boundary
ForwardingDestination/uplink selectedLocal L2 proof
EgressFrame leaves port/uplinkNot remote proof
Confirmation

Confirm action

Continue?