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.
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.
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.
Click Network Adapter in the left panel, then 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.
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.
Ping from Windows 7 to Windows 10 virtual machine will be successful.
Pinging from Windows 10 to Windows 7 machine will be successful as follows.
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.
Configure the vEthernet IP configuration as follows and click OK to save the settings.
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!
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!