Hyper-V: no internet on my virtual machine with a external vSwitch

Magadrive 1 Reputation point
2021-07-25T01:44:03.923+00:00

Hello Everyone,
I have some trouble with my windows server 2019 running Hyper-V, for the background my windows server run on an ESXI infra.
It is impossible for me to get any internet acess nor domain access on my Hyper-V virtual machine, this is how my host configuration look like

117618-reseau-host.png

For me all look good, when i turn on my virtual machine this is what i get

117691-reseau-vm.png

I can see the machine getting a IP from my DHCP server but it is impossible for me to ping any of the gateway, dns..

117619-dhcp.png

This is how my wirtual switch look like

117692-virtual-switch.png

And if needed my Ipconfig

117693-ipconfig.png

I think that i have now tried everything i could, i dont see why my machine can get a dhcp ip but cant communicate with any of my server. if you have any idea feel free to let me know :)

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,048 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,707 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2021-07-25T01:51:11.237+00:00

    What is the result of
    tracert 8.8.8.8

    0 comments No comments

  2. Magadrive 1 Reputation point
    2021-07-25T01:57:10.077+00:00

    this is what i get for the host

    117664-image.png

    and for the VM

    117620-image.png

    0 comments No comments

  3. Anonymous
    2021-07-25T02:00:40.503+00:00

    Then the gateway 192.168.1.1 is unreachable. Might recreate the vSwitch, also check the correct interface is plugged in.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  4. Magadrive 1 Reputation point
    2021-07-25T02:04:53.57+00:00

    Well yes it is obvious that the gateway i use is unreachable on my virtual machine but why thats why i asked a question on this forum. Why why my machine isnt able to reach my gateway ?

    EDIT: i have recreated this vSwitch multiple times now, it is my second Hyper-V machine on my ESXI and i get the same probleme on my main one.

    0 comments No comments

  5. Anonymous
    2021-07-25T02:40:10.06+00:00

    second Hyper-V machine on my ESXI

    So a nested hypervisor? As far as I know it isn't supported but you can confirm by asking here.
    https://communities.vmware.com/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.