Skip to content

Commit 1b18c32

Browse files
Merge pull request #310372 from v-rakegurram-MSFT/patch-57
(AzureCXP) fixes MicrosoftDocs/azure-docs-pr#544236
2 parents 2521902 + 488d9cb commit 1b18c32

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

articles/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ This article explains how to add multiple IP addresses to a virtual machine usin
5252

5353
*Figure: Diagram of network configuration resources created in this How-to article.*
5454

55+
> [!IMPORTANT]
56+
> Avoid breaking connectivity when adding IP addresses
57+
> When adding additional IP configurations to a VM, you **do not need to convert the existing (primary) private IP address from Dynamic to Static**.
58+
>
59+
> Changing the primary IP allocation type can disrupt RDP/SSH connectivity and may require recovery steps such as adding a temporary IP address. This is unnecessary when your goal is only to add secondary IP addresses.
60+
>
61+
> Recommended approach:
62+
> - Leave the primary private IP configuration unchanged.
63+
> - Add new **secondary IP configurations** (static or dynamic) directly to the NIC.
64+
> - Only change the primary IP to Static if a fixed primary address is explicitly required and you understand the impact.
65+
5566
## Add public and private IP address to a VM
5667

5768
You can add a private and public IP address to an Azure network interface by completing the following steps.
@@ -68,9 +79,9 @@ You can add a private and public IP address to an Azure network interface by com
6879

6980
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/select-nic.png" alt-text="Screenshot of myVM networking and network interface selection.":::
7081

71-
6. In **IP Configurations** To add a private and public IP address to the virtual machine, select **+ Add**.
82+
6. In **IP configurations**, select **+ Add** to create a new secondary IP configuration.
7283

73-
8. In **Add IP configuration**, enter or select the following information.
84+
7. In **Add IP configuration**, enter or select the following information.
7485

7586
| Setting | Value |
7687
| ------- | ----- |
@@ -81,13 +92,15 @@ You can add a private and public IP address to an Azure network interface by com
8192
| **Public IP address** | Select **Associate public IP address** |
8293
| Public IP address | Select **Create a public IP address**. </br> Enter **public-ip-02** in **Name**. </br> Select **Standard** in **SKU**. </br> Select **OK**. |
8394

84-
9. Select **OK**.
95+
8. Select **OK**.
8596

86-
> [!NOTE]
87-
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to.
97+
> [!NOTE]
98+
> When adding a static IP address, specify an unused and valid address in the subnet.
99+
> This applies only to the **new secondary IP configuration**. The primary IP configuration does not need to be changed.
88100
89101
> [!IMPORTANT]
90-
> After you change the IP address configuration, you must restart the VM for the changes to take effect in the VM.
102+
> Restarting the VM is required for the operating system to recognize newly added IP addresses.
103+
> Adding secondary IP configurations does **not** require changing the primary IP allocation and does not inherently break existing connectivity.
91104
92105
## Add private IP address to a VM
93106

@@ -121,10 +134,12 @@ You can add a private IP address to a virtual machine by completing the followin
121134
9. Select **OK**.
122135

123136
> [!NOTE]
124-
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to.
137+
> When adding a static IP address, specify an unused and valid address in the subnet.
138+
> This applies only to the **new secondary IP configuration**. The primary IP configuration does not need to be changed.
125139
126-
> [!IMPORTANT]
127-
> After you change the IP address configuration, you must restart the VM for the changes to take effect in the VM.
140+
> [!IMPORTANT]
141+
> Restarting the VM is required for the operating system to recognize newly added IP addresses.
142+
> Adding secondary IP configurations does **not** require changing the primary IP allocation and does not inherently break existing connectivity.
128143
129144
[!INCLUDE [virtual-network-multiple-ip-addresses-os-config.md](../../../includes/virtual-network-multiple-ip-addresses-os-config.md)]
130145

0 commit comments

Comments
 (0)