Skip to content

How to Create an External Hyper-V Virtual Switch Print

  • 0

How to Create an External Hyper-V Virtual Switch

Applies to: Windows Server 2019, 2022 and 2025.

An external switch connects VMs to a physical network adapter. Creating it can briefly interrupt host networking, especially during remote administration.

Hyper-V changes affect network and workload availability. Keep console access and tested VM backups. Visit networkmanager.info for managed Windows VPS services.

Prerequisites

  • Maintain console access.
  • Identify the correct physical adapter and VLAN design.
  • Record host IP configuration.
  • Confirm NIC teaming or SET requirements.

Procedure

Step 1: List adapters

Identify by name, status and MAC.

Get-NetAdapter

Step 2: Review existing switches

Avoid binding conflicts.

Get-VMSwitch

Step 3: Create external switch

Allow the management OS to share the adapter when intended.

New-VMSwitch -Name 'External-LAN' -NetAdapterName 'Ethernet 2' -AllowManagementOS $true

Step 4: Configure VLAN if required

Apply VLAN to the management adapter only from the approved design.

Step 5: Test host and VM paths

Confirm DNS, gateway and management access.

Verification

Inspect switch type and attached adapter.

Get-VMSwitch -Name 'External-LAN' | Format-List
Get-VMNetworkAdapter -ManagementOS

Rollback

Restore host networking through console. Remove-VMSwitch only after disconnecting or moving every VM adapter.

Operational notes

Never guess the adapter name in a remote-only session.

Official references

Explore Netcloud24 Canada.


Was this answer helpful?

« Back