• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

Hyper -V: Creating Virtual Switch

HI,

This is related to Hyper - V.
I have installed the VM machine called "VM#1"; This "VM#1" is installed in the physical server (Windows Server 2016) which has an internet connection "Network#1".
However, This "VM#1" cannot go to the internet at all. I read that i have to create a "Virtual Switch", maybe...

Question: What is "Virtual Switch"? How to create or install "Virtual Switch" here so the VM#1 can connect to internet?

Thanks,
tjie
0
tjie
Asked:
tjie
  • 3
3 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
In the Hyper-V Manager, on the Actions pane at right, click on Virtual Switch Manager.

Then create a new Virtual Switch with a connection type "External network".  Make sure the "Allow management operating system to share this network adapter" is checked.

Then on the VM, connect the Network Adapter to the External Virtual Switch
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
0
 
tjieAuthor Commented:
@Lee:

I follow your direction as follows:

**** In the Hyper-V Manager, on the Actions pane at right, click on Virtual Switch Manager.

Then create a new Virtual Switch with a connection type "External network".  Make sure the "Allow management operating system to share this network adapter" is checked.

Then on the VM, connect the Network Adapter to the External Virtual Switch ****

The name of the Virtual Switch is Virtual Switch#1.
The outcome: VM#1 is not connected to internet
I check the Status : i can see "Sent =153", but Received =0"
I run the "Diagnose"; it says " Ethernet does not have a valid IP configuration" (This is "Network#1")

I know when I install Hyper - v, i specify the network connection is "Network#1"

There is "Network#2" here......

How I change the "Network#1" to "Network#2"?
I check in the Setting of VM#1, i did not see the "Network#1".....where can i find the "ethernet setting" of this VM?

Thanks
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Do you have a DHCP server?  You find the ethernet setting in exactly the same place you would on a physical computer.  Properties of the network connection in the Network Connections Control Panel WITHIN the VM.

Post screen shots - pictures speak louder and easier than words.  (Take pictures with your phone and post those if you have to)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now