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.
Port Groups · Virtual Networking
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.
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.
vNIC → port group (VLAN, policy) → uplinks
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
esxcli network vswitch standard portgroup list— port groups and VLAN IDsGet-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.
Settings per port group
| Setting | Typical value |
|---|---|
| VLAN ID | Access VLAN, 4095 for guest tagging (standard vSwitch) |
| Promiscuous mode | Reject |
| MAC address changes | Reject (Accept for some clusters) |
| Forged transmits | Reject |
| Teaming | Route based on originating virtual port |
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 group | Meaning |
|---|---|
| 0 / None | Untagged (EST: external switch tagging) |
| 1–4094 | VST: 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Virtual Networking → Port Groups reference map
Fast virtual-network boundaries for Virtual Networking → Port Groups.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Membership | Which logical network | Administrative attachment |
| VLAN | L2 segmentation policy | Tagging boundary |
| Security | MAC/promiscuous rules | Admission boundary |
| Backing | vSwitch/uplink/host | Physical reachability |