NetWarren_

Lessons › Servers & virtualisation

Virtual networking: switches inside the server

11 min lesson · Servers & virtualisation · free

▶ Start the interactive lesson

The first two hosts are racked. You plug them into the core switch, install the hypervisor, and build a test VM. It boots fine. It can't ping anything. Your manager smiles. "The VM is plugged into a switch you can't see. Let's find it."

The virtual switch

Each host runs a virtual switch (vSwitch) in software. VMs plug their virtual network cards into it, just like PCs plug into a real switch.

VLANs: trunk to the host

A host usually carries many VLANs: servers, DMZ, management, backup. So the physical switch port facing the host is a trunk, not an access port.

Keep the important traffic apart

Hosts carry several kinds of traffic: VM traffic, host management, live migration and storage. Good designs put each on its own VLAN, and often on its own uplinks.

Key points

Words you'll learn

Virtual switch / vSwitch · Uplinks · Port group · Trunk · Live migration / vMotion · NIC teaming

The full lesson has more: animations, a hands-on exercise, 3 quiz questions, a practical scenario test and spaced review cards. Open it free →