Windows 8 and 8.1 Forums


Hyper V - connecting to the internet

  1. #1


    Posts : 8
    windows 8

    Hyper V - connecting to the internet


    Hi,
    I've Windows 8 Pro, I've enabled the Hyper-V and I've created two VM's. One is a WinXP and the other is a Win7. They seem to be working fine, however I can't connect to the internet with them or view them on my lan. I've tried using Legacy network Adapters, network adapters, googled to find people saying things like there's issues with my physical network setup...frustration has set in and I'm now looking for help!

    Can someone point me to some instructions somewhere or give me a hand?

    Thanks!

    Adam.

      My System SpecsSystem Spec

  2. #2


    Posts : 4
    windows 8


    First check you have created an "external" network in Hyper-v manager. Right click machine w8 name, virtual switch manager, highlight external and create virtual switch.
    Set your vm to to use this network in settings, network adapter, virtual switch.
    That allows the vms to get out on the network. then you will have to ensure they either get a dhcp assigned valid address and dns server (to find the internet) or manually configure within the VMs with valid IP addresses.
    By going into the cmd prompt on VMs run ipconfig - you should see valid ip addresses. If 169.254... then you do have a network issue.
      My System SpecsSystem Spec

  3. #3


    Portsmouth Hants
    Posts : 772
    Windows 8.1 Pro with Media Center


    You may need to create a network bridge to allow the virtual switch to connect via your active internet connection - either the Wireless or ethernet adapter. Then the bridge will assume the TCP/IP properties of your internet connection, allowing both the VM and your physical machine to connect to the internet.
      My System SpecsSystem Spec

  4. #4


    Posts : 8
    windows 8


    Thanks guys,
    I've created the external network and linked the VM's to it, no luck. When I start the VM, there is no network available to it to connect to, only an "unidentified Network". Also when I open a CMD prompt and type ipconfig it comes up with an IP not in the same range as my physical machine and the Tunnel Adapter says media not connected.

    Also on my physical machine, I've 2 adapters that seem to be from the Hyper-V that are "unplugged" - Ethernet and vEthernet (External Virtual Switch). Is that normal? Should I bridge one of those with my WiFi? Because when I do the Ethernet adapter errors and the other one bridges fine but nothing happens.

    So Frustrating!
    Last edited by adam; 20 Jan 2013 at 12:28.
      My System SpecsSystem Spec

  5. #5


    Portsmouth Hants
    Posts : 772
    Windows 8.1 Pro with Media Center


    On your physical computer, in Network and Sharing Center go to change adapter settings as below, assuming the Ethernet connection (wired) is your internet connection:
    Click image for larger version

    That should produce the network bridge.

    I would restart to get everything settled - it should add the IP configuration to the bridged connection
      My System SpecsSystem Spec

  6. #6


    Posts : 8
    windows 8


    So I bridged my connection and it didn't make a difference. The vEthernet (External Virtual Switch) also still says unplugged. I then thought there was something I did wrong with the Windows 7 install so I installed another VM, this time Windows XP Pro, however it's not working either. Under Network Connections it has a "Local Area Connection 2" that is enabled, however I can't see my physical machine nor can I access the internet.

    Any other ideas?
      My System SpecsSystem Spec

  7. #7


    Portsmouth Hants
    Posts : 772
    Windows 8.1 Pro with Media Center


    You might find it most instructive to look online to see how others have done it - I googled

    create virtual network hyper-v

    and most of the results you will get will be relevant.

    the youtube videos in particular should be instructive to watch and work through on your machine.
      My System SpecsSystem Spec

  8. #8


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    There's no need to create network bridges manually. Also do not change vm network adapter to legacy adapter when installinng XP or later Windows to Hyper-V virtual machine; legacy adapter is only needed with pre-XP Windows vms and Linux / Unix vms.

    This tutorial tells you how to work with Hyper-V virtual switches: Hyper-V Virtual Switch Manager

    Kari
      My System SpecsSystem Spec

  9. #9


    Posts : 2
    Win8 Pro x64 with MC

    2 Ways to Hook-up VM to internet for XP VM created w/ WVM


    These two methods worked for me with slightly different user experiences with VM's created with Windows Virtual Machine.

    After setting up VM with a virtual switch you can either "Insert Integration Services Setup Disk" or or add "Legacy Network Adapter" for LAN. Bridging is for WAN.

    If you want 32-bit color (do not install "Insert Integration Services Setup Disk") add a "Legacy Network Adapter".
    Through Hyper V Manger select your VM and in the right pane click "Settings", it should open to "Add Hardware", select "Legacy Network Adapter" and click "Add". For the "Virtual switch" pull down select your virtual switch you created.

    -OR-

    Open your VM and under the "Action" menu select "Insert Integration Services Setup Disk". This is similar to "Virtual Machines Additions". After installing the services you will only have 16-bit color as your choice. But should be hooked up to the internet.
      My System SpecsSystem Spec

  10. #10


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by ndcloud View Post
    If you want 32-bit color (do not install "Insert Integration Services Setup Disk") add a "Legacy Network Adapter".
    Through Hyper V Manger select your VM and in the right pane click "Settings", it should open to "Add Hardware", select "Legacy Network Adapter" and click "Add". For the "Virtual switch" pull down select your virtual switch you created.
    I still wonder why we get only 16bit color after the installation of the Intergration Services. Compared to VMware and VBox this is the other way around regarding VM graphics drivers. I do know that the last two are type 2 hypervisors but still, 32bit graphics requires a driver that supports it, be it included in the VM additions or not.
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Hyper V - connecting to the internet
Related Threads
BSOD while connecting to Internet in BSOD Crashes and Debugging
Hey guys, So I just installed windows 8.1 and as soon as I try and connect to my broadband dial-up I get a BSOD kernel_security_check_failure :think:
Solved BSOD connecting to internet in BSOD Crashes and Debugging
I face this BSOD on my windows 8.1. Please read the dmp.file
hey tech guys' please help me out, i connected my pc to the internet and after 10secs it shows BSOD with bad pool caller.
After i updated to Windows 8.1 Enterprise from Windows 8 Enterprise, Hyper-V does not function correctly. When I add an iso image to a new virtual server or start one of my existing, I can see the iso file is loaded in the bottom thumbnail. But when I connect to the virtual server it just says:...
About connecting to internet in Network & Sharing
Sir I have one small doubt ie., at present I am getting connected to internet using two ways cable broadband connection and internet services provided by mobile(2G). Cable broadband is connected to system through modem and mobile broadband connected to system through USB. I want to download...
Internet Connecting Problem in Network & Sharing
ISP disconnecting after 3 hours... when i am connecting again it's says like that video.. i restarted the PC then it's connected.. why i can't connecting that time without restarted... http://www.youtube.com/watch?v=bdVjbEv895Y
This is a strange occurrence for me and has never happened to me before. It happened yesterday when my computer started not responding and lead to an eventually Explorer.exe crash. after much troubleshooting today i found out that if i do a non safe mode boot, i can get the computer to respond by...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook