Hyper-V Virtual mahcine

On windows 2012 R2, i have created one virtual machine. THe principal machine can reach internet but however, the virtual machine cannot access event the gateway. I have a virtual switch which is external in type and the virtual machine is supposed to use this switch to reach the  internet. basically no connectivity from virtual machine.
Who is Participating?

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

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.

Cliff GaliherCommented:
Does the virtual switch have a dedicated NIC? Did you make sure the VM NIC is connected to the virtual switch? Did you check the IP settings for typos? Proper subnet mask, etc? Does the physical NIC have connectivity okay, bad cabling, failed physical port, etc?
shamnadAuthor Commented:
yes it has and that is why the physical machine can connect to the Internet. subnetting is ok. virtual switch type is external which is connected to the physical NIC.
Cliff GaliherCommented:
I guess the point I was trying to make is that a lot of things can cause the symptoms you are seeing. I listed quite a few. You'll need to do some troubleshooting to narrow down the problem, and then posting more specific information will help experts such as myself give you better advice. But for now, the potential issues are just too many and too broad.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

shamnadAuthor Commented:
I will narrow it down.

In parent machine there is a virtual switch which is external in nature. Parent machine can reach to the Internet without any issues. VM cannot connect to the default gateway and ip address has been entered manually. WIth regard to the ip scheme, everything is in order and still cannot even reach the designated gateway.

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
Cliff GaliherCommented:
Is the VM NIC attached to the virtual switch? Did you check cabling? Did you change the physical NIC properties after creating the virtual switch?
David Johnson, CD, MVPOwnerCommented:
from the vm do an ipconfig /all and check the settings they should be in the same subnet as the host machine and use the same gateway as the host machine.
shamnadAuthor Commented:
it is in the same subnet
shamnadAuthor Commented:
cliff yes i changed the physical net adapter and then link the new adaptor to the virtual switch.
Cliff GaliherCommented:
Yes,  it did you attach the *VM's* virtual NIC (under VM settings to the virtual switch? If it is "not connected" then having a virtual switch does no good.
A. Cristian CsikiSenior System AdministratorCommented:

make a bridge between the vm switch and the host's connection adapter in host environment.

shamnadAuthor Commented:
as i cannot find anything remotely the solution
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

From novice to tech pro — start learning today.