Difference between revisions of "HyperV Networking"

From 24PinTech Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
When creating virtual machines in Windows using Hyper V, and you are expecting to access this server via the network, you will need to create a virtual switch.  If not done properly many issues can arise, such as the issue we encountered for months regarding the networking mistake we made with our web server, more on that below.
When creating virtual machines in Windows using Hyper V, and you are expecting to access this server via the network, you will need to create a virtual switch.  If not done properly many issues can arise, such as the issue we encountered for months regarding the networking mistake we made with our web server, more on that below.


== Creating a Virtual Switch ==
==Creating a Virtual Switch==
The following article goes over the process of creating a virtual switch in Hyper V in Windows 2016 Server.   
The following article goes over the process of creating a virtual switch in Hyper V in Windows 2016 Server.   


https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines.
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines.


Through trial and error we have discovered that it is best to give these VM's a static IP address.  Please check the Static/Reserved IP address page in this Wiki to ensure you do not create a conflict.
Through trial and error we have discovered that it is best to give these VM's a static IP address.  Please check the [http://wiki.24pin.tech/index.php?title=DHCP&oldid=972 Static/Reserved IP address] page in this Wiki to ensure you do not create a conflict.

Latest revision as of 15:51, 22 August 2019

Introduction

When creating virtual machines in Windows using Hyper V, and you are expecting to access this server via the network, you will need to create a virtual switch. If not done properly many issues can arise, such as the issue we encountered for months regarding the networking mistake we made with our web server, more on that below.

Creating a Virtual Switch

The following article goes over the process of creating a virtual switch in Hyper V in Windows 2016 Server.

https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines.

Through trial and error we have discovered that it is best to give these VM's a static IP address. Please check the Static/Reserved IP address page in this Wiki to ensure you do not create a conflict.