Why can't I select "both" option for IP version when I created public ip address?

James Woo 0 Reputation points
2023-09-24T09:57:53.09+00:00

My requirement is a virtaul machine support dual-stack ip address.(both support IPV6 and IPV4).

My steps as below:

  1. Following the instructions: https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/create-vm-dual-stack-ipv6-portal and to create a virtual network support both IPV6 and IPV4. the screenshot below:User's image
  2. Then, I created public Ip address, some confusion were met that I can not select "both" option in "Ip Version", There were not both option. the screenshot below:

User's image

I don't konw how to fix it, can anyone help me? Thanks very much!

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,515 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 111.4K Reputation points MVP
    2023-09-24T10:40:28.8533333+00:00

    Hi @James Woo,

    if you want a Public IP v4 and a Public IP v6 associated with a VM related NIC you need to create one NIC, one Public IP V4 and one Public IP v6. Both public IPs will be associated with the same NIC.

    What is IPv6 for Azure Virtual Network?

    Deploy an IPv6 dual stack application in Azure virtual network using PowerShell

    In general configuring an Azure Public IP is different from configuring the Azure VNET IP Subnets. The Azure Public IP is a different object in Azure and will be associated with an existing Azure VM NIC.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


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.