Wednesday, June 15, 2016

Hyper-V: No Internet access in a virtual machine

I was trying to install a small development environment on my Surface Book and of course I wanted to use Hyper-V for that. I got Windows Server 2012 and a SQL Server 2014 setup in no time and was actually surprised how well the virtual machine was running... Until I wanted to install the SharePoint PreReqs and realized I had no Internet access. I hope someday, virtualization software will come with one simple button: "Share Internet from Host? Yes/No". But until then, we will always have to work around some restrictions. Those restrictions make sense in a business / company sense, but not for small development environments on notebooks.

So here's how you will get Internet access!
1. Open your Hyper-V Manager
2. Go to the Actions pane and select Virtual Switch Manager
3. Select an existing switch or create a new virtual switch
4. I you created a new switch, choose a name. In any case you will have to select External network under Connection type. Save your changes!
5. Go back to your Hyper-V Manager and select your VM. Change the Network Adapter to your newly created switch and your done!

12 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    the best carding forum

    ReplyDelete
  3. Extremely extraordinary to find such a great blog, I feel lucky examining this. ip address

    ReplyDelete
  4. Each word composed has charmed its group of onlookers in the most one of a kind way. Whois lookup

    ReplyDelete
  5. As commercial Internet development grew in the early 1990s, the NSF realized it was time to back away from publicly funding the "Internet" and grant contracts to large US carriers to take over responsibility for the former US Domestic backbone and ICM portions of the NSFNet.Chrome Browser Using too much computer ram

    ReplyDelete
  6. Once passed you are usually given the credentials, both printed and digitized, you need to show, to yourself and your customers, that you have gone through a credible SEO training program and can provide the utmost in effective services.ann arbor seo

    ReplyDelete
  7. This blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. Assam Ration Card Application

    ReplyDelete
  8. One objective in building efficiency and the performance needed to deliver content resources to end users is to flatten existing Internet architecture.email check

    ReplyDelete
  9. In this fast paced day and age, time is of the essence, so restoring a file should be done in seconds.https://iturbu.com

    ReplyDelete
  10. The computers always search the temporary files to match the latest version of a web page. To speed up internet connection you can clear the web cache to cut down the works the computer needs to do. www.electricalshop.net

    ReplyDelete
  11. This bit of making is genuinely well past.
    jio gigafiber

    ReplyDelete
  12. All virtual office benefit organizations, voice-mail and post box organizations are not alike.https://www.virtualoffice-london.co.uk/

    ReplyDelete