You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
-
title: Multiple IP addresses for Azure virtual machines - Portal
3
-
description: Learn how to assign multiple IP addresses to a virtual machine using the Azure portal
2
+
title: Assign multiple IP addresses to VMs - Azure portal
3
+
description: Learn how to assign multiple IP addresses to a virtual machine using the Azure portal.
4
4
services: virtual-network
5
5
author: asudbring
6
6
ms.service: virtual-network
7
7
ms.subservice: ip-services
8
8
ms.topic: how-to
9
-
ms.date: 09/05/2022
9
+
ms.date: 12/08/2022
10
10
ms.author: allensu
11
-
11
+
ms.custom: template-how-to, engagement-fy23
12
12
---
13
13
# Assign multiple IP addresses to virtual machines using the Azure portal
14
14
@@ -22,17 +22,17 @@ Assigning multiple IP addresses to a VM enables the following capabilities:
22
22
23
23
* The ability to add any of the private IP addresses for any of the NICs to an Azure Load Balancer back-end pool. In the past, only the primary IP address for the primary NIC could be added to a back-end pool. For more information about load balancing multiple IP configurations, see [Load balancing multiple IP configurations](../../load-balancer/load-balancer-multiple-ip.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
24
24
25
-
Every NIC attached to a VM has one or more IP configurations associated to it. Each configuration is assigned one static or dynamic private IP address. Each configuration may also have one public IP address resource associated to it. To learn more about IP addresses in Azure, read the [IP addresses in Azure](../../virtual-network/ip-services/public-ip-addresses.md) article.
25
+
Every NIC attached to a VM has one or more IP configurations associated to it. Each configuration is assigned one static or dynamic private IP address. Each configuration may also have one public IP address resource associated to it. To learn more about IP addresses in Azure, see [IP addresses in Azure](../../virtual-network/ip-services/public-ip-addresses.md).
26
26
27
27
> [!NOTE]
28
-
> All IP configurations on a single NIC must be associated to the same subnet. If multiple IPs on different subnets are desired, multiple NICs on a VM can be used. To learn more about multiple NICs on a VM in Azure, read the [Create VM with Multiple NICs](../../virtual-machines/windows/multiple-nics.md) article.
28
+
> All IP configurations on a single NIC must be associated to the same subnet. If multiple IPs on different subnets are desired, multiple NICs on a VM can be used. To learn more about multiple NICs on a VM in Azure, see [Create VM with Multiple NICs](../../virtual-machines/windows/multiple-nics.md).
29
29
30
30
There's a limit to how many private IP addresses can be assigned to a NIC. There's also a limit to how many public IP addresses that can be used in an Azure subscription. See the [Azure limits](../../azure-resource-manager/management/azure-subscription-service-limits.md?toc=%2fazure%2fvirtual-network%2ftoc.json#azure-resource-manager-virtual-networking-limits) article for details.
31
31
32
32
This article explains how to add multiple IP addresses to a virtual machine using the Azure portal.
33
33
34
34
> [!NOTE]
35
-
> If you want to create a virtual machine with multiple IP addresses, or a static private IP address, you must create it using [PowerShell](virtual-network-multiple-ip-addresses-portal.md) or the [Azure CLI](virtual-network-multiple-ip-addresses-cli.md).
35
+
> If you want to create a virtual machine with multiple IP addresses, or a static private IP address, you must create it using [PowerShell](virtual-network-multiple-ip-addresses-powershell.md) or the [Azure CLI](virtual-network-multiple-ip-addresses-cli.md).
36
36
37
37
## Prerequisites
38
38
@@ -47,7 +47,7 @@ This article explains how to add multiple IP addresses to a virtual machine usin
47
47
48
48
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/multiple-ipconfigs.png" alt-text="Diagram of network configuration resources created in How-to article.":::
49
49
50
-
*Figure: Diagram of network configuration resources cerated in How-to article.*
50
+
*Figure: Diagram of network configuration resources created in this How-to article.*
51
51
52
52
## Add public and private IP address to a VM
53
53
@@ -85,12 +85,12 @@ You can add a private and public IP address to an Azure network interface by com
85
85
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/add-ip-config.png" alt-text="Screenshot of Add IP configuration.":::
86
86
87
87
> [!NOTE]
88
-
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to. If the address you select is not available, the portal displays an X for the IP address and you must select a different one.
88
+
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to.
89
89
90
90
> [!IMPORTANT]
91
91
> After you change the IP address configuration, you must restart the VM for the changes to take effect in the VM.
92
92
93
-
## Add private IP address to a virtual machine
93
+
## Add private IP address to a VM
94
94
95
95
You can add a private IP address to a virtual machine by completing the following steps.
96
96
@@ -124,9 +124,15 @@ You can add a private IP address to a virtual machine by completing the followin
124
124
:::image type="content" source="./media/virtual-network-multiple-ip-addresses-portal/add-private-ip-config.png" alt-text="Screenshot of Add IP configuration for a private IP only.":::
125
125
126
126
> [!NOTE]
127
-
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to. If the address you select is not available, the portal displays an X for the IP address and you must select a different one.
127
+
> When adding a static IP address, you must specify an unused, valid address on the subnet the NIC is connected to.
128
128
129
129
> [!IMPORTANT]
130
130
> After you change the IP address configuration, you must restart the VM for the changes to take effect in the VM.
0 commit comments