Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Port Groups · Virtual Networking

Direct answer

Port Groups are logical collections of virtual switch ports that apply a common connectivity and policy profile, commonly including VLAN identity and security/traffic settings.

When to use this

Use it when multiple VMs should share the same network policy or when a VM is attached to the wrong logical network despite being on the correct virtual switch.

First 30 seconds

1. A port group groups vSwitch ports with the same VLAN and policies.

2. VM connects to a port group, not a VLAN directly.

3. Consistent names across hosts (VSS).

4. Policies: security, teaming, shaping.

5. Check VM is on the right one.

Operational verification

vNIC → port group (VLAN, policy) → uplinks

Evidence · next step

Validate the destination host/network mapping and test migration if the VM can move.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show equivalent configuration on other hosts or end-to-end remote service health.

Next check: Validate the destination host/network mapping and test migration if the VM can move.

Platform / version applicability
virtualization-network
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-network
Scope / prerequisiteUse it when multiple VMs should share the same network policy or when a VM is attached to the wrong logical network des…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM vNIC → port group/logical network → virtual switch → uplink mapping → physical/fabric network

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • A port-group name is only an administrative label; effective policy and uplink path must be checked.
  • Moving a vNIC between port groups can change VLAN/security/QoS behavior immediately.
  • Same port-group name on different hosts does not guarantee identical backing configuration.
  • Cluster migrations require equivalent network availability on the destination host.
Key checks
  • esxcli network vswitch standard portgroup list — port groups and VLAN IDs
  • Get-VDPortgroup | ft Name,VlanConfiguration — VDS port groups (PowerCLI)
  • Get-VMNetworkAdapterVlan -VMName <vm> — Hyper-V VLAN per vNIC
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

Correct port-group membership shows the intended logical attachment, not that every host or uplink implements identical downstream connectivity.

VMware-style terminology is common, but this Topic uses port group generically; concrete distributed/standard switch behavior stays platform-specific.

In depth

Port groups (VMware) are templates of policy — VLAN ID, teaming, security, shaping — that vNICs connect to. Equivalent ideas: Hyper-V VLAN settings on the vNIC, Proxmox bridge + VLAN tag, SDN VNets.

VLAN setting on a vSS/vDS port groupMeaning
0 / NoneUntagged (EST: external switch tagging)
1–4094VST: vSwitch tags/untags this VLAN
4095 (vSS) / VLAN trunking (vDS)VGT: guest sends tagged frames

Name port groups by VLAN and purpose (VL20-App) so mismatches are obvious.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-network current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Networking → Port Groups. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/formatnetwork.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
port groupvirtual port groupvm network labellogical network
Embedded reference data

Quick lookup tables

Virtual Networking → Port Groups reference map

Fast virtual-network boundaries for Virtual Networking → Port Groups.

BoundaryMeaningEvidence limit
MembershipWhich logical networkAdministrative attachment
VLANL2 segmentation policyTagging boundary
SecurityMAC/promiscuous rulesAdmission boundary
BackingvSwitch/uplink/hostPhysical reachability
Confirmation

Confirm action

Continue?