Virtual Networking
Cheat sheet · https://pcornel.dk/topic.php?topic=385
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 vNICsesxcli 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
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=385