i can't get network access with my virtual network adapter in windows server 2012.

I can't find the network adapter when i load up my vm and i can't enable from the network and sharing center on the host machine. It just states no network access
bjd46410Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Cliff GaliherConnect With a Mentor Commented:
You have to add a network adapter to the VM. Creating a virtual switch is only *half* of the solution. I asked what your host OS was because it is easier for me to post powershell commands than it is to manufacture screengrabs that would fit your environment.

A virtual switch is *just* a switch. Just like buying a real switch. If the computer (or VM) isn't "plugged in" to the switch, it won't have any access. On each VM, you must add an adapter and select which switch you want the virtual adapter for that VM to be plugged into. The fact that you aren't seeing a virtual adapter in the VM tells me you haven't added one *to* the VM yet. You only created a switch and expected it to work.

As an aside, unless you need the host to access the virtual switch for some reason, you *still* shouldn't be seeing anything in the host. You shouldn't even *have* a virtual adapter in the host. That only gets created if you manually create it via powershell or check the "share with management OS" checkbox in the virtual switch GUI....and it does what it sounds like, it shares the NIC with the VMs and the management OS. Which, in general, is not a best practice. So I stand by my previous statements that what you see in the host has *no bearing* on the VM. If you aren't adding virtual adapters *SPECIFICALLY* to the VM (and creating a switch does NOT do this automatically) then you can't expect the VMs to magically just work.
0
 
Cliff GaliherCommented:
Network and sharing center in the host will have no bearing on the guest. Did you add a virtual adapter in the VM settings in hyper-v manager? Or are you usng SCVMM or similar management software?
0
 
bjd46410Author Commented:
I added the virtual adapter and when I look at it in network and sharing it says no internet access. I t also cannot be seen in the vm
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Cliff GaliherCommented:
As I said, the host has no bearing. I'm not sure why you are expecting the host to have internet access via a VMs virtual adapter. What version of hyper-v are you running?
0
 
rindiCommented:
What OS is your VM? have you installed the Hyper-V integration services? On newer m$ OS's they should be included, but I'd still install them manually.
0
 
bjd46410Author Commented:
I opened the hyper v manager and created a virtual adapter with the virtual switch manager. It shows that it has internet access. NOw i open up my vm and cannot find the network adapter that i just enabled
0
 
bjd46410Author Commented:
I did install the integrated services but i still can't find the network adapter
0
 
bjd46410Author Commented:
it was the Share with management os that kept it from being accessed.
Thanks
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.

All Courses

From novice to tech pro — start learning today.