How to set default gateway (no internet)

SC 146 Reputation points
2022-05-03T08:52:20.5+00:00

Hi,
I have no Internet in virtual machine inside Azure virtual machine.
VM called MAM-HOST in Azure with Hyper-V installed (internet is OK)
VM called 28dcdb1 inside MAM-HOST, internet is not working.
I don't know what to set as Default Gateway in 28dcdb1.
Can you please advise me how to fix it ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,517 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,281 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luis Rodriguez 6,201 Reputation points Microsoft Employee
    2022-05-03T09:03:13.207+00:00

    Hello @SC

    Welcome to Microsoft Q&A Platform.

    Please refer to the NAT networking option from the below article:
    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization#networking-options

    More info:
    https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-setup-nested-virtualization-for-azure-vm-vhd/ba-p/1115338
    https://learn.microsoft.com/en-us/answers/questions/94499/nested-hypervisors-on-azure-vm.html

    I hope this helps!

    ----------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful