How to Create and Configure Internal Virtual Switch in Hyper-V Manager

This article will examine how to create and configure an Internal Virtual Switch to enable running virtual machines wholly isolated from a physical network with Hyper-V Manager, an excellent virtualization solution used in Windows 10 or Windows 11 operating systems.

How to Create and Configure Internal Virtual Switch in Hyper-V Manager

How to Create an Internal Network on Hyper-V

The main reason for using an Internal network in the Hyper-V Manager virtualization program is to ensure that the virtual machines are entirely independent of the physical network and only communicate with the host computer.

Creating an Internal Switch with Hyper-V is very simple. Before making this network structure, you can take a look at our article Create External Virtual Switch.

To better understand the Internal network using Hyper-V, create two virtual machines and follow the steps in this article. Ping between virtual machines will be successful, and Ping will also be available on the physical computer’s network card.

How to Configure Internal Network

Here are the steps to configure the Internal Switch with Hyper-V on the Windows 10/11 operating system:

Step 1

First, run Hyper-V Manager from the Windows menu.

Running Hyper-V Manager

Step 2

From the Actions panel, click the Virtual Switch Manager option.

Virtual Switch Manager

Step 3

In the Switch Manager window, select the Internal network and click the Create Virtual Switch button.

Create Virtual Switch

Step 4

Type a name for the Internal Switch and click the OK button.

Naming the Internal Virtual Switch

Step 5

To configure the settings of a virtual pc installed on Hyper-V, you need to open its settings window within the Hyper-V Manager. For example, you can access the settings by clicking the Right Button / Settings on the Windows 7 virtual machine.

Windows 7 Virtual Machine Settings

Step 6

Click Network Adapter in the left panel, select the HyperVInternal you created from the Virtual Switch setting, and click OK.

Configure a Virtual Machine as an Internal Network

Step 7

Configure a second virtual machine configuration to test the network structure. Select HyperVInternal for Windows 10 as below and click OK.

Configuring the Network Adapter

Step 8

Run the Windows 7 and Windows 10 virtual machines.

Running Virtual Machines

Step 9

Configure the Windows 7 network adapter IP settings as follows.

Windows 7 IP Settings

Step 10

Configure the Windows 10 virtual machine IP settings as follows.

Windows 10 IP Settings

Step 11

To test the network connection, ping the default gateway of 192.168.10.1 from the virtual appliances. Ping operation will fail, as in the following image.

Ping the Default Gateway

Step 12

Ping from Windows 7 to Windows 10 virtual machine will be successful.

Ping 192.168.10.10

Step 13

Pinging from Windows 10 to Windows 7 machines will be successful as follows.

Ping 192.168.10.7

Step 14

The reason for the failed result when pinging the default gateways of the virtual machines is the absence of a configured Internet Network Switch on your physical computer.

vEthernet Configuration

Step 15

Configure the vEthernet IP configuration and click OK to save the settings.

vEthernet IP Address Configuration

Step 16

Finally, test the network connection by pinging the virtual machines to the default gateway. The image below illustrates that pinging the IP address 192.168.10.1 from Windows 7 and Windows 10 guest machines is successful.

Ping Success

Hyper-V Internal Network Configuration ⇒ Video

You can watch the video below to perform the Internal network configuration steps using Hyper-V and subscribe to our YouTube channel to support us!

Conclusion

In this article, we have created an Internal Virtual Switch and examined how virtual machines communicate in this network structure. In short, with this type of network, virtual machines operate independently of the physical network. And also, virtual machines can only access the physical device. Thanks for following us!

Related Articles


How to Configure Private Switch on Hyper-V
How to Connect a Virtual Machine to the Internet on Hyper-V
♦ How to Enable Hyper-V in CMD
♦ How to Install a New VM in Hyper-V
♦ How to Run Windows 10 in Hyper-V

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *