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 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:
First, run Hyper-V Manager from the Windows menu.
From the Actions panel, click the Virtual Switch Manager option.
In the Switch Manager window, select the Internal network and click the Create Virtual Switch button.
Type a name for the Internal Switch and click the OK button.
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.
Click Network Adapter in the left panel, select the HyperVInternal you created from the Virtual Switch setting, and click OK.
Configure a second virtual machine configuration to test the network structure. Select HyperVInternal for Windows 10 as below and click OK.
Run the Windows 7 and Windows 10 virtual machines.
Configure the Windows 7 network adapter IP settings as follows.
Configure the Windows 10 virtual machine IP settings as follows.
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 from Windows 7 to Windows 10 virtual machine will be successful.
Pinging from Windows 10 to Windows 7 machines will be successful as follows.
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.
Configure the vEthernet IP configuration and click OK to save the settings.
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.
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!
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!
♦ 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