Pcornel
Networking · Virtualization & Overlays

Server Virtualization

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

Back to the Topic

Answer

Server virtualization runs many virtual machines on one host; their vNICs connect to virtual switches that map VM traffic to VLANs on the host's physical uplinks.

Remember

  • Server virtualization runs several virtual machines on one physical server.
  • A hypervisor shares CPU, memory and I/O between VMs.
  • VMs connect to the network through virtual switches.

First checks

  • Hypervisor console (vCenter, Hyper-V Manager, Proxmox) — VM state, vNIC, port group / virtual switch and VLAN.
  • Get-VMNetworkAdapter -VMName <vm> | fl / Get-VMNetworkAdapterVlan (Hyper-V) — vNIC, switch and VLAN.
  • qm config <vmid> / bridge vlan show (Proxmox/Linux) — VM NIC and bridge VLANs.
  • show interfaces trunk on the physical switch — host uplink carries the VM VLANs.
  • show mac address-table address <vm-mac> — the VM MAC learned on the host uplink.

Verify in this order

VM vNIC → virtual switch port group with VLAN → host physical uplink (teaming) → switch trunk allows the VLAN → MAC learned → gateway reachable

Where it usually breaks

underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path

Server Virtualization · operational reference

LayerEvidence
Guest vNICVM attachment
vSwitch/port groupVirtual L2 policy
Host pNIC/teamPhysical uplink
SwitchportExternal VLAN/path

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

Confirmation

Confirm action

Continue?