nested hypervisors on Azure VM

Praveen Desai 1 Reputation point

nested hypervisors on Azure VM and how hyper-V VMs will get assigned IPS and is there any changes on pricing if we have multiple windows Vms

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
4,567 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 10,706 Reputation points Microsoft Employee

    Hi @Praveen Desai

    1. We have a step by step guide to achieve nested virtualization. This article contains detailed information on enabling Hyper-V on an Azure VM and configuring Internet connectivity to that guest virtual machine.
    2. You can assign an IP address to the guest virtual machine either by manually setting a static IP address on the guest virtual machine or configuring DHCP on the Azure VM to assign the IP address dynamically.

    Option 1: Configure DHCP to dynamically assign an IP address to the guest virtual machine
    Follow the steps below to configure DHCP on the host virtual machine for dynamic address assignment.

    1. Install DHCP Server on the Azure VM
    2. Open Server Manager. On the Dashboard, click Add roles and features. The Add Roles and Features Wizard appears.
    3. In wizard, click Next until the Server Roles page.
    4. Click to select the DHCP Server checkbox, click Add Features, and then click Next until you complete the wizard.
    5. Click Install.

    Configure a new DHCP scope

    1. Open DHCP Manager.
    2. In the navigation pane, expand the server name, right-click IPv4, and click New Scope. The New Scope Wizard appears, click Next.
    3. Enter a Name and Description for the scope and click Next.
    4. Define an IP Range for your DHCP Server (for example, to
    5. Click Next until the Default Gateway page. Enter the IP Address you created earlier (for example, as the Default Gateway, then click Add.
    6. Click Next until the wizard completes, leaving all default values, then click Finish.

    Option 2: Manually set a static IP address on the guest virtual machine
    If you did not configure DHCP to dynamically assign an IP address to the guest virtual machine, follow these steps to set a static IP address.

    1. On the Azure VM, open PowerShell as an Administrator.
    2. Right-click the guest virtual machine and click Connect.
    3. Sign in to the guest virtual machine.
    4. On the guest virtual machine, open the Network and Sharing Center.
    5. Configure the network adapter for an address within the range of the NAT network you created in the previous section.

    In this example you will use an address in the range.

    Reference documents:
    How to enable nested virtualization in an Azure VM
    For software and hardware prerequisites, configuration steps and limitations for nested virtualization please see the document here.
    For a complete list of virtual machine sizes that support nesting, check out the Azure Compute Unit article.


    Please 'Accept' as answer if it helped, so that it can help others looking for same information get to this answer faster.

    No comments