Pcornel
Virtualization

Virtual Networking

Cheat sheet · https://pcornel.dk/topic.php?topic=385

Back to the Topic

Answer

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.

Remember

  • 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.

First checks

  • ip -br link; bridge link — bridges and ports (Linux)
  • Get-VMSwitch; Get-VMNetworkAdapter -All — Hyper-V switches and vNICs
  • esxcli network vswitch standard list — ESXi vSwitches

Verify in this order

guest NIC → vNIC → virtual switch → uplink → physical network

Where it usually breaks

First mismatch in guest NIC → virtual switch/bridge → VLAN/port group/security policy → physical uplink → routed path → peer/workload; preserve identity/native error/pre-state before mutation.

Virtual Networking evidence chain

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?bridge vlan showremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?guest workload → virtual device/switch/disk → hypervisor process → cluster ownership/quorum → physical network/storage → application outcomeapplication success

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=385

Confirmation

Confirm action

Continue?