Use this branch to understand or troubleshoot how guest Ethernet frames and IP packets move from a VM through the virtualization layer toward another VM, the host or an external network.
Virtual Networking
Virtual Networking is the hypervisor-controlled network path that connects guest virtual NICs to virtual switching or bridging, host uplinks, isolated segments, routed/NAT functions and, where used, overlays.
1. Trace guest NIC → virtual switch → VLAN → uplink → physical switch.
2. Check link, VLAN and MAC learning.
3. Check MTU end to end.
4. Security policies may drop frames.
5. Compare counters on each hop.
guest NIC → vNIC → virtual switch → uplink → physical network
Test another representative flow or isolate the first unverified boundary under the failing condition.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show all VLANs, peers, overlays, failover states, MTU sizes or workloads are healthy.
Next check: Test another representative flow or isolate the first unverified boundary under the failing condition.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Guest workload → guest OS/network stack → vNIC → virtual forwarding/policy → host physical/overlay uplink → external path → return path → workload
Step 2 Operational verification Verify boundary
Virtual switches/bridges, VLANs, uplinks and the boundary between guest, host and physical network.
Fast verification
- Trace the complete virtual path: guest vNIC, vSwitch/bridge, VLAN/overlay, uplink and physical switch.
- Compare MAC/VLAN/MTU and link state at each boundary.
- A guest ping failure should be localized to one boundary before changing the whole virtual network.
Step 3 Verification path Verify boundary
Exercise one safe negative or boundary case implied by wrong bridge/port group, VLAN mismatch, disconnected vNIC, missing uplink, MAC/security policy rejection, MTU mismatch or stale tap/device state.
Step 4 Where it fails Narrow the fault
Walk guest NIC → virtual switch/bridge → VLAN/port group/security policy → physical uplink → routed path → peer/workload and stop where observed state diverges.
Common failure classes are wrong bridge/port group, VLAN mismatch, disconnected vNIC, missing uplink, MAC/security policy rejection, MTU mismatch or stale tap/device state.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The intended frame or packet is observed leaving the guest, traversing the correct virtual port/switch/bridge and host uplink, reaching the destination, and returning successfully.
command output · Documented exampleVirtual Networking local healthy-state checkpointThe expected object, scope, state and counters match a controlled test.
Subtopics
Go one level deeper into this subject.
A Virtual NIC (vNIC) is the network interface presented by a hypervisor to a VM and attached to a virtual network endpoint such as a switch, bridge or port group.
Subtopic Virtual SwitchA 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.
Subtopic Virtual BridgeA Virtual Bridge connects virtual interfaces and host interfaces at Layer 2 so frames can be forwarded between guests and one or more host-side interfaces without requiring guest awareness of the bridge implementation.
Subtopic Port GroupsPort Groups are logical collections of virtual switch ports that apply a common connectivity and policy profile, commonly including VLAN identity and security/traffic settings.
Subtopic VLANA VLAN in virtual networking segments Layer 2 traffic by mapping VM-facing ports and virtual/physical uplinks to an IEEE 802.1Q VLAN identity or equivalent logical segment.
Subtopic VLAN TrunkingVLAN Trunking allows multiple VLANs to traverse a virtual or physical link by carrying tagged frames and, depending on design, an optional untagged/native VLAN.
Subtopic Access PortAn Access Port in virtual networking associates a VM-facing port with one VLAN while normally presenting untagged Ethernet frames to the guest.
Subtopic Tagged TrafficTagged Traffic carries an IEEE 802.1Q VLAN header in the Ethernet frame so the receiving virtualization or network boundary can identify the VLAN.
Subtopic Untagged TrafficUntagged Traffic is Ethernet traffic without an 802.1Q VLAN header at a given observation point; the receiving port may map it to an access/native VLAN based on local policy.
Subtopic MAC AddressA MAC Address identifies the Layer 2 source/destination endpoint used by a VM vNIC and by virtual/physical switches to make local Ethernet forwarding decisions.
Subtopic Promiscuous ModePromiscuous Mode is a virtual-port or switch policy that can allow a guest to receive Ethernet frames beyond those normally destined for its own allowed MAC addresses.
Subtopic MAC SpoofingMAC 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.
Subtopic NIC TeamingNIC Teaming combines multiple host network adapters into a logical uplink for redundancy and, depending on the algorithm and peer design, traffic distribution.
Subtopic BondingBonding is a host networking mechanism that combines multiple physical interfaces into one logical interface for redundancy and/or traffic distribution, commonly used beneath virtual bridges or switches.
Subtopic Virtual RouterA Virtual Router is a VM or virtualization-layer function that performs Layer 3 forwarding between virtual networks and/or external networks.
Subtopic NATNAT in virtual networking translates source and/or destination IP/port identity at a virtualization-host or virtual-router boundary so private guest networks can reach or publish services through another network.
Subtopic Isolated NetworkAn Isolated Network is a virtual network intentionally kept from external physical uplinks and often from the host L3 stack, allowing only endpoints attached to the same isolated virtual segment to communicate.
Subtopic Host-only NetworkA Host-only Network connects VMs to each other and to a host-side virtual interface while normally omitting a direct physical uplink to the external network.
Subtopic Bridged NetworkA Bridged Network places VM traffic onto an external Layer 2 network through a host bridge or virtual switch uplink so the VM appears as an independent endpoint on that network.
Subtopic Overlay NetworkAn Overlay Network creates a logical virtual network across an IP underlay by encapsulating tenant/segment traffic between tunnel endpoints, allowing VM L2/L3 reachability independent of the immediate physical topology.
Subtopic MTUMTU in virtual networking is the maximum Layer 3 packet size that each guest, virtual-switch/bridge, overlay and physical network boundary can carry without requiring fragmentation or dropping oversized traffic according to the protocol/path.
Subtopic Virtual Network TroubleshootingVirtual Network Troubleshooting isolates faults by following the actual guest traffic path from the workload and guest stack through the vNIC, virtual port/switch/bridge, host uplink or overlay/NAT function, external network and return path.
- Treat guest configuration, virtual port state, virtual switching, host uplink state and external network behavior as separate boundaries.
- A VM can have a connected vNIC while the virtual switch, host uplink, VLAN or external path is wrong.
- Virtual networking usually preserves normal Ethernet/IP semantics, but hypervisor policy can alter forwarding, MAC handling and isolation.
- Verify the original guest-to-destination transaction after any network change; management-plane success alone is not enough.
ip -br link; bridge link— bridges and ports (Linux)Get-VMSwitch; Get-VMNetworkAdapter -All— Hyper-V switches and vNICsesxcli network vswitch standard list— ESXi vSwitches
ReferenceWhat it is2 sections · depth on demand
Operational scope
Virtual switches/bridges, VLANs, uplinks and the boundary between guest, host and physical network.
What it is
Virtual switches/bridges, VLANs, uplinks and the boundary between guest, host and physical network.
ReferenceWhy it matters1 section · depth on demand
When to use it
Use Virtual Networking when the problem concerns hypervisor, VM/container lifecycle, virtual networking, cluster, storage or capacity.
ReferenceHow it works1 section · depth on demand
How it works
Virtual switches/bridges, VLANs, uplinks and the boundary between guest, host and physical network.
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
A connected vNIC or healthy virtual switch shows only local presentation/forwarding state, but it does not show VLAN correctness, upstream reachability, return routing or application health.
Key operational limits
- Snapshots/checkpoints are not independent backups
Mechanics
The responsible chain spans guest vNIC, virtual switch/bridge, policy/VLAN and physical uplink.
The bounded target is expected guest network attachment and workload connectivity.
The operating invariants are: attachment, VLAN/policy and uplink identity agree end to end; counters move on the expected path.
Important negative cases include wrong bridge/port group, VLAN mismatch, disconnected vNIC, missing uplink, MAC/security policy rejection, MTU mismatch or stale tap/device state.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtual Networking. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/formatnetwork.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
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.
Quick lookup tables
Virtual Networking evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | bridge vlan show | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | guest workload → virtual device/switch/disk → hypervisor process → cluster ownership/quorum → physical network/storage → application outcome | application success |
Virtual Networking reference map
Fast virtual-network boundaries for Virtual Networking.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest boundary | IP/MAC/driver and vNIC | Guest-visible state |
| Virtualization boundary | Port/switch/bridge/policy | Hypervisor forwarding |
| Host boundary | pNIC/team/bond/uplink | Physical egress |
| External boundary | Switch/router/service | End-to-end path |