Hyper-V virtualization - Setup and Use in Windows 10  

Page 37 of 47 FirstFirst ... 273536373839 ... LastLast
  1. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #360

    I need three displays om laptop, built-in and two external. As you can only connect one external display on any normal laptop, I need Miracast for third (second external) display. Any 15007 related testing, be it ISO making, virtualisation, anything, I have to do on virtual machines. Luckily Hyper-V today allows nested virtualisation, I can setup Hyper-V on virtual machine and then virtual machines on that vm.

    My laptop's display setup (1 = laptop's 17" display, 2 = external 24" through HDMI, 3 = 38" TV through Miracast / Microsoft Wireless Display Adapter):
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
      My Computer

  2. johngalt's Avatar
    Posts : 2,418
    Windows 10 build 2004
       #361

    Does this then suggest that you have multiple VMs running simultaneously when testing things?

    If so, that leads me to another question: Do all these guest VMs use the *same* virtual switch you created in Hyper-V?
      My Computers

  3. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #362

    johngalt said:
    Does this then suggest that you have multiple VMs running simultaneously when testing things?

    If so, that leads me to another question: Do all these guest VMs use the *same* virtual switch you created in Hyper-V?
    Naturally. You can only create one external virtual switch per physical NIC on your host, meaning that in most cases you can only have max two external switches (LAN and WLAN NICs). That doesn't mean that you can only run two virtual machines at any given time, or only one virtual machine if there's only one physical NIC / one external virtual switch.

    Think a virtual switch as a virtual router, the router that emulated virtual NIC on all your virtual machines needs to connect to get to network; as multiple physical computers can be connected to a single router at the same time, so can multiple virtual machines be connected to a single virtual switch at the same time.
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
    (Click to pop out, click again to enlarge.)
      My Computer

  4. johngalt's Avatar
    Posts : 2,418
    Windows 10 build 2004
       #363

    Kari said:
    Naturally. You can only create one external virtual switch per physical NIC on your host, meaning that in most case you can have max two external switches (LAN and WKALN NICS).

    Think a virtual switch is a virtual router; as multiple physical computers can be connected to a single router at the same time, so can multiple virtual machines be connected to a single virtual switch at the same time.
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
    That is exactly what I thought when I initially started creating these VMs. However, for whatever odd reason, various little irksome issues made me second guess my thinking. The main issue is that, even back on the build back on October and z November, RDP connected easily to the first VM I started. Sooner I allocate 4 GB per VM, I normally do not run more than 2 at a time, setting as I only have 12 GB installed. But whenever I tried to connect to a second VM in the same user session on the host machine, it gets a lot slower, either taking forever to connect, or not connecting even when the VM is clearly on and running, as seen in VMC.

    But since it is not the virtual switch, I suppose I need to look at other things.
      My Computers

  5. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #364

    You might get some performance increase if you use NIC teaming, assuming you have at least two NICs on host.

    Add a second network adapter to your VM, connect it to second external switch (both VM network adapters must be connected to different external switch!).

    When done, enable NIC Teaming on both adapters:
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
      My Computer

  6. johngalt's Avatar
    Posts : 2,418
    Windows 10 build 2004
       #365

    Kari said:
    You might get some performance increase if you use NIC teaming, assuming you have at least two NICs on host.

    Add a second network adapter to your VM, connect it to second external switch (both VM network adapters must be connected to different external switch!).

    When done, enable NIC Teaming on both adapters:
    Hyper-V virtualization - Setup and Use in Windows 10-image.png
    I do, actually, have dual NICs on my host. I might give that a try. Thanks!
      My Computers

  7. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #366

    Both NICs must have network / Internet connection all the time, otherwise teaming fails.
      My Computer

  8. johngalt's Avatar
    Posts : 2,418
    Windows 10 build 2004
       #367

    Kari said:
    Both NICs must have network / Internet connection all the time, otherwise teaming fails.
    They do, although one is connected directly to my router and another is connect to a such that is connected to the same router, so as long as my cable connection is up, they are connected. Thanks for the advice
      My Computers

  9. johngalt's Avatar
    Posts : 2,418
    Windows 10 build 2004
       #368

    Build 15014 seems to connect instantaneously via RDC to my running VMs without any settigns changes, and without the second Virtual switch added as you suggested.

    I'll keep lookoing at it and see if anything starts acting flaky.
      My Computers

  10. Davy49's Avatar
    Posts : 273
    Windows 10 Pro 64-bit, Version 21H1, Build 19043.899
       #369

    Dear Kari,
    I just wanted to tell you what a GREAT presentation this is..to be honest, I've never tried setting up a virtual machine before. I've already went intp the turn windows features on or off area and enabled the Hyper-V function. Previously, I downloaded and installed VMware Workstation Player because I thought I was going to use that software to setup a virtual machine. The computer I'm typing this on is running Windows 10 Pro 64-bit edition. I downloaded the latest Windows 10 Technical Preview 64-bit edition ISO, to use as my 'Guest' operating system, so far I couldn't get it to run correctly while using the VMware software.
    David
      My Computers


 
Page 37 of 47 FirstFirst ... 273536373839 ... LastLast

Tutorial Categories

Hyper-V virtualization - Setup and Use in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:52.
Find Us




Windows 10 Forums