Here is the step by step hyper v network configuration tutorial for setting up internal or external bridge connection on Windows 10/8/7. Hyper-V network passthrough allows us to connect the internet as well as local LAN resources simultaneously.
Hyper-V network configuration is not like VirtualBox, very straight forward, instead of for a new user, it would be slightly cumbersome because of multiple steps. Out of other settings of its network one imp. element is setting up of bridge connection, here we discuss that.
All the virtualization platforms come with bridge network support that we can use to couple two different networks into one. Means we can use the bridge network to connect two similar or dissimilar LAN segments and the bridge can be regarded as a message classification device to view the address of the data packet and send it to the appropriate network segment.
Bridging allows us to bridge the local physical network and the virtual network card by the virtual switch. The physical network card and the virtual network card are in the same position on the topology map, that is, the physical network card and the virtual network card are equivalent to being in the same network segment, virtual. The switch is equivalent to a switch in a real network, so the IP addresses of the two network cards will be set to the same network segment.
What is the benefit of using a bridge network in virtual machines?
By default, the Guest virtual machine uses different subnet and host different, using NAT (network address translation) function, that is to say, the network card of the virtual machine and the network of the physical network card are not in the same network. However, with the help of it Guest VMs can access the internet connectivity available on host adapter but not the local resources running on LAN, thus, we use bridge connection; when we want to use virtual machines in the LAN and provide services to other PCs on the LAN, such as FTP, ssh, HTTP services etc.
Note: NAT service allows translation of one set of network IP address to another, the main reason for developing it to save the limited amount of IPv4 address range in a public network. It translates the private IP address to the public, so our machine can talk to outside word’s systems using the Internet.
In this tutorial, we will learn how to create a bridge network in Hyper-V Manager on Windows 10/8/7 or server OS.
Simply, go to your respective Windows OS and search for Hyper-V manager, as it appears, click to run it. If you are new to it then see this tutorial – on how to enable Hyper-V to install and run Virtual Machine on it.
As you open the Hyper-V Manager on the right side you will see an Action Panel, where you will find the Virtual Switch Manager option. Click that to access it.
On the window of Virtual Switch Manager, we will create a new network Switch for our running virtual machines. For that select “New Virtual network Switch” and then External. We are selecting external because we want to set up a bridge with the host network. Now, click on Create Virtual Switch button.
Give some name to your new virtual switch on Hyper-V and then select the host adapter. Here our host adapter is Intel(R) Dual Band WIreless-AC 7260. After that finally, click on the OK button to set up the bridge network between host and guest machines.
Note: Here we are using a Name “Bridge-H2s” you can use whatever you want.
When it asks for your permission to create a bridge adapter that for a moment will disrupt the host connect and then reconnect it. Give that by pressing the Yes button.
Now, we already have the bridge adapter and its time to attach it to our guest virtual machines running on Hyper-V manager. For that, go to your Virtual Machine, here we are using Ubuntu-based Elementary OS, so we are selecting that.
After that select the Settings option corresponding to that particular VM available in the right-side panel of Hyper-V.
On the hardware column, go to Network Adapter and then from the Virtual Switch drop-down box select the adapter you have created in Step 4 of this article. We have created the Bridge -H2S, so we are selecting the same. And after that click on the OK button.
Now, open your virtual machine, go to command terminal. If you are using Windows type: ipconfig and for Linux systems use: ifconfig. If Linux says command is not available then install the net-tools:
For Debian or Ubuntu
sudo apt-get install net-tools
For Redhat or CentOS
sudo yum install net-tools
In the below screenshot, you can see both Virtual Machine and host operating systems are on the same IP addresses.
Well! In this way, we can set a hyper-v bridge connection for internal or external networks. If you get any problem let us know, the comment section is all yours.
Schema checkers are tools to test out whether the deployment of Structured data is done…
Lets' change the default position of the taskbar of Windows 10 to vertical left or…
XPG battleground XL prime gaming mouse pad (review) offers RGB lights with water resistance property…