locked
Networking in Hyper-v RRS feed

  • Question

  • I am new to Hyper-v although I have use VirtualBox for many years.

    I have installed H-V in Windows 8.1 64-bit and then I installed Windows 10 as a guest.  I then installed an External Virtual Switch(EVS) and connected it to the wired Ethernet card (Realtek).  This PC has one wired card and Wi-Fi. 

    After the EVS is installed, the host loses Internet access and the guest is not connected to a network.  Under control panel, I see the EVS adapter and how it replaces the wired adapter. The EVS has the same IP as the wired adapter.

    I seem to not under stand networking in Hyper-v.  In VirtualBox, I would bridge the guest adapter to the physical adapter to put the guest on the same subnet as the host, or I would use NAT to create a different subnet for the guest. 

    I realize that using a hypervisor is different than using VirtualBox and I need some pointers to give the guest Internet access and not affect the host.

    Thank you!

    ** After I posted the message, I saw that the host EVS did not copy static DNS from the wired adapter.  I entered the DNS servers and the host has internet access. (The host uses a static IP.)

    ** In the VM, I added a network adapter and connected it to the EVS, and the guest is still not connected to a network and it is getting a link-local address 169.254.x.x.

    **  Fixed **

    I gave the VM a static IP and now it has Internet access!

    ??  Should I assume that if the host uses Static IP, that the guest VM's must use static IP's as well?

    • Edited by james sparks Tuesday, June 9, 2015 2:53 PM Fixed
    Tuesday, June 9, 2015 1:45 PM

All replies

  • Yes, the external virtual switch works like a physical switch.  Hyper-V doesn't have any built in NAT capabilities like VirtualBox.

    You need to either assign a static IP, or have a DHCP server external to Hyper-V to assign dynamic IP addresses.

    Please use the Windows 8.1 Virtualization forum for future questions relating to Hyper-V and Windows 8.x

    https://social.technet.microsoft.com/Forums/en-US/w8itprovirt/threads

    Tuesday, June 9, 2015 5:41 PM