Hyper-V 2016 (Switch) and NIC



  • So, I've built a HyperV server 2016 and have provisioned two VMS. All great so far, however I have a problem getting internet access to the VMs.

    Our HV host has internet access - all okay.
    I created a Hyper V Switch (external network), and then ensured the VM's virtual adapter is connected to the switch. However we get a 169. IP.

    On the host itself, if I enter SConfig and go to Network settings, I see two adapters (1 is the local NIC which has a valid IP), the other is my Hyper V Virtual Ethernet adapter with a 169. IP.

    I have tried giving it a Static but it still wont work!
    Any assistance would be appreciated. Thanks.



  • On the HV host, which port is connected to the network?



  • Your vswitch should be using the physical port that is active.



  • @black3dynamite

    Our host has 4 ports...Port 1 is connected directly to the router.
    We dont have anything else in port 2,3,4





  • @joel said in Hyper-V 2016 (Switch) and NIC:

    @black3dynamite Your vswitch should be using the physical port that is active.

    It is



  • @joel said in Hyper-V 2016 (Switch) and NIC:

    @joel said in Hyper-V 2016 (Switch) and NIC:

    @black3dynamite Your vswitch should be using the physical port that is active.

    It is

    It obviously is not configured correctly somewhere.

    As you can see here, my vSwitch is setup to use the Multiplexor NIC. This is the Team I setup. This is no different than selecting a single NIC.
    0_1534521668472_deda9205-874f-4eb7-a870-455980d27d19-image.png

    Here you can see I have all the NICs in a team. So that Multiplexor is the only choice I have for the vSwitch.
    0_1534521639315_90004649-205f-4f15-857b-ba1a87ef7a15-image.png



  • 169.x.x.x shouts out that the VM cant reach a DHCP server. If the vSwitch is using the active interface, and allows guest VMs to share the adapter, i'd check if my DHCP server is ok, on the same network, has IPs available etc. The host would be static so thats why that would be working as it was manually configured.



  • @joel said in Hyper-V 2016 (Switch) and NIC:

    So, I've built a HyperV server 2016 and have provisioned two VMS. All great so far, however I have a problem getting internet access to the VMs.

    Our HV host has internet access - all okay.
    I created a Hyper V Switch (external network), and then ensured the VM's virtual adapter is connected to the switch. However we get a 169. IP.

    On the host itself, if I enter SConfig and go to Network settings, I see two adapters (1 is the local NIC which has a valid IP), the other is my Hyper V Virtual Ethernet adapter with a 169. IP.

    I have tried giving it a Static but it still wont work!
    Any assistance would be appreciated. Thanks.

    Dont know where the issue is but it seems you are getting ip from the internal network. Tey detach the vm.from the switch, destroy it and rebuild it ans reattach it.



  • @jimmy9008 said in Hyper-V 2016 (Switch) and NIC:

    169.x.x.x shouts out that the VM cant reach a DHCP server. If the vSwitch is using the active interface, and allows guest VMs to share the adapter, i'd check if my DHCP server is ok, on the same network, has IPs available etc. The host would be static so thats why that would be working as it was manually configured.

    Should have thought! A reboot of my router fixed it! Thanks guys.


Log in to reply