Azure Nested Virtualization Networking - azure

I created a Server 2019 VM in Azure and want to use nested virtualization. On the 2019 VM, I created a Windows 10 VM in Hyper-V. The problem is that the Windows 10 VM does not have internet connection. Even though a virtual switch was created on the 2019 VM, the nested Windows 10 VM is not able to reach the Azure gateway.
Here's the Server 2019 Network settings
This is the Hyper-V Switch
And finally this is the Windows 10 VM network settings. It never gets an IP address from the host and even when assigned a static IP it cannot route to the gateway. What am I missing?
The overall problem I'm trying to solve is to have Apache Guacamole able to connect to nested VMs, which isn't possible with NATing.

You cannot reach the internet because your default gateway is blank.
You are getting auto configured IP addresses without default gateway (169....) (probably) because you do not have a DHCP server.
You can configure the DHCP server on the Hyper-V host running in Azure
or on a nested Hyper-V VM if needed.
see: https://www.nakivo.com/blog/hyper-v-nested-virtualization-on-azure-complete-guide/

Related

Access Virtual Appliance through ip, running on vm inside Hyper-v on top of a vm from Azure

I have a Vm from Azure and in that vm I have another vm running in Hyper-v. That vm in Hyper-v is running a Ubuntu Linux (64 bit) guest operating system, with a virtual appliance. When I run it and it is finished booting, I'm given a IP address like this: "https://10.8.40.104/4442". The problem is I'm not able to access it from inside my 1 vm from Azure. I tried pulling up the browser and pasting the address, but nothing. I am quite new at this so its possible the solution is fairly simple.
Anyone have any idea how I can access that static IP address?
To install Hyper-V in Azure Nested Virtualization, you could follow steps in this blog:
There are (7) short steps that need to be completed to provision a
nested virtual machine inside Microsoft Azure:
Create an Azure VM capable of nesting (Windows Server 2016, etc)
Connect to the Azure VM
Install Hyper-V Feature inside the Azure VM
Create a NAT’ed vSwitch for outside connectivity
Create the guest virtual machine
Configure an IP Address on the nested guest virtual machine
Test Connectivity
For allowing connectivity to the nested virtual machine from outside, you need to create a new virtual switch that will be configured for NAT’ed access. The network flow will be like this: outside---host public IP---host private IP---NAT internal switch---Internal gateway---nested VM private IP.
Feel free to let me know if this helps or need further help.

Azure Virtual machine remote destop issue

I have created one virtual machine on azure windows 2012 datacenter.
I am not able to take remote while clicking on RDP file it gives error
Remote access to server not enable
Remote computer is turned off
Remote computer is not available on the network
You need to enable RDP inbound in 2 places:
1) the Azure Network Security Group (assuming you created the VM as an Azure Resource Manager VM instead of a "classic" VM), and
2) the firewall on the VM itself.

ASR not recognising IP addresses of VMware VMs as valid after creating protection group

While performing ASR migration from VMWare Vsphere VMs to azure portal, I have reached till creating a protection group step in azure portal.
The configuration server, master target, process server and Vcenter Host server are all up and running in azure and are shown as "Healthy" and in sync.
But while adding the on premise VMWare Virtual Machines to the protection group, its showing their IP addresses as invalid. Also mobility service is installed on the VMs (manually), still it is showing in the portal as not installed.
My Network reference:
Azure IP Range: 10.99.18.0/24
On-Prem VMware VM's: 10.209.113.0/24
Connection from On-Prem to Azure is VPN/express route.
both end-to-end are able to connect each other.
The IPs of the VMs are now public and outside any firewall.
Error Screenshot from Azure ASR:
Install the VMWare tools by downloading them local on the vm or network drive. Once installed it will ask for restart. Wait for replication to take effect for about 15 min minimum with enhanced version. Now you should not see any error.
Regards
Ravichander Pinnaca

Ping/Access Host Machine FROM Hyper-V VM

I am not sure if this query is valid for this forum.
I have the following setup
1. Host Machine: Windows 8.1 Pro
2. Hyper-V enabled
3. VM [Windows 7] configured with internet access (using ICS from host machine, working fine)
4. RDP enabled to access VM from HOST
Now my question is how to configure Hyper-V in such a way that, from VM machine I will be able to access my Host machine Files, IIS, printer etc [IIS website is my primary focus]
You can only do this through the network layer by using IP address for example.
'VM to HOST' access through the virtualisation layer is impossible.

Windows Server 2008 R2 SP1 is not pinged

I created a VM on Windows Azure. My actions
1) "File and Printer Sharing (Echo Request - ICMPv4-In)" set On
2) Windows Wirewall set Off
It still does not ping.
UPD: The network is working properly.
What do you mean by not pinged?
ICMP as protocol is disabled/blocked at Azure LoadBalancer level. So no matter what you do in your VM, you will never get ICMP traffic from the Internet inside the VM. The only way to get ISMP traffic into a VM is via Azure Virtual Network, and Azure Connect and from a valid joined computer.
Your actions (1) and (2) will help you get ICMP traffic from either:
Another Virtual Machine in the same Cloud Service
Another Virtual Machine in the same Virtual Network
Your computer, if it is part of the same Virtual Network
Your Computer if it and the target VM are in the same Group from Windows Azure Connect
** UPDATE **
After clarifying the question, you still will never be able to successfully execute ping whatever.cloudapp.net. In order to "make visible iis site", you need to add an Endpoint to your VM from the portal or the Management API for the port you need. In your case - port 80.

Resources