Forum Discussion

Paul_Austin's avatar
Paul_Austin
Copper Contributor
Feb 07, 2024

Azure, Hypher-V machine getting out to the internet

Hello there,

 

I would like to ask a question:

 

In Azure, I have created a Virtual Machine with Windows 2016.

This machine has connectivity to the internet ( 10.0.0.4 , gateway 10.0.0.1 , and DNS itselft (10.0.0.4) because it is a Domain Controler )

In that Virtual Machine I have installed the Hyper-V feature.

Inside Hyper-V I have created a Virtual machine.

This virtual machine is domain-joined ( 10.0.0.5 , Gateway: 10.0.0.1 , DNS: 10.0.0.4 )

This virtual machine is attached to a Hyper-V virtual switch set as external. In that scenario, why does the virtual machine inside Hyper-V cannot reach 8.8.8.8 through ping ?

 

I tried to set "IP Forwarding" to the network nic attached to the Hypher-V host , so that the machine inside Hyper-V could get to the internet, but it hasn't worked.

I don't get much information throught "tracert 8.8.8.8" , all it says is "not reachable" but it doesn't even reach 10.0.0.1 , maybe because that IP is Azure-managed ( the gateway )

 

Any thoughts on this?  , thanks in advance!

2 Replies

    • Paul_Austin's avatar
      Paul_Austin
      Copper Contributor

      Kidd_Ip  , thanks.

       

      The NSG setting is the default one ( 3389 open for RDP ) , I didn't change anything in that regard.

       

      Thanks again!.

       

      P.S : I am following this interesting article: https://www.jeffgilb.com/hyper-v-nested-vms-in-azure/

       

      With that article, it seems to be working now, I am trying to understand why though. 

Resources