Hyper-V virtualization - Setup and Use in Windows 10  

Page 2 of 47 FirstFirst 123412 ... LastLast

  1. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #10

    Slartybart said:
    I created a Network bridge between the physical wireless adapter and the virtual adapter, selecting wifi in the bridge properties. This might be due to the fact that I chose an internal virtual adapter instead of external when I set up the Win10 VM. Some quick research mentioned it was more secure - it's all new to me.
    Internal switch is more secure because it has no Internet access, it can only communicate with the local network. A bridged internal switch is no longer internal switch.

    Slartybart said:
    One note - I mucked around with the virtual adapter, changing some options - that produced a warning dialog telling me that all options would be disabled (including IP4 and IP6-I can't recall if it said the physical or the virtual). So I canceled and left it alone.

    The bridge makes my connections go limited as it tries to connect to a machine that might not be running, but it clears up in a few seconds and my Internet connection doesn't seem to be affected.
    As soon as you created the bridge, your internal switch became external. The setup you have now is an external switch setup, you are most definitely not using internal switch. This is important to understand so I repeat it: An internal switch is a switch which is connected to local network only but has no internet access. To connect to Internet you need to select an external switch. Bridging an internal switch will create a de facto external switch but can bring connectivity issues.

    This from my tutorial at Eight Forums:

    A Virtual Switch can be external, internal or private.
    • External Virtual Switch: will connect a vm to host NIC. If host NIC is connected to Internet through router, the vm is also connected to Internet. If host NIC (LAN) is not connected to router or if the router has no Internet access, the internal network will still work allowing computers (physical and vm) belonging to the same subnet and workgroup or domain to communicate with each other (file and media sharing etc.). When connecting external switch to host WLAN NIC, the vm loses all connectivity when WLAN is disabled or not connected on host.
    • Internal Virtual Switch: When a virtual NIC is connected to Internal VS it can communicate with other computers and vms on the same subnet but has no Internet access.
    • Private Virtual Switch: When a virtual NIC is connected to Private VS it can communicate with other vms on same Hyper-V server but cannot communicate with host PC nor has it Internet access. A Private vs is often needed when installing a legacy Linux or pre-XP Windows vm. After installation you need then to disable Private Switch and use Internal or External to connect to the network.

    In your case, to get rid of those minor issues, I would disconnect and delete the bridge, create an external switch and change settings for each of your virtual machines to set them use the external switch you created.

    When you create an external switch assigning a WLAN adapter to it, Hyper-V takes care of creating the bridge with correct settings.

    Kari
    Last edited by Kari; 04 Oct 2014 at 18:36.
      My Computer


  2. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #11

    Thanks Kari. I eventually did replace the 'hack' with an external switch and I noticed the bridge it created had the Hyper-V protocol installed. I had tried that a few times on the internal vs with a bridge and ended up breaking it. It was easy enough to fix, but using an external switch is a cleaner way to establish internet connectivity. All of the correct protocols are installed for you.

    Bill
    .
      My Computer


  3. Posts : 636
    Windows 10 PRO 64Bit
       #12

    Hyper-V Virtual Switch


    I am trying to get the Windows 10 Preview installed and running on my Windows 8.1 system. When I follow the instructions to create the external virtual switch I lose the Internet Connection for both operating systems. As soon as I remove that virtual switch I get back my Internet connection for 8.1.

    I am trying out the various options when creating the virtual switch without success. I have started to uninstall programs which use the Internet connection, nothing yet. Microsoft help suggests turning the modem off and on , nope that does not change anything.

    If anyone has any ideas on what to try to get this virtual switch working, it would be appreciated.
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #13

    alkaufmann said:
    I am trying to get the Windows 10 Preview installed and running on my Windows 8.1 system.
    ...
    Please post these two screenshots here:

    • Open the Virtual Switch Manager, select the virtual switch you want to connect to the Internet on the left pane and now take a screenshot of the whole virtual switch window
    • A screenshot of your Control Panel\Network and Internet\Network Connections window

    Screenshot posting instructions: https://www.tenforums.com/tutorials/1...en-forums.html

    Kari
      My Computer


  5. Posts : 636
    Windows 10 PRO 64Bit
       #14

    Thanks for the quick reply! It sort of figures that the next thing I try fixes my problem. What I did was uncheck Internet Protocol Version 6 (TCP/IPv6) in the properties of the network connection. Then I created the virtual switch and everything worked as it should.
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #15

    Good to know you got it sorted out :).
      My Computer


  7. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #16

    A few questions:

    1) Can the Connection bar be permanently unpinned?
    I can unpin it and it is hidden until I mouse near the the top of he window - that's great.
    The next time I start the VM, I have to unpin it - is there a Hyper-V setting that controls this? All I could find were references to Remote Desktop. I'll keep looking, but thought I'd ask here.
    Can't post a screenshot - the connection bar isn't captured. It's the blue bar identifying the VM on the host at the top of the full screen VM.

    2) Win7 Home Premium is a lousy guest. It does not have integration services
    I tried to fool it by installing the integration services from Virtual PC on my Win7 Hyper-V but Win7 complained about it being installed outside of Virtual PC. I might try loading the Virtual PC integrations services though the vDVD for Win7.
    I'm probably just banging my head against the wall on this due to my Win7 being Home Premium. Any thoughts or first hand experience are welcome.

    The host and two Hyper-V machines are running surprisingly well on this laptop with 6 GB ram.

    I'll try adding a third - Linux Mint Mate.

    Bill
    .
      My Computer


  8. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #17

    Slartybart said:
    Can the Connection bar be permanently unpinned?
    Sorry I do not understand what you mean with "Connection Bar". Could you please explain more, maybe a screenshot?

    Slartybart said:
    Win7 Home Premium is a lousy guest. It does not have integration services
    I'll install Home premium and test, will come back with possible findings.

    Slartybart said:
    I'll try adding a third - Linux Mint Mate.
    Linux Mint is a bit tricky Hyper-V guest, will add a tut later. Try CentOS, runs fully integrated (Hyper-V VM - Install CentOS Linux in Windows 10) in Hyper-V, or Ubuntu which also runs very well as guest, below an Ubuntu Hyper-V guest shown used from my Windows 10 host over Remote Desktop Connection to utilize full screen on secondary display (changing resolution of Linux guests in Virtual Machine Connection is if not impossible but bloody difficult!):

    Hyper-V virtualization - Setup and Use in Windows 10-screenshot-9-.png
    Last edited by Kari; 08 Oct 2014 at 11:37. Reason: Added screenshot
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #18

    Tested Seven Home Premium in Hyper-V (one of the first times ever I have installed a Home edition!), it runs OK but as you said without integration services. As it is not officially supported Hyper-V guest (Seven Pro or better, Eight and later, Server 2012 and later are supported) that is quite logical.

    Hyper-V virtualization - Setup and Use in Windows 10-2014-10-08_22h54_59.png
    Last edited by Kari; 08 Oct 2014 at 16:52.
      My Computer


  10. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #19

    Slartybart said:
    .....

    1) Can the Connection bar be permanently unpinned?
    .....
    Can't post a screenshot - the connection bar isn't captured.

    It's the blue bar identifying the VM on the host at the top of the full screen VM.

    2) Win7 Home Premium is a lousy guest. It does not have integration services
    .....

    I'll try adding a third - Linux Mint Mate.
    Kari said:
    .....
    Linux Mint is a bit tricky Hyper-V guest, will add a tut later. Try CentOS, runs fully integrated (Hyper-V VM - Install CentOS Linux in Windows 10) in Hyper-V, or Ubuntu which also runs very well as guest, below an Ubuntu Hyper-V guest shown used from my Windows 10 host over Remote Desktop Connection to utilize full screen on secondary display (changing resolution of Linux guests in Virtual Machine Connection is if not impossible but bloody difficult!):
    The connection bar It's the blue bar identifying the VM on the host at the top of the full screen VM.
    Select the Hyper-V view -> full screen to see it.

    Thought I might be able to grab a screen shot with Ctrl-Alt-PrScn, but nope - the Connection Bar is not picked up in that or Snipping tool. I could draw it for you if you'd like :)

    Thanks again, I'll try one of the Linux you suggested.

    I'm really enjoying this (Win8, Win10, Hyper-v), but I'll need to buy more memory if I keep adding machines and concurrently run them.

    Have you found a good use for the Hyper-V Virtual Machine Connection?
    It requires elevated privileges on my machine and all it seems to do is connect to an existing VM.
    I can do a lot more with the Hyper-V Manager

    Bill
    .
      My Computer


 

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 13:00.
Find Us




Windows 10 Forums