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
tjieAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.