Hyper V - connecting to the internet

adam

New Member
Messages
8
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 Computer

System One

  • OS
    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 Computer

System One

  • OS
    windows 8
    System Manufacturer/Model
    samsung 700t tablet
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 Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    HP COMPAQ Presario CQ57
    CPU
    AMD E- 300 APU with Radion HD Graphics 1.30GHz
    Motherboard
    inbuilt
    Memory
    4GB
    Graphics Card(s)
    ATI
    Sound Card
    High Definition Audio on-board
    Monitor(s) Displays
    notebook
    Screen Resolution
    1366x768
    Hard Drives
    Seagate ST9500325AS
    Google drive 15GB
    Skydrive 25GB
    BT Cloud
    PSU
    external 20v
    Case
    Laptop
    Cooling
    pretty good
    Keyboard
    inbuilt
    Mouse
    touchpad
    Internet Speed
    BT Infinity Unlimited - 80 up 20 down =70/16 really
    Browser
    Chrome Canary usually
    Antivirus
    Windows Defender and Malwarebytes
    Other Info
    no Start menu modifications
    Upgraded with no issues to 8.0 and to 8.1
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:

My Computer

System One

  • OS
    windows 8
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:
Screenshot (30).png

That should produce the network bridge.

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

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    HP COMPAQ Presario CQ57
    CPU
    AMD E- 300 APU with Radion HD Graphics 1.30GHz
    Motherboard
    inbuilt
    Memory
    4GB
    Graphics Card(s)
    ATI
    Sound Card
    High Definition Audio on-board
    Monitor(s) Displays
    notebook
    Screen Resolution
    1366x768
    Hard Drives
    Seagate ST9500325AS
    Google drive 15GB
    Skydrive 25GB
    BT Cloud
    PSU
    external 20v
    Case
    Laptop
    Cooling
    pretty good
    Keyboard
    inbuilt
    Mouse
    touchpad
    Internet Speed
    BT Infinity Unlimited - 80 up 20 down =70/16 really
    Browser
    Chrome Canary usually
    Antivirus
    Windows Defender and Malwarebytes
    Other Info
    no Start menu modifications
    Upgraded with no issues to 8.0 and to 8.1
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 Computer

System One

  • OS
    windows 8
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 Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    HP COMPAQ Presario CQ57
    CPU
    AMD E- 300 APU with Radion HD Graphics 1.30GHz
    Motherboard
    inbuilt
    Memory
    4GB
    Graphics Card(s)
    ATI
    Sound Card
    High Definition Audio on-board
    Monitor(s) Displays
    notebook
    Screen Resolution
    1366x768
    Hard Drives
    Seagate ST9500325AS
    Google drive 15GB
    Skydrive 25GB
    BT Cloud
    PSU
    external 20v
    Case
    Laptop
    Cooling
    pretty good
    Keyboard
    inbuilt
    Mouse
    touchpad
    Internet Speed
    BT Infinity Unlimited - 80 up 20 down =70/16 really
    Browser
    Chrome Canary usually
    Antivirus
    Windows Defender and Malwarebytes
    Other Info
    no Start menu modifications
    Upgraded with no issues to 8.0 and to 8.1
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: http://www.eightforums.com/tutorials/19359-hyper-v-virtual-switch-manager.html

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
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 Computer

System One

  • OS
    Win8 Pro x64 with MC
    Computer type
    PC/Desktop
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 Computer

System One

  • OS
    Windows 10 x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Envy DV6 7250
    CPU
    Intel i7-3630QM
    Motherboard
    HP, Intel HM77 Express Chipset
    Memory
    16GB
    Graphics Card(s)
    Intel HD4000 + Nvidia Geforce 630M
    Sound Card
    IDT HD Audio
    Monitor(s) Displays
    15.6' built-in + Samsung S22D300 + 17.3' LG Phillips
    Screen Resolution
    multiple resolutions
    Hard Drives
    Samsung SSD 250GB + Hitachi HDD 750GB
    PSU
    120W adapter
    Case
    small
    Cooling
    laptop cooling pad
    Keyboard
    Backlit built-in + big one in USB
    Mouse
    SteelSeries Sensei
    Internet Speed
    slow and steady
    Browser
    Chromium, Pale Moon, Firefox Developer Edition
    Antivirus
    Windows Defender
    Other Info
    That's basically it.
As I understand it, MS did it for speed/responsiveness of the VM. But I don't get that either considering the power of modern processors.
 

My Computer

System One

  • OS
    Win8 Pro x64 with MC
    Computer type
    PC/Desktop
As I understand it, MS did it for speed/responsiveness of the VM. But I don't get that either considering the power of modern processors.


I'd be impressed too if it's just for speed.

For example for VirtualBox and VMware it's the other way around: 32bit is optimized for more speed, it means they modified the code so that you get accelerations on 32bit color (notice flawless mouse movements and better fps).

MS removed 16bit color from Win8 hosts, so they do promote better quality. But this means that a Win8 VM in Hyper-V on another 8 (host) will be in 16bit color with the integration services. :confused: Or there are exceptions to the resolutions rule. :)

So far I only tested XP VM in Hyper-V so I can't tell if we get 16 bit color in any other guest with integration services.

Thanks for the info.
 

My Computer

System One

  • OS
    Windows 10 x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Envy DV6 7250
    CPU
    Intel i7-3630QM
    Motherboard
    HP, Intel HM77 Express Chipset
    Memory
    16GB
    Graphics Card(s)
    Intel HD4000 + Nvidia Geforce 630M
    Sound Card
    IDT HD Audio
    Monitor(s) Displays
    15.6' built-in + Samsung S22D300 + 17.3' LG Phillips
    Screen Resolution
    multiple resolutions
    Hard Drives
    Samsung SSD 250GB + Hitachi HDD 750GB
    PSU
    120W adapter
    Case
    small
    Cooling
    laptop cooling pad
    Keyboard
    Backlit built-in + big one in USB
    Mouse
    SteelSeries Sensei
    Internet Speed
    slow and steady
    Browser
    Chromium, Pale Moon, Firefox Developer Edition
    Antivirus
    Windows Defender
    Other Info
    That's basically it.
As I understand it, MS did it for speed/responsiveness of the VM. But I don't get that either considering the power of modern processors.


Hyper-V on Windows 8 is mainly for testing and deployment. It allows QA teams and devs to test patches and software or to allow admins to stage servers before migrating them to production. Microsoft wasn't necessarily aiming for the same market that VMware Workstation targets.
 

My Computer

System One

  • OS
    Windows Server 2012 Standard w/Hyper-V
    Computer type
    PC/Desktop
    System Manufacturer/Model
    HP ProBook 4430s
    CPU
    Intel Core i3-2310M
    Memory
    16GB DDR3
    Hard Drives
    80GB Intel 320 SSD
    500GB Samsung Momentus
MS removed 16bit color from Win8 hosts, so they do promote better quality. But this means that a Win8 VM in Hyper-V on another 8 (host) will be in 16bit color with the integration services. :confused: Or there are exceptions to the resolutions rule. :)
Windows 8.x and Server 2012/R2 use 32bit color by default. Windows 7 with ICs uses 16bit color by default, but with a RemoteFX video card in the VM, 32bit options are enabled. XP VMs would still use 16bit color, even with the IC's installed.
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    Intel Core i7 4790K @ 4.5GHz
    Motherboard
    Asus Maximus Hero VII
    Memory
    32GB DDR3
    Graphics Card(s)
    Nvidia GeForce GTX970
    Sound Card
    Realtek HD Audio
    Hard Drives
    1x Samsung 250GB SSD
    4x WD RE 2TB (RAIDZ)
    PSU
    Corsair AX760i
    Case
    Fractal Design Define R4
    Cooling
    Noctua NH-D15
MS removed 16bit color from Win8 hosts, so they do promote better quality. But this means that a Win8 VM in Hyper-V on another 8 (host) will be in 16bit color with the integration services. :confused: Or there are exceptions to the resolutions rule. :)
Windows 8.x and Server 2012/R2 use 32bit color by default. Windows 7 with ICs uses 16bit color by default, but with a RemoteFX video card in the VM, 32bit options are enabled. XP VMs would still use 16bit color, even with the IC's installed.

Thanks for the clear answer. :thumb:
 

My Computer

System One

  • OS
    Windows 10 x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Envy DV6 7250
    CPU
    Intel i7-3630QM
    Motherboard
    HP, Intel HM77 Express Chipset
    Memory
    16GB
    Graphics Card(s)
    Intel HD4000 + Nvidia Geforce 630M
    Sound Card
    IDT HD Audio
    Monitor(s) Displays
    15.6' built-in + Samsung S22D300 + 17.3' LG Phillips
    Screen Resolution
    multiple resolutions
    Hard Drives
    Samsung SSD 250GB + Hitachi HDD 750GB
    PSU
    120W adapter
    Case
    small
    Cooling
    laptop cooling pad
    Keyboard
    Backlit built-in + big one in USB
    Mouse
    SteelSeries Sensei
    Internet Speed
    slow and steady
    Browser
    Chromium, Pale Moon, Firefox Developer Edition
    Antivirus
    Windows Defender
    Other Info
    That's basically it.
Back
Top