azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Operating System of VM options when adding alternative IPv4 address

Open Alocyte opened this issue 10 months ago • 2 comments

The changes to the IPv4 configuration trigger a warning message when updated. It is not clear how to respond to avoid loss of connectivity.

The primary IP (static internal) address assigned to my NIC configuration was 10.232.2.5. I added an alternate IP (static internal) address to the VM configuration in Azure Portal - 10.232.2.6. I followed the articles guidelines to update the Operating System (Windows Server) to add this second IP.

Updating IPv4 on Network Card in Windows Server Answering Yes or No I have lost connectivity to the VM.

Then I read the article "No Internet access from Azure Windows VM that has multiple IP addresses" - https://learn.microsoft.com/en-US/troubleshoot/azure/virtual-machines/windows/no-internet-access-multi-ip. It states: "This issue occurs because Windows selects the lowest numerical IP address as the primary IP address regardless of the address settings in the Azure portal." A powershell script is supplied to correct the issue, but the script fails to execute in the Azure Portal "Run command" - Powershell... it just hangs. Results in the activity log: Message The resource operation completed with terminal provisioning state 'Failed'.

So, the primary IP was the lowest numerical IP value - should not have lost connectivity. IPv4AdvancedConfig Showing configuration of OS IPConfig


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Alocyte avatar Apr 24 '24 10:04 Alocyte

@Alocyte Thanks for your feedback! We will investigate and update as appropriate.

TPavanBalaji avatar Apr 24 '24 15:04 TPavanBalaji

@Alocyte I'm going to assign this to the document author so they can take a look at it accordingly.

@genlin Please review it.

SaibabaBalapur-MSFT avatar Apr 29 '24 05:04 SaibabaBalapur-MSFT

https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000Cx2aCAC The process here describes how to remove the NIC of the origninal source of the VM backup - which needs to be removed PRIOR to reconfiguring the Primary IP and Secondary IP - else the operating system malfunctions and you have to reset the NIC. It took me forever to discover, as the operating system doesn't even show these items in the device manager by default. I had success the first attempt after removing the "Ghost NICs" - once removed there is no warning pop-up and it works when following the process described in the original post.

Alocyte avatar May 13 '24 11:05 Alocyte

@Alocyt, Thanks for sharing the information. Glad to know the issue is resolved after removing the unavailable NICs. #please-close

genlin avatar Jun 13 '24 07:06 genlin