How to Create and Configure Internal Virtual Switch in Hyper-V Manager
The main reason for using an Internal network in the Hyper-V Manager virtualization program is to ensure that the virtual machines are completely independent of the physical network and only communicate with the host computer.
How to Create an Internal Network on Hyper-V
Creating an Internal Switch with Hyper-V is very simple. Before creating 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 then 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
To configure the Internal Switch with Hyper-V on the Windows 10 operating system, follow the steps below.
Step 1
First, run Hyper-V Manager from the Windows menu.
Step 2
From the Actions panel, click the Virtual Switch Manager option.
Step 3
In the Switch Manager window, select the Internal network and click the Create Virtual Switch button.
Step 4
Type a name for the Internal Switch and click the OK button.
Step 5
Open the settings of a virtual machine that you have installed on Hyper-V. For example, you can access the settings by clicking the Right Button / Settings on the Windows 7 virtual machine as follows.
Step 6
Click Network Adapter in the left panel, then select the HyperVInternal you created from the Virtual Switch setting and click OK.
Step 7
Configure a second virtual machine configuration to test the network structure. Select HyperVInternal for Windows 10 as below and click OK.
Step 8
Run the Windows 7 and Windows 10 virtual machines.
Step 9
Configure the Windows 7 network adapter IP settings as follows.
Step 10
Configure the Windows 10 virtual machine IP settings as follows.
Step 11
Ping the virtual machines to the default gateway of 192.168.10.1 to test the connection. Ping operation will fail as in the following image.
Step 12
Ping from Windows 7 to Windows 10 virtual machine will be successful.
Step 13
Pinging from Windows 10 to Windows 7 machine will be successful as follows.
Step 14
Pinging the virtual machines to the default gateway failed because you did not configure the Hyper-V Internal Network virtual key that created on your physical computer. In the network configuration window of your physical computer, click vEthernet.
Step 15
Configure the vEthernet IP configuration as follows and click OK to save the settings.
Step 16
Finally, test the network connection by pinging the virtual machines to the default gateway. Ping the IP address 192.168.10.1 from Windows 7 and Windows 10 virtual machine will be successful as shown in the image below.
Hyper-V Internal Network Configuration ⇒ Video
You can watch the video below to perform the Internal network configuration steps using Hyper-V and also subscribe to our YouTube channel to support us!
Final Word
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 machine. Thanks for following us!
Related Articles
♦ How to Run Hyper-V in Windows 10
♦ How to Enable Hyper-V in Powershell
♦ How to Enable Hyper-V in CMD
♦ How to Install a New VM in Hyper-V
♦ How to Run Windows 10 in Hyper-V
Thank you . helpfull