Hyper-V Extensible Switch Port and Network Adapter States - Windows drivers (2023)

  • Article
  • 7 minutes to read

The Hyper-V extensible switch interface manages the lifetime of the following components:

Hyper-V Extensible Switch Ports
Each network adapter connection to the extensible switch is represented by a port. Ports are created when a Hyper-V child partition is configured to connect to an instance of an extensible switch. Depending on the switch type, ports are also created for the external and internal network adapter connections. For more information about switch types, see Overview of the Hyper-V Extensible Switch.

Each port is used to hold the configuration for the network interface connection. If the configuration for the network interface connection is removed or the child partition is stopped, the port is torn down and deleted.

For more information about this component, see Hyper-V Extensible Switch Ports.

Hyper-V Extensible Switch Network Adapters
These are virtual network adapters that connect to the extensible switch port. These virtual network adapters are exposed within the Hyper-V child and parent partitions. This includes the virtual machine (VM) network adapter exposed in a child partition and the external network adapter that is teamed with the underlying physical network adapter.

Each network adapter connection requires a corresponding extensible switch port. The port must have been created before the network adapter connection is brought up. Similarly, the network adapter connection must be deleted before the port can be torn down and deleted.

NoteIn some situations, extensible switch ports could be created and deleted without ever having a network adapter connection.

(Video) How To Fix Error Applying External Switch Adapter In Hyper v

For example, when a Hyper-V child partition is started, the extensible switch interface creates a port before the VM network adapter is exposed within the guest operating system. After the VM network adapter is exposed and enumerated, the extensible switch interface creates a network connection between the VM network adapter and the extensible switch port. If the child partition is stopped, the extensible switch interface first deletes the network connection and then deletes the extensible switch port.

For more information about this component, see Hyper-V Extensible Switch Network Adapters.

When the extensible switch interface creates, deletes, or changes the configuration of these components, it issues object identifier (OID) set requests down the extensible switch driver stack. This operation is performed so that underlying extensible switch extensions can be notified about the state of the component and its configuration. Each OID set request results in a state transition for these components.

When an extension is bound and enabled on an extensible switch instance, it can issue OIDs to discover the existing port and network adapter connection configuration of the switch.

The following diagram shows the various states for the extensible switch port and network adapter connection components. The diagram also shows the OID set requests that cause the state transition for the component.

Hyper-V Extensible Switch Port and Network Adapter States - Windows drivers (1)

The following list describes the various states of the extensible switch port and network adapter connection components:

Port not created
In this state, an extensible switch port does not exist on the extensible switch. OID requests that target a previously created port cannot be issued after the port has entered this state.

Port created
When the extensible switch interface issues an OID set request of OID_SWITCH_PORT_CREATE, the port is created on the extensible switch. In this state, the extensible switch interface and extension can issue OID requests that target the port.

(Video) Hyper V network adapter Troubleshooting | Entry Level Help Desk

For more information about OID traffic through the extensible switch driver stack, see Hyper-V Extensible Switch Control Path.

NoteAn underlying extension can fail the OID set request and veto the port creation. The extension does this by completing the OID request with STATUS_DATA_NOT_ACCEPTED. If this is done, the port is not created on the extensible switch. For more information on this procedure, see Hyper-V Extensible Switch Ports.

Network adapter connection created
When the extensible switch interface issues an OID set request of OID_SWITCH_NIC_CREATE, the network adapter connection to the port is created on the extensible switch. In this state, the extensible switch interface can do the following:

  • Issue OID requests that target the network adapter connection.

  • Forward packet traffic to or from the network adapter connection.

It is also possible for a new adapter to connect to an existing port without going through a port teardown and create sequence.

In this state, the extension must forward these packets and OID requests through the extensible switch extension stack. However, the extension cannot originate or redirect packets or OID requests to other network adapter connections on the extensible switch.

NoteIn this state, the extension must not issue OID requests or originate packet traffic to the network adapter connection.

For more information about OID traffic through the extensible switch driver stack, see Hyper-V Extensible Switch Control Path.

(Video) Error Applying Hyper-V Virtual Switch Properties in Windows 10 FIX

For more information about packet traffic through the extensible switch driver stack, see Hyper-V Extensible Switch Data Path.

NoteAn underlying extension can fail the OID set request and veto the creation of the network adapter connection. If so, the connection is not created on the extensible switch port. For more information on this procedure, see Hyper-V Extensible Switch Network Adapters.

Network adapter connected
When the extensible switch interface issues an OID set request of OID_SWITCH_NIC_CONNECT, the network adapter is fully connected to the extensible switch port. In this state, the extension can now do the following:

  • Issue OID requests that target the network adapter connection.

  • Originate packet traffic to the network adapter connection.

  • Redirect packet traffic to the network adapter connection. For example, the extension can redirect packets from one network adapter connection to another connection on the extensible switch.

    NoteOnly forwarding extensions can perform this operation. For more information, see Forwarding Extensions.

Network adapter disconnected
When the extensible switch interface issues an OID set request of OID_SWITCH_NIC_DISCONNECT, the network adapter is being disconnected from the extensible switch port. For example, this OID request is issued when the child partition, which exposed a VM network adapter, is stopped or the external network adapter is disabled.

In this state, the extensible switch extension can no longer originate packets or OID requests that target the connection. Also, forwarding extensions can no longer redirect packets to the connection.

(Video) Windows Hyper-V Virtual Machine Tutorial

NotePending packets and OID requests that were issued by the extensible switch interface before the connection became disconnected may still be delivered to the extension. However, the extension must forward the packets and OID requests without making any modifications.

Network adapter connection deleted
After all packet traffic and OID requests that target the network adapter connection are completed, the extensible switch interface issues an OID set request of OID_SWITCH_NIC_DELETE to delete the connection from the extensible switch.

In this state, the extensible switch interface will no longer issue packets or OID requests that target the connection.

Port tearing down
When the extensible switch interface issues an OID set request of OID_SWITCH_PORT_TEARDOWN, the extensible switch port is being torn down in preparation to being deleted.

In this state, the extensible switch extension can no longer originate OID requests that target the port.

NotePending OID requests that were issued by the extensible switch interface before the port started its tear down process may still be delivered to the extension. However, the extension must forward the OID requests without making any modifications.

After all pending OID requests that target the port are completed, the extensible switch interface issues an OID set request of OID_SWITCH_PORT_DELETE. This causes the port to transition to a Port not created state.

The extension can call an extensible switch handler function to increment or decrement a reference counter on a port or network adapter connection component. While a component's reference counter is nonzero, the extensible switch interface cannot delete the component.

The extension can call ReferenceSwitchPort or DereferenceSwitchPort to increment or decrement a reference counter for an extensible switch port. These calls can be made after the port has reached the Port created state. These calls must not be made after the port has reached the Port tearing down or Port not created states.

(Video) Advanced Networking with Hyper-V | Understanding VMQ NIC Teaming Overview

The extension can call ReferenceSwitchNic or DereferenceSwitchNic to increment or decrement a reference counter for an extensible switch network adapter connection. These calls can be made after the connection has reached the Network adapter connected state. These calls must not be made after the connection has reached the Network adapter disconnected or Network adapter deleted states.

The following table describes the operations that are allowed based on the state of the extensible switch port or network adapter connection components.

Component stateCalls to ReferenceSwitchPort or DereferenceSwitchPort allowed?Calls to ReferenceSwitchNic or DereferenceSwitchNic allowed?

Port not created

No

No

Port created

Yes

No

Network adapter connection created

Yes

No

Network adapter connected

Yes

Yes

Network adapter disconnected

Yes

No

Network adapter connection deleted

Yes

No

Port tearing down

No

No

Component stateOID requests from extensible switch allowed for port?OID requests from extensions allowed for port?OID requests from extensible switch allowed for network adapter connection?OID requests from extensions allowed for network adapter connection?Packet traffic from extensible switch allowed over network adapter connection?Packet traffic from extensions allowed over network adapter connection?

Port not created

No

No

No

No

No

No

Port created

Yes

Yes

No

No

No

No

Network adapter connection created

Yes

Yes

Yes

No

Yes

No

Network adapter connected

Yes

Yes

Yes

Yes

Yes

Yes

Network adapter disconnected

Yes

Yes

Yes

No

Yes

No

Network adapter connection deleted

Yes

Yes

No

No

No

No

Port tearing down

Yes

No

No

No

No

No

FAQs

How to enable Hyper-V Extensible Virtual switch in Windows 10? ›

Management Operating System sharing
  1. Open Hyper-V Manager.
  2. From the Actions pane, select Virtual Switch Manager.
  3. Select the virtual switch you wish to configure, check the Allow management operating system to share this network adapter and select OK.
Dec 7, 2022

What is Hyper-V Virtual switch Extension adapter? ›

The Hyper-V extensible switch supports an interface that allows NDIS filter drivers, known as extensions, to bind within the extensible switch driver stack. This allows extensions to capture, filter, and forward packets to extensible switch ports.

How to setup Hyper-V network adapter? ›

How to Set Up Virtual Network Adapter in Hyper-V Manager
  1. Double-click Network Adapter under the Hardware section. ...
  2. Click Apply to save changes.
  3. Then, select Advanced Features to set up the advanced features on the virtual network adapter. ...
  4. Check the required boxes and click Apply to save changes.
Feb 4, 2019

What is Hyper-V Virtual Ethernet adapter Windows 10? ›

It can use single or teamed physical network adapters to serve as uplinks to a physical switch in order to communicate with other computers on the physical network. Hyper-V provides virtual network adapters to its virtual machines, and those communicate directly with the virtual switch. [thrive_leads id='16356′]

What should I enable in BIOS Hyper-V? ›

In the Startup Menu, press F10 to enter the BIOS setup. In the BIOS Setup Utility, use the arrow key and open the Configuration tab. Next, use the down arrow key to highlight the Virtualization Technology option. Hit Enter and then select Enabled from the options.

What are the three 3 types of switch available to Hyper-V machines? ›

Hyper-V enables admins to create three different types of virtual switches: external, internal and private.

What are virtual switches used for? ›

A virtual switch (vSwitch) is a software program that enables one virtual machine (VM) to communicate with another. Virtual switches are also used to establish connections between virtual and physical networks and to carry a VM's traffic to other VMs or a physical network.

What does virtual network adapter do? ›

Virtual network adapters provide an additional network interface on a device without the need for a physical network interface card (NIC). By enabling an OS system to create new virtual interfaces, complex network designs and routing can occur within the OS, which was previously impossible without physical NICs.

Can I disable Hyper-V Virtual Ethernet Adapter? ›

You can temporarily remove the Hyper-V virtual switch to remove the Hyper-V virtual ethernet adapter. Your answer worked (I was only able to test it today). Thanks. For those unsure how to do it, it's in Hyper-V manager, select your server, then Virtual Switch Manager.

How do I manually configure Ethernet connection? ›

To do this, select the Start button, then select Settings > Network & Internet > Ethernet . On the Ethernet screen, select the Ethernet network connection you want to change, then select Private under Network profile.

How do I fix my Ethernet adapter not showing up? ›

General troubleshooting
  1. Right-click My Computer, and then click Properties.
  2. Click the Hardware tab, and then click Device Manager.
  3. To see a list of installed network adapters, expand Network adapter(s). ...
  4. Restart the computer, and then let the system automatically detect and install the network adapter drivers.
Sep 23, 2021

What is Hyper-V and do I need it? ›

Hyper-V specifically provides hardware virtualization. That means each virtual machine runs on virtual hardware. Hyper-V lets you create virtual hard drives, virtual switches, and a number of other virtual devices all of which can be added to virtual machines.

Should Hyper-V be enabled? ›

The Hyper-V role should be the only role enabled on a server. This best practice helps keep the host operating system free of roles, features, and applications that aren't required to run Hyper-V.

How do I connect my Hyper-V virtual machine to the internet? ›

Connect virtual machines to the internet
  1. Open Hyper-V Manager. ...
  2. Select the server in the left pane, or click "Connect to Server..." in the right pane.
  3. In Hyper-V Manager, select Virtual Switch Manager... from the 'Actions' menu on the right.
  4. Under the 'Virtual Switches' section, select New virtual network switch.
Apr 25, 2022

What happens if I enable virtualization in BIOS? ›

This allows an operating system to more effectively & efficiently utilize the CPU power in the computer so that it runs faster. This feature is also a requirement for many virtual machine software and is required to be enabled in order for them to run properly or even at all.

How do I know if Hyper-V is enabled in BIOS? ›

Open the Hyper-V-Hypervisor event log. In the navigation pane, expand Applications and Services Logs, expand Microsoft, expand Hyper-V-Hypervisor, and then click Operational. If Windows hypervisor is running, no further action is needed.

Is it safe to enable virtualization in BIOS? ›

It's not a security issue so much as a feature optionally used by one theoretical kind of malware. A hypervisor is software which is able to run a virtual operating system underneath it.

What are the 2 main types of switches? ›

There are mainly two types of switches- mechanical switch and electrical switch. Mechanical switches require physical or manual contact with switch for operation. Electrical switches not require physical or manual contact, it has ability to perform operation.

What is the difference between a private switch and an internal switch in Hyper-V? ›

The third type is a private virtual switch, which is very similar to an internal virtual switch, except that it does not provide any connectivity to the host operating system. A private virtual network can be used only to facilitate communications between virtual machines running on the host server.

What are the 4 types of switches? ›

Types of Electrical Switches
  • Bipolar Transistors. The working of a transistor is similar to that of a normal switch. ...
  • Power Diode. Silicon is used for the construction of the power diode. ...
  • MOSFET. ...
  • Single Pole Single Throw. ...
  • Single Pole Double Throw. ...
  • Double Pole Single Throw. ...
  • Double Pole Double Throw. ...
  • Two Pole Six Throw.

What is virtual switch extension? ›

A Hyper-V Extensible Switch extension is an NDIS filter or Windows Filtering Platform (WFP) filter that runs inside the Hyper-V Extensible Switch (also called the "Hyper-V virtual switch"). There are 3 classes of extensions: capture, filtering, and forwarding. All of them can be implemented as NDIS filter drivers.

What are the two virtual switches that support by virtual network? ›

VMware vSwitches can be divided into two types: standard virtual switches and distributed virtual switches. A vNetwork Standard Switch (vSwitch) is a virtual switch that can be configured on a single ESXi host. By default, this vSwitch has 120 ports. The maximum number of ports per ESXi host is 4096.

How do I enable a network adapter on a virtual machine? ›

Procedure
  1. Open the virtual machine settings in VMware Remote Console. On Windows, select VMRC > Manage > Virtual Machine Settings. On Linux, select Virtual Machine > Virtual Machine Settings.
  2. Open the Hardware tab and click Add.
  3. Select Network Adapter and click Finish.
Nov 4, 2019

What is network adapter in Hyper-V? ›

Hyper-V Networking. A virtual network adapter (sometimes referred to as a virtual NIC) is a virtualized version of a real network adapter. It connects a physical server to other servers, virtual machines, or other networking devices across a LAN connection in Hyper-V settings.

How do I find my virtual network adapter? ›

To check the virtual network adapter using the vSphere/Virtual Infrastructure Client:
  1. In the vSphere/ Virtual Infrastructure Client, right-click the virtual machine in question and select Edit Settings.
  2. Highlight the virtual network adapter in the list of virtual hardware.
Mar 31, 2020

Is it OK to disable virtualization? ›

You do not need to disable Virtualization Technology if you are using a VMM or an operating system that does not support AMD-V virtualization. From the System Utilities screen, select System Configuration > BIOS/Platform Configuration (RBSU) > Virtualization Options > Intel(R) Virtualization Technology (Intel VT).

What will happen if I disable Hyper-V? ›

Affected applications include VMware Workstation and VirtualBox. These applications might not start virtual machines, or they may fall back to a slower, emulated mode. These symptoms are introduced when the Hyper-V Hypervisor is running.

How do I remove Hyper-V Virtual Switch Extension adapter? ›

Configuration:
  1. Open Hyper-V Manager. ...
  2. In the results pane, under Virtual Machines, find the virtual machine that you want to configure. ...
  3. In the Action pane, under the virtual machine name, click Settings.
  4. In the navigation pane, click the name of the network adapter.
  5. On the Network Adapter page, click Remove.

How do I reinstall my network adapter driver without Internet? ›

Windows 10 - how to uninstall and reinstall network adapter driver without WiFi?
  1. Press Windows key + X and select device manager.
  2. Expand network adapter.
  3. Right click on the driver and uninstall it.
  4. Restart the computer and check the functionality."
May 29, 2016

How do I manually update my network adapter driver? ›

Update the device driver
  1. In the search box on the taskbar, enter device manager, then select Device Manager.
  2. Select a category to see names of devices, then right-click (or press and hold) the one you'd like to update.
  3. Select Search automatically for updated driver software.
  4. Select Update Driver.

How to enable Ethernet through CMD? ›

Type the following command to identify the name of the adapter you want to enable and press Enter: Get-NetAdapter | format-table. Type the following command to disable the Wi-Fi or Ethernet adapter and press Enter: Enable-NetAdapter -Name "YOUR-ADAPTER-NAME" -Confirm:$false.

How do I find the IP address of a device connected to Ethernet? ›

Windows
  1. From the start menu, go to the “Run” option. Type “cmd” in the text box and then click “Okay”.
  2. In the window that pops up, type “ipconfig /all” and hit Enter.
  3. In the information that results, look for “Physical Address….:”. It will be listed under “Ethernet adapter Local Area Connection”.

How do I reinstall my ethernet adapter driver? ›

Step 1: Click on Start and select Device Manager. Step 2: Expand Network Adapters. Step 3: Right-click on the affected driver and select Uninstall device. Step 4: Choose Search automatically for updated driver software.

What to do if Windows does not detect a properly installed network adapter? ›

Right-click Start and select Settings, or use the Win + I keyboard shortcut. Head to Update & Security > Troubleshoot > Additional troubleshooters. Below the Find and fix other problems, select Network Adapter > Run the troubleshooter. Follow the displayed instruction.

Why are my ethernet ports not working? ›

Problems with the wiring

If your Ethernet port in the wall is not working, it is most likely due to a problem with the wiring. First, check the cables. Make sure they are firmly plugged into the ports and that there are no loose wires. If the problem persists, you may need to replace the cables.

How do I enable virtualization extensions in Windows 10? ›

To enable Virtualization without opening BIOS, follow these steps:
  1. Navigate to the Security tab and press Enter on CPU Setup.
  2. Select Intel(R) Virtualization Technology and press Enter.
  3. Choose Enable and press Enter.
  4. Press F10.
  5. Press Enter to select Yes to save the settings and Boot into Windows.
Jun 27, 2022

How do I display a Hyper-V virtual switch? ›

How to monitor network traffic through a Hyper-V Switch
  1. Identify an open physical NIC on the Hyper-V host to connect to the mirror port you have configured in the switch. ...
  2. Open the Hyper-V manager and connect to the desired Hyper-V host to manage.
  3. In the right pane, choose Virtual Switch Manager.

How do I enable Uev? ›

Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft User Experience Virtualization.
...
  1. In a PowerShell window, type Enable-UEV and press ENTER.
  2. Restart the device.
  3. In a PowerShell window, type Get-UEVStatus and press ENTER to verify that the UE-V service was successfully enabled.
Nov 4, 2022

What happens if I enable virtualization on my PC? ›

Virtualization lets your PC emulate a different operating system, like Android™ or Linux. Enabling virtualization gives you access to a larger library of apps to use and install on your PC.

Is enabling virtualization good for PC? ›

Enabling any of these features would enhance security of your system. The reason, they are disabled by default because sometimes you might observe a compatibility issue with certain application. I would recommend you to enable one of them and if everything is working, then enable the other settings.

Is enabling VT good for PC? ›

We highly recommend enabling Virtualization due to the various benefits it provides such as: 5x increase in performance. Allows BlueStacks App Player to use more than 1 CPU core. Eliminates FPS lag/stutter in various games.

Which command is used to display a list of Hyper-V switches? ›

The Get-VMSwitch cmdlet gets the virtual switches from a Hyper-V host. If you specify no parameters, this cmdlet returns all virtual switches from the local Hyper-V host.

How do I change the display settings on a virtual machine? ›

Procedure
  1. Select Window > Virtual Machine Library.
  2. Select a virtual machine in the Virtual Machine Library window and click Settings.
  3. Under System Settings in the Settings window, click Display. ...
  4. Select the Single Window resolution setting. ...
  5. Select the Full Screen resolution setting.
May 31, 2019

How do I access VM in Hyper-V BIOS? ›

These settings are accessible by opening the Hyper-V Manager, right clicking on the VM and choosing the Settings command from the shortcut menu, and then selecting the BIOS option from the VM's Settings screen.

Should I disable virtualization in BIOS? ›

You do not need to disable Virtualization Technology if you are using a VMM or an operating system that does not support AMD-V virtualization. From the System Utilities screen, select System Configuration > BIOS/Platform Configuration (RBSU) > Virtualization Options > Intel(R) Virtualization Technology (Intel VT).

How do I enable virtualization in UEFI BIOS utility? ›

Intel Platform
  1. Power on the system and press[delete] key to enter BIOS [EZ Mode]
  2. Press [F7] key to enter BIOS [Advance Mode] as below picture: ...
  3. Select [Advanced] page and click [CPU Configuration] item.
  4. Select [Intel(VMX) Virtualization Technology] item and set to [Enabled]
Oct 20, 2021

Videos

1. Fix Error applying Virtual Switch Properties changes in Hyper-V on Windows 11/10
(HowtoFixDllExeErrors)
2. How to setup/install Hyper V in Windows 11?
(Tech For All)
3. Dell R620 - adding an SSD Drive and installing Windows Server 2019
(Unkyjoe's Playhouse)
4. Hyper-V: Understanding Virtual Machines
(TechsavvyProductions)
5. Fix the Code 28 Error - The Drivers for This Device Are Not Installed
(The Geek Page)
6. Windows 11/10 Storage Spaces: Use ReFS, build resiliency and data protection
(TechsavvyProductions)
Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated: 02/13/2023

Views: 6774

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.