Virtualization

VM network modes

Switch between NAT, bridged, host-only, and internal networking to compare which systems can communicate.

Guest traffic is translated by the hostOutboundOutboundnat-vm-b ↔ nat-switchnat-switch ↔ nat-hostnat-host ↔ nat-routernat-router ↔ nat-internetOutboundIPGuest VM AGuest VM AGuest VM BGuest VM BVirtual NATVirtual NATHost network stackHost network stackLAN routerLAN routerInternetInternet
Legend

Current step

NAT carries guest traffic outward

The guest sends through a virtual NAT service and the host network stack; return traffic is associated with that outbound flow.

Names and details vary by hypervisor. These are conceptual paths: choose the narrowest connectivity needed, and do not assume a virtual switch is a firewall.

Documentation example: addresses use the RFC 5737 ranges and ASNs use the reserved private range. Nothing here connects to a real network.

Tags

  • virtualization
  • virtual switch
  • NAT
  • bridged
  • host-only
  • internal network

Lessons using this diagram